"Setup SDK" error display in new android studio 2.1.1 -


i download newest android studio developer site.

after installation installed android studio, created new project , after project build completed, opened mainactivity.java file find error. please refer screenshot below:

screenshot

i downloaded android sdk component built-in in android studio.

  1. rebuild project. try clean build. should do. faced similar problem.

tools -> android -> sync project gradle files

build -> rebuild

  1. incorrect installation of jdk might cause problems. please tell error in detail.

  2. you can try jdk installation:-

on windows systems, launcher script not find jdk installed. if encounter problem, need set environment variable indicating correct location. select start menu > computer > system properties > advanced system properties. open advanced tab > environment variables , add new system variable java_home points jdk folder, example c:\program files\java\jdk1.8.0_77.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo