intellij idea - Android Studio SDK issue -
i wanted try new android studio, when start error
null java.lang.nullpointerexception @ com.android.ide.common.resources.resourceresolver.getstyle(resourceresolver.java:574) @ com.android.ide.common.resources.resourceresolver.computestyleinheritance(resourceresolver.java:503) @ com.android.ide.common.resources.resourceresolver.computestylemaps(resourceresolver.java:462) @ com.android.ide.common.resources.resourceresolver.create(resourceresolver.java:75) @ com.android.tools.idea.configurations.configuration.getresourceresolver(configuration.java:1059) @ org.jetbrains.android.androidcolorannotator.annotateresourcereference(androidcolorannotator.java:193) @ org.jetbrains.android.androidcolorannotator.annotate(androidcolorannotator.java:101) @ com.intellij.codeinsight.daemon.impl.defaulthighlightvisitor.runannotators(defaulthighlightvisitor.java:160) @ com.intellij.codeinsight.daemon.impl.defaulthighlightvisitor.visit(defaulthighlightvisitor.java:103) @ com.intellij.codeinsight.daemon.impl.generalhighlightingpass$11.run(generalhighlightingpass.java:650) @ com.intellij.codeinsight.daemon.impl.generalhighlightingpass.analyzebyvisitors(generalhighlightingpass.java:763) @ com.intellij.codeinsight.daemon.impl.generalhighlightingpass.access$3500(generalhighlightingpass.java:83) @ com.intellij.codeinsight.daemon.impl.generalhighlightingpass$13.run(generalhighlightingpass.java:769) @ com.intellij.codeinsight.daemon.impl.defaulthighlightvisitor.analyze(defaulthighlightvisitor.java:87) @ com.intellij.codeinsight.daemon.impl.generalhighlightingpass.analyzebyvisitors(generalhighlightingpass.java:766) @ com.intellij.codeinsight.daemon.impl.generalhighlightingpass.access$3500(generalhighlightingpass.java:83) @ com.intellij.codeinsight.daemon.impl.generalhighlightingpass$13.run(generalhighlightingpass.java:769) @ com.intellij.codeinsight.daemon.impl.refcountholder.analyze(refcountholder.java:295) @ com.intellij.codeinsight.daemon.impl.analysis.highlightvisitorimpl.analyze(highlightvisitorimpl.java:139) @ com.intellij.codeinsight.daemon.impl.generalhighlightingpass.analyzebyvisitors(generalhighlightingpass.java:766) @ com.intellij.codeinsight.daemon.impl.generalhighlightingpass.collecthighlights(generalhighlightingpass.java:723) @ com.intellij.codeinsight.daemon.impl.generalhighlightingpass.collectinformationwithprogress(generalhighlightingpass.java:214) @ com.intellij.codeinsight.daemon.impl.progressabletexteditorhighlightingpass.docollectinformation(progressabletexteditorhighlightingpass.java:58) @ com.intellij.codehighlighting.texteditorhighlightingpass.collectinformation(texteditorhighlightingpass.java:62) @ com.intellij.codeinsight.daemon.impl.passexecutorservice$scheduledpass$1$1.run(passexecutorservice.java:357) @ com.intellij.openapi.application.impl.applicationimpl.tryrunreadaction(applicationimpl.java:1196) @ com.intellij.codeinsight.daemon.impl.passexecutorservice$scheduledpass$1.run(passexecutorservice.java:348) @ com.intellij.openapi.progress.impl.progressmanagerimpl.executeprocessunderprogress(progressmanagerimpl.java:226) @ com.intellij.codeinsight.daemon.impl.passexecutorservice$scheduledpass.dorun(passexecutorservice.java:345) @ com.intellij.codeinsight.daemon.impl.passexecutorservice$scheduledpass.run(passexecutorservice.java:321) @ com.intellij.concurrency.joblauncherimpl$3.call(joblauncherimpl.java:145) @ com.intellij.concurrency.joblauncherimpl$3.call(joblauncherimpl.java:142) @ java.util.concurrent.futuretask$sync.innerrun(futuretask.java:334) @ java.util.concurrent.futuretask.run(futuretask.java:166) @ com.intellij.concurrency.prioritizedfuturetask.access$101(prioritizedfuturetask.java:31) @ com.intellij.concurrency.prioritizedfuturetask$1.run(prioritizedfuturetask.java:70) @ com.intellij.concurrency.prioritizedfuturetask.run(prioritizedfuturetask.java:113) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) @ java.lang.thread.run(thread.java:722)
when click on sdk manager or avd manager "please specify android sdk" error tried specify in project structure sdk (updated latest) using in eclipse still same error. know how can fix this?
found solution, go in file>project structure in project tab locate project sdk , set android sdk
Comments
Post a Comment