小编nir*_*n94的帖子

Android Studio中的编译错误制作简单的Google Android Maps API v2项目时

最近我迁移到基于IntelliJ 的New Android Studio IDE

我遵循的指南是:

  1. https://developers.google.com/maps/documentation/android/start(基础知识)

  2. 如何在Android Studio中使用Google Maps Api v2创建Android应用程序? (用于将所需的Google Play服务和支持库导入android studio)

Android Studio正确检测到所有库,我没有得到任何"库未找到错误".该项目没有显示错误.然后,当我试图编译它时,我得到了这个错误.

Gradle: 
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':AID-AmritaInfoDesk:compileDebug'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.


Could not execute build using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'.
Run Code Online (Sandbox Code Playgroud)

这是我的explorer.java …

android google-maps google-play-services google-maps-android-api-2 android-studio

6
推荐指数
1
解决办法
1万
查看次数