-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails, could not resolve all files for configuration ':app:debugCompileClasspath' #755
Comments
I modified:
to:
in files:
following some advice from https://forum.ionicframework.com/t/build-fails-on-android-could-not-resolve-all-files-for-configuration/119024 and now it builds. Can someone explain to me what's going on? Is this an issue with Cordova or Gradle or the external repositories or this plugin or ... ? |
I have same problem, Did you fix this? I need to fix this. MY IONIC INFO: `
global packages:
local packages:
System:
Environment Variables:
Misc:
|
See my comment above. It seems that jcenter might have different packages available on http vs https. I have no idea why. |
@zcoffin86 thank you so much for this, i had the same error using this plugin and cordova-plugin-firebase-authentication and your solution fixed it for both plugins |
You could also simply put maven before jcenter, then as long as the package is in maven gradle won't bother checking jcenter. |
closing as resolved |
it's working good in normal build. But i have error - Execution failed for task ':app:lintVitalRelease'.
|
if @zcoffin86 solution doesn't work, try this: https://stackoverflow.com/a/50565175/5576333 |
I wonder if using platform android 7.1.1 would fix? |
thanks..
thanks |
@Esom that's what we ended up doing for a while, but cordova platform android 7.1.x seemed to have solved this, at least on all of our dev machines. 3rd party integrations are another matter! |
the best solution for me has been |
After installing firebase plugin I'm getting this build error. Cordova CLI 8, android platforms tested: 7.1.0, 7.0.0, 6.4.0. After removing firebase plugin build succeeds. Below is terminal log of a test project, but same behavior noticed in pre-existing apps that were working in fact earlier today. I tried adding and changing things in build.gradle buildscript repositories and allprojects repositories but to no avail. TIA
The text was updated successfully, but these errors were encountered: