java - Compiling AOSP and running Android Studio on the same machine, a possible scenario? -
i'm trying fedora 22 machine able both compile aosp, requires openjdk 1.7, , run android studio, requires openjdk 1.8 (for gradle).
is there way make them both work correctly , live happily on same os?
you can have many jdk versions (openjdk, oracle, 6, 7, 8) installed want.
the make
process aosp project pick version form java_home
variable (perhaps can supply 1 yourself?).
in android studio can select jdk per module right click on module -> open module settings -> sdk location.
i haven't tried myself don't see reason why wouldn't work.
Comments
Post a Comment