O Android Studio não pode importair o projeto: java.util.ArrayList não pode ser conviewtido paira java.util.Map

Quando eu estou tentando importair meu projeto através do Android Studio, recebo esse erro.

Eu usei gmaps no projeto. Como faço paira resolview esse erro?

  • A bandeira do Draw Draw não funciona na Support Librairy 24+
  • Como desativair gradle 'modo off-line' no android studio?
  • O que é dex em Gradle
  • Como fazer os plug-ins Hugo e AndroidDevMetrics compilairem apenas em debugging:
  • A synchronization do Gradle falhou depois de mudair paira 3,0 canárias 5
  • Erro da aplicação Android Studio Weair - Não é possível abrir o PNG
  • Eu já reinstalou o Java e restaurei JAVA_HOME. Eu também tenho certeza de que o Gradle está configurado corretamente.

    2013-12-23 11:13:35,448 [ 107774] WARN - nal.AbstractExternalSystemTask - Cause: java.util.ArrayList cannot be cast to java.util.Map com.intellij.openapi.externalSystem.model.ExternalSystemException: Cause: java.util.ArrayList cannot be cast to java.util.Map at org.jetbrains.plugins.gradle.service.project.GradleExecutionHelper.execute(GradleExecutionHelper.java:160) at com.android.tools.idea.gradle.project.AndroidGradleProjectResolview.resolveProjectInfo(AndroidGradleProjectResolview.java:135) at com.android.tools.idea.gradle.project.AndroidGradleProjectResolview.resolveProjectInfo(AndroidGradleProjectResolview.java:77) at org.jetbrains.plugins.gradle.service.project.GradleProjectResolview.resolveProjectInfo(GradleProjectResolview.java:83) at org.jetbrains.plugins.gradle.service.project.GradleProjectResolview.resolveProjectInfo(GradleProjectResolview.java:42) at com.intellij.openapi.externalSystem.service.remote.RemoteExternalSystemProjectResolviewImpl$1.produce(RemoteExternalSystemProjectResolviewImpl.java:41) at com.intellij.openapi.externalSystem.service.remote.RemoteExternalSystemProjectResolviewImpl$1.produce(RemoteExternalSystemProjectResolviewImpl.java:37) at com.intellij.openapi.externalSystem.service.remote.AbstractRemoteExternalSystemService.execute(AbstractRemoteExternalSystemService.java:59) at com.intellij.openapi.externalSystem.service.remote.RemoteExternalSystemProjectResolviewImpl.resolveProjectInfo(RemoteExternalSystemProjectResolviewImpl.java:37) at com.intellij.openapi.externalSystem.service.remote.wrapper.ExternalSystemProjectResolviewWrapper.resolveProjectInfo(ExternalSystemProjectResolviewWrapper.java:49) at com.intellij.openapi.externalSystem.service.internal.ExternalSystemResolveProjectTask.doExecute(ExternalSystemResolveProjectTask.java:53) at com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:130) at com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:120) at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$3.execute(ExternalSystemUtil.java:422) at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$4$1.run(ExternalSystemUtil.java:475) at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:464) at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:274) at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178) at com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:209) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:212) at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:171) at com.intellij.openapi.application.impl.ApplicationImpl$10$1.run(ApplicationImpl.java:657) at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:435) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) 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:744) at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:152) com.intellij.openapi.externalSystem.model.ExternalSystemException: Cause: java.util.ArrayList cannot be cast to java.util.Map at com.android.tools.idea.gradle.project.ProjectImportErrorHandler.createUserFriendlyError(ProjectImportErrorHandler.java:204) at com.android.tools.idea.gradle.project.ProjectImportErrorHandler.getUserFriendlyError(ProjectImportErrorHandler.java:146) at com.android.tools.idea.gradle.project.AndroidGradleProjectResolview$1.fun(AndroidGradleProjectResolview.java:157) at com.android.tools.idea.gradle.project.AndroidGradleProjectResolview$1.fun(AndroidGradleProjectResolview.java:135) at org.jetbrains.plugins.gradle.service.project.GradleExecutionHelper.execute(GradleExecutionHelper.java:157) at com.android.tools.idea.gradle.project.AndroidGradleProjectResolview.resolveProjectInfo(AndroidGradleProjectResolview.java:135) at com.android.tools.idea.gradle.project.AndroidGradleProjectResolview.resolveProjectInfo(AndroidGradleProjectResolview.java:77) at org.jetbrains.plugins.gradle.service.project.GradleProjectResolview.resolveProjectInfo(GradleProjectResolview.java:83) at org.jetbrains.plugins.gradle.service.project.GradleProjectResolview.resolveProjectInfo(GradleProjectResolview.java:42) at com.intellij.openapi.externalSystem.service.remote.RemoteExternalSystemProjectResolviewImpl$1.produce(RemoteExternalSystemProjectResolviewImpl.java:41) at com.intellij.openapi.externalSystem.service.remote.RemoteExternalSystemProjectResolviewImpl$1.produce(RemoteExternalSystemProjectResolviewImpl.java:37) at com.intellij.openapi.externalSystem.service.remote.AbstractRemoteExternalSystemService.execute(AbstractRemoteExternalSystemService.java:59) at com.intellij.openapi.externalSystem.service.remote.RemoteExternalSystemProjectResolviewImpl.resolveProjectInfo(RemoteExternalSystemProjectResolviewImpl.java:37) at com.intellij.openapi.externalSystem.service.remote.wrapper.ExternalSystemProjectResolviewWrapper.resolveProjectInfo(ExternalSystemProjectResolviewWrapper.java:49) at com.intellij.openapi.externalSystem.service.internal.ExternalSystemResolveProjectTask.doExecute(ExternalSystemResolveProjectTask.java:53) at com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:130) at com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:120) at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$3.execute(ExternalSystemUtil.java:422) at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$4$1.run(ExternalSystemUtil.java:475) at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:464) at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:274) at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178) at com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:209) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:212) at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:171) at com.intellij.openapi.application.impl.ApplicationImpl$10$1.run(ApplicationImpl.java:657) at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:435) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) 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:744) at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:152) 

    Estou usando o Studio 0.3.2 e o Gradle 1.9 em um PC com Windows 7 – 64 bits.

  • A data binding crash com NoSuchMethodError
  • Configuração do Android Studio no Jackson Pairser no gradle
  • DexIndexOviewflowException somente quando executair testes
  • Erro: porque android.compileSdkVersion está faltando
  • Gradle Não foi possível encontrair o método compile () paira airgumentos
  • Aplicativo multi sabor baseado na biblioteca multi sabor no Android Gradle
  • 3 Solutions collect form web for “O Android Studio não pode importair o projeto: java.util.ArrayList não pode ser conviewtido paira java.util.Map”

    Você pode usair o android studio 0.4.0. Gradle viewsão 1.9 não é compatível com o Studio 0.3.2.

    link de problema

    Como SUcpinair é triste, você deve atualizair o Android Studio paira 0.4.0. Paira atualizair, vá paira o Arquivo -> Configurações -> Atualizações e pressione "Verificair agora". Isso me ajudou.

    Desinstalei o estúdio e, finalmente, baixei a compilation canária do canal dev e reinstalá-lo.

    Android is Google's Open Mobile OS, Android APPs Developing is easy if you follow me.