com.android.support:support-v4 上的 Phonegap 构建错误
Phonegap build error on com.android.support:support-v4
在下面的 phonegap 构建中,他们需要您的帮助:
-build-setup:
[getbuildtools] Using latest Build Tools: 20.0.0
[echo] Resolving Build Target for MyApp...
[gettarget] Project Target: Android 5.0.1
[gettarget] API level: 21
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: /project/bin
[mkdir] Created dir: /project/bin/res
[mkdir] Created dir: /project/bin/rsObj
[mkdir] Created dir: /project/bin/rsLibs
[mkdir] Created dir: /project/gen
[mkdir] Created dir: /project/bin/classes
[mkdir] Created dir: /project/bin/dexedLibs
[echo] ----------
[echo] Resolving Dependencies for MyApp...
>BUILD FAILED
/home/ec2-user/android-sdk/tools/ant/build.xml:573: ../../../../../../home/ec2-user/android-sdk/com.android.support:support-v4:+ resolve to a path with no project.properties file for project /project
Total time: 0 seconds
已经尝试为此寻找答案,但目前没有任何效果。
我也遇到同样的错误,可能是 Phonegap 构建服务器问题。
我有同样的错误,只有当我尝试使用 "com.phonegap.plugins.pushplugin" 插件时。
如果我从 config.xml 文件中丢弃它,错误就会消失。
就我而言,我今天在安装 cordova-plugin-local-notification
后遇到了问题
构建我的 cordova 应用程序时我会得到以下信息
*配置根项目时出现问题 'android'。
Could not resolve all dependencies for configuration ':_debugCompile'.
Could not find any version that matches com.android.support:support-v4:+.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/support-v4/maven-metadata.xml
https://repo1.maven.org/maven2/com/android/support/support-v4/
Required by:
:android:unspecified*
我 运行 android sdk 管理器。
并在 Extras 中选择 Android Support Repository 进行安装(Android 支持库已经安装)。
然后安装成功了...
在下面的 phonegap 构建中,他们需要您的帮助:
-build-setup:
[getbuildtools] Using latest Build Tools: 20.0.0
[echo] Resolving Build Target for MyApp...
[gettarget] Project Target: Android 5.0.1
[gettarget] API level: 21
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: /project/bin
[mkdir] Created dir: /project/bin/res
[mkdir] Created dir: /project/bin/rsObj
[mkdir] Created dir: /project/bin/rsLibs
[mkdir] Created dir: /project/gen
[mkdir] Created dir: /project/bin/classes
[mkdir] Created dir: /project/bin/dexedLibs
[echo] ----------
[echo] Resolving Dependencies for MyApp...
>BUILD FAILED
/home/ec2-user/android-sdk/tools/ant/build.xml:573: ../../../../../../home/ec2-user/android-sdk/com.android.support:support-v4:+ resolve to a path with no project.properties file for project /project
Total time: 0 seconds
已经尝试为此寻找答案,但目前没有任何效果。
我也遇到同样的错误,可能是 Phonegap 构建服务器问题。
我有同样的错误,只有当我尝试使用 "com.phonegap.plugins.pushplugin" 插件时。 如果我从 config.xml 文件中丢弃它,错误就会消失。
就我而言,我今天在安装 cordova-plugin-local-notification
后遇到了问题构建我的 cordova 应用程序时我会得到以下信息
*配置根项目时出现问题 'android'。
Could not resolve all dependencies for configuration ':_debugCompile'. Could not find any version that matches com.android.support:support-v4:+. Searched in the following locations: https://repo1.maven.org/maven2/com/android/support/support-v4/maven-metadata.xml https://repo1.maven.org/maven2/com/android/support/support-v4/ Required by: :android:unspecified*
我 运行 android sdk 管理器。
并在 Extras 中选择 Android Support Repository 进行安装(Android 支持库已经安装)。
然后安装成功了...