Android Studio SDK вопрос

голоса
6

Я хотел бы попробовать новый Android Studio, но когда я начинаю его я получаю эту ошибку

    null
java.lang.NullPointerException
    at com.android.ide.common.resources.ResourceResolver.getStyle(ResourceResolver.java:574)
    at com.android.ide.common.resources.ResourceResolver.computeStyleInheritance(ResourceResolver.java:503)
    at com.android.ide.common.resources.ResourceResolver.computeStyleMaps(ResourceResolver.java:462)
    at com.android.ide.common.resources.ResourceResolver.create(ResourceResolver.java:75)
    at com.android.tools.idea.configurations.Configuration.getResourceResolver(Configuration.java:1059)
    at org.jetbrains.android.AndroidColorAnnotator.annotateResourceReference(AndroidColorAnnotator.java:193)
    at org.jetbrains.android.AndroidColorAnnotator.annotate(AndroidColorAnnotator.java:101)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:160)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:103)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$11.run(GeneralHighlightingPass.java:650)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:763)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$3500(GeneralHighlightingPass.java:83)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$13.run(GeneralHighlightingPass.java:769)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:87)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:766)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$3500(GeneralHighlightingPass.java:83)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$13.run(GeneralHighlightingPass.java:769)
    at com.intellij.codeInsight.daemon.impl.RefCountHolder.analyze(RefCountHolder.java:295)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:139)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:766)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:723)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:214)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:58)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:62)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:357)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1196)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:348)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:226)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:345)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:321)
    at com.intellij.concurrency.JobLauncherImpl$3.call(JobLauncherImpl.java:145)
    at com.intellij.concurrency.JobLauncherImpl$3.call(JobLauncherImpl.java:142)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
    at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
    at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:722)

Когда я нажимаю на менеджере SDK или AVD Manager я получаю «Пожалуйста, сформулируйте Android SDK» ошибка Я попытался указать в структуре проекта в SDK (обновлено до последней) я использовал в Eclipse, но все та же ошибка. Вы знаете, как я могу это исправить?

Задан 18/05/2013 в 16:53
источник пользователем
На других языках...                            


1 ответов

голоса
21

Найдено решение, Перейти в меню Файл> Структура проекта На вкладке Project найти проект SDK и установить его в Android SDK

Ответил 18/05/2013 в 17:00
источник пользователем

Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more