Execute permission bits exist after extracting, but become lost when installing into 'image' directory. Missing of permission bits will cause android-studio reports "Permission Denied" when building projects.
I can confirm this. Android Studio tries to run /opt/android-studio/jre/bin/java, which does not have the execute bit set.
The fix is minor, add the jre directory to those being fperms'd. However that just fixes the bundled jdk posing as a jre. I opt'd to remove it entirely and switch to using a system installed VM. The package already depended on a jdk, which it was not really using. Now it is using that, and I also unbundled a few jars, more can be done, some need to be updated before they can be swapped out for system. Updated as in gentoo packages are behind. https://github.com/gentoo/gentoo/pull/2394
committed in 844ff714334633a5ae03ac348cee75ae78423c3b Thanks for the PR! I made a small change so the gradle version isnt hardcoded for future bumps.