Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio setup JDK error

In Android Studio I am facing bellow error enter image description here

This popup shows when I press Alt+Enter for missing classes(symbols). When I click on setup SDK it shows two options

  1. 1.8(Java version "1.8.0_60")
  2. Android API 23 Platform (Java version "1.8.0_60")

Nothing happens on selecting any of above options.

NOTE: My Java_Home path is correct and in android studio I have checked JDK path it's correct.

I am using Android Studio 1.5.0, Java 1.8 and windows 10

like image 353
Jaiprakash Soni Avatar asked Feb 23 '16 12:02

Jaiprakash Soni


2 Answers

Simple Invalidate Cache and Restart doesn't work for me. So I have done following steps:

  1. Check and verify Java path in Java_home variable
  2. Start Android Studio and invalidate cache File--> Invalidate Cache and Restart
like image 161
Jaiprakash Soni Avatar answered Oct 27 '22 15:10

Jaiprakash Soni


Start Android Studio and click File -> Invalidate Cache and Restart. This has worked for me. Thanks

like image 24
Attaullah Attari Avatar answered Oct 27 '22 15:10

Attaullah Attari