我使用EC2实例为我的Android项目运行构建。我使用以下命令为Android安装了很多东西:
android update sdk --no-ui
然后:
android update sdk --no-ui --filter xxxxxx
但是当构建失败时:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugCompile'.
> Could not find com.android.support:appcompat-v7:21.0.2.
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/appcompat-v7/21.0.2/appcompat-v7-21.0.2.pom
https://jcenter.bintray.com/com/android/support/appcompat-v7/21.0.2/appcompat-v7-21.0.2.jar
Required by:
MyApplication:app:unspecified
当我录音时:
android list sdk
有这些包可用:
Packages available for installation or update: 3
1- Google APIs ARM EABI v7a System Image, Google Inc. API 21, revision 3
2- Google APIs Intel x86 Atom_64 System Image, Google Inc. API 21, revision 3
3- Google APIs Intel x86 Atom System Image, Google Inc. API 21, revision 3
你有什么想法吗?
非常感谢