Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677462 - dev-util/android-studio-3.3.1.0.182.5264788 version bump
Summary: dev-util/android-studio-3.3.1.0.182.5264788 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-02-07 20:53 UTC by Pavel Homolka
Modified: 2019-05-11 21:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild not removing bundled JDK (android-studio-3.3.1.0.182.5264788.ebuild,2.92 KB, text/plain)
2019-02-11 12:58 UTC, Adam Giergun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Homolka 2019-02-07 20:53:55 UTC
Last version of Android Studio is 3.3.1.
Comment 1 Adam Giergun 2019-02-11 12:58:57 UTC
Created attachment 564704 [details]
ebuild not removing bundled JDK

I'm using attached ebuild to install Android Studio 3.3.1. This ebuild doesn't remove bundled JDK.
Why not to remove it? One reason might be explained here: 
https://developer.android.com/studio/intro/studio-config
There is, in the "Set the JDK version", info:
"A copy of the latest OpenJDK comes bundled with Android Studio 2.2 and higher, and this is the JDK version we recommend you use for your Android projects."
Not removing bundled JDK doesn't mean that one have to use it. In "File > Project Structure > SDK Location > JDK location" it can be changed to any JDK.

There is another reason to not remove bundled JDK. It's not only JDK, it also contains some extra fonts, to be used with Android Studio. One of them is used as default for Android Studio (except editor) and makes it look much better then it looks with bundled JDK removed.

Of course probably something more should be done for this script to work, as it has problems with replacing jre symlink with real jre (bundled JDK) folder. Removing manually this symlink before installation works, but is inconvenient, so maybe there's some way to do it in this script.
Comment 2 Jason Zaman gentoo-dev 2019-05-11 21:31:42 UTC
I bumped to 3.4.0 just now, thank for this tho!