Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio 0.2.6 update broke my project, asks me to setup jdk

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.

enter image description here

After selecting Setup JDK the following screen appears:

enter image description here

Whatever I choose, nothing happens. Everything stays red, and if I click again it still says setup jdk.

like image 232
Adam Johns Avatar asked Aug 27 '13 13:08

Adam Johns


People also ask

Is JDK installed with Android Studio?

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.

What is proxy setting in Android Studio?

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.

How do I fix Android Studio not working?

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\

Is Android Studio support Java?

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 ...


1 Answers

A simple restart of Android Studio solved the problem.

like image 179
Adam Johns Avatar answered Sep 19 '22 01:09

Adam Johns