I updated Android Studio to 0.2.6 today and there is red everywhere in my project now. When I click to see the automatic fix it asks me to setup jdk.
After selecting Setup JDK
the following screen appears:
Whatever I choose, nothing happens. Everything stays red, and if I click again it still says setup jdk.
Set the JDK versionA 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.
Android Studio supports HTTP proxy settings so you can run Android Studio behind a firewall or secure network. To set the HTTP proxy settings in Android Studio: From the main menu choose File > Settings > Appearance & Behavior -- System Settings -- HTTP Proxy. In Android Studio, open the IDE Settings dialog.
Open Start menu > Computer > System Properties > Advanced System Properties In the Advanced tab > Environment Variables. Add new system variable JAVA_HOME that points to JDK folder, C:\Program Files\Java\jdk1. 7.0_13\
Android Studio supports all the same programming languages of IntelliJ (and CLion) e.g. Java, C++, and more with extensions, such as Go; and Android Studio 3.0 or later supports Kotlin and "all Java 7 language features and a subset of Java 8 language features that vary by platform version." External projects backport ...
A simple restart of Android Studio solved the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With