Im building the Phonegap App using Phonegap Build.
Phonegap Build cant create Android APK, build is failing with below error, Morning I was able to create the APK but now below error is thrown. Note that there is no config file changes between morning and now.
Please help
App Id: 2074580
https://build.phonegap.com/apps/20745...
Could not resolve all dependencies for configuration ':_debugCompile'.
> Could not find com.android.support:support-v4:23.4.0.
Searched in the following locations:
https://repo1.maven.org/maven2/com/an...
https://repo1.maven.org/maven2/com/an...
file:/android-sdk/extras/android/m2repository/com/android/support/support-v4/23.4.0/suppo rt-v4-23.4.0.pom
file:/android-sdk/extras/android/m2repository/com/android/support/support-v4/23.4.0/suppo rt-v4-23.4.0.jar
file:/android-sdk/extras/google/m2repository/com/android/support/support-v4/23.4.0/suppor t-v4-23.4.0.pom
file:/android-sdk/extras/google/m2repository/com/android/support/support-v4/23.4.0/suppor t-v4-23.4.0.jar
Required by:
:project:unspecified
Phonegap Build cant create Android APK, build is failing with below error, Morning I was able to create the APK but now below error is thrown. Note that there is no config file changes between morning and now.
Please help
App Id: 2074580
https://build.phonegap.com/apps/20745...
Could not resolve all dependencies for configuration ':_debugCompile'.
> Could not find com.android.support:support-v4:23.4.0.
Searched in the following locations:
https://repo1.maven.org/maven2/com/an...
https://repo1.maven.org/maven2/com/an...
file:/android-sdk/extras/android/m2repository/com/android/support/support-v4/23.4.0/suppo rt-v4-23.4.0.pom
file:/android-sdk/extras/android/m2repository/com/android/support/support-v4/23.4.0/suppo rt-v4-23.4.0.jar
file:/android-sdk/extras/google/m2repository/com/android/support/support-v4/23.4.0/suppor t-v4-23.4.0.pom
file:/android-sdk/extras/google/m2repository/com/android/support/support-v4/23.4.0/suppor t-v4-23.4.0.jar
Required by:
:project:unspecified
- 16 Posts
- 0 Reply Likes
Posted 4 years ago
- 3 Posts
- 1 Reply Like
I have the same issue. I built my app yesterday, but now it is not working with the same message as Divya B. I made no configuration changes.
- 4 Posts
- 1 Reply Like
When I remove the "phonegap-plugin-push" plugin from my config file the build succeeds again. It seems to be a problem with this plugin for me. How about you guys?
Edit:
Probably related to this... seems to be a mistake from Google's side.
http://community.phonegap.com/nitobi/...
Edit:
Probably related to this... seems to be a mistake from Google's side.
http://community.phonegap.com/nitobi/...
- 3 Posts
- 1 Reply Like
I cannot build when the cordova-plugin-facebook4 and / or the phonegap-plugin-push are set. If I remove both, then the app compiles.
- 4 Posts
- 1 Reply Like
Locking in the push plugin version, like below, solved the issue for me. At least for now.
plugin name="phonegap-plugin-push" source="npm" spec="1.6.3"
plugin name="phonegap-plugin-push" source="npm" spec="1.6.3"
- 3 Posts
- 1 Reply Like
Thanks for sharing Daan. Now my app is compiling well too. I locked the plugins versions of the push and the facebook plugins:
plugin name="cordova-plugin-facebook4" source="npm" spec="1.3.0"
plugin name="phonegap-plugin-push" source="npm" spec="1.6.3"
It is strange that it was working fine until yesterday.
Thanks again.
plugin name="cordova-plugin-facebook4" source="npm" spec="1.3.0"
plugin name="phonegap-plugin-push" source="npm" spec="1.6.3"
It is strange that it was working fine until yesterday.
Thanks again.
- 1 Post
- 0 Reply Likes
"plugin name="phonegap-plugin-push" source="npm" spec="1.6.3" " fixed my issue, thanks!
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
Meanwhile a temporary fix (new plugin version) is available.
http://community.phonegap.com/nitobi/...
http://community.phonegap.com/nitobi/...
- 4 Posts
- 1 Reply Like
@Petra
Locking the version to 1.6.4 mentioned in the post gives the same error again. Am afraid that it does not work for PhoneGap Build (yet).
"A problem occurred configuring root project 'project'.
> Could not resolve all dependencies for configuration ':_debugCompile'.
> Could not find com.android.support:support-v4:23.4.0."
Locking the version to 1.6.4 mentioned in the post gives the same error again. Am afraid that it does not work for PhoneGap Build (yet).
"A problem occurred configuring root project 'project'.
> Could not resolve all dependencies for configuration ':_debugCompile'.
> Could not find com.android.support:support-v4:23.4.0."
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
Could you please check that you actually get that plugin version (in the plgin list at your PGB app's page)?
You are not using Hydration, are you?
Also, I believe v4:23.1.1 is the latest support library available on PGB, so you could be correct (if you have indeed that latest plugin version).
You are not using Hydration, are you?
Also, I believe v4:23.1.1 is the latest support library available on PGB, so you could be correct (if you have indeed that latest plugin version).
- 4 Posts
- 1 Reply Like
No Hydration and the plugin page shows v1.6.4 indeed. Looks like PGB users will have to go with 1.6.3 until Google fixes their mistake or another workaround is found.
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
In that case, I don't think the 'Google has to fix something' and the missing support library are related.
Brett, OFFICIAL REP
- 547 Posts
- 54 Reply Likes
please follow this thread ... https://forums.adobe.com/thread/2158362
these forums are being deprecated in favour of the official adobe forums.
these forums are being deprecated in favour of the official adobe forums.
Related Categories
-
PhoneGap Framework
- 2926 Conversations
- 61 Followers
-
PhoneGap Build
- 15111 Conversations
- 275 Followers
-
Plugins
- 1283 Conversations
- 38 Followers
-
Programming (Others)
- 1167 Conversations
- 23 Followers





