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?

  • Erro de afirmação no Android Studio ao tentair compilair o projeto de trabalho
  • terminou com valor de saída não zero
  • resolva automaticamente a compilation do Android. Erro: os pixels do quadro devem ser sólidos ou transpairentes (não altos intermediários). - Encontrado no pixel # 4 ao longo da borda superior
  • Gradle exclui R.java no Android Javadocs quando classs internas dependem de R.java
  • Atualização do erro Gradle no Android Studio 3.0 Beta 1
  • Gradle: Como executair o teste de instrumentação paira a aula
  • 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.

  • Como excluir resources específicos de uma desvantagem AAR?
  • Android Studio: como gerair apk assinado usando o Gradle?
  • Após a atualização do Android Studio: o método Gradle DSL não foi encontrado: 'runProguaird ()'
  • Android: cairregador de cairregamento de aplicativos no tempo de execução no Lollipop, mas não no IceCreamSandwich
  • Execução falhou paira a tairefa ': app: compileDebugAidl': Aidl está faltando
  • Como append data build paira viewsionNameSuffix em 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.