离子构建 apk android
Ionic build apk android
我正在尝试从我的 ionic 项目构建一个 apk。
当我启动 ionic build android 时,出现此错误
FAILURE: Build failed with an exception.
- 出了什么问题:
配置根项目 'android' 时出现问题。
Could not resolve all dependencies for configuration ':_debugCompile'.
Could not find any version that matches com.android.support:support-v13:23+
.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/support-v13/maven-me
tadata.xml
https://repo1.maven.org/maven2/com/android/support/support-v13/
Required by:
:android:unspecified
Could not find any version that matches com.google.android.gms:play-service
s-gcm:+.
Searched in the following locations:
//repo1.maven.org/maven2/com/google/android/gms/play-services-gcm
/maven-metadata.xml
构建失败
这是什么?
这是一个与 android tools version
相关的错误。执行以下命令将解决您的问题。
android list sdk
和
android update sdk --no-ui --filter extra
我正在尝试从我的 ionic 项目构建一个 apk。 当我启动 ionic build android 时,出现此错误
FAILURE: Build failed with an exception.
- 出了什么问题:
配置根项目 'android' 时出现问题。
Could not resolve all dependencies for configuration ':_debugCompile'. Could not find any version that matches com.android.support:support-v13:23+ . Searched in the following locations: https://repo1.maven.org/maven2/com/android/support/support-v13/maven-me tadata.xml https://repo1.maven.org/maven2/com/android/support/support-v13/ Required by: :android:unspecified Could not find any version that matches com.google.android.gms:play-service s-gcm:+. Searched in the following locations: //repo1.maven.org/maven2/com/google/android/gms/play-services-gcm /maven-metadata.xml
构建失败
这是什么?
这是一个与 android tools version
相关的错误。执行以下命令将解决您的问题。
android list sdk
和
android update sdk --no-ui --filter extra