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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -