java - Is there a way to force Android Studio to use JAVA_HOME or JDK_HOME in the "Project Structure | JDK Location" dialog? -
locations android sdk, android ndk, , jdk specified here in android studio.
i'd leave "jdk location" field blank (or that) android studio uses "java_home" and/or "jdk_home" environment variables instead. results in error @ bottom of dialog stating valid jdk path must specified.
i've tried putting %java_home% , $java_home$ dialog box "jdk location" don't work (i.e. same error message @ bottom).
the reason want because develop across multiple pcs , anytime there's java update have manually remember update android studio well. if use environment variables, updates smoother.
Comments
Post a Comment