phonegap / build

This is the public repository for PhoneGap Build source and bug tracking
92 stars 33 forks source link

Android problem on compile in PGBuild #638

Closed asalgueiro closed 5 years ago

asalgueiro commented 5 years ago

Hi,

This is reported in Forum in multiple threads:

https://forums.adobe.com/thread/2551566 https://forums.adobe.com/thread/2500401 https://forums.adobe.com/thread/2551918

Since 22nd oct, some plugins breaked when try to get a .jar file from jcenter repository.

This issue can be solved editing gradle script to alter the repositories order but PGB users can't change that.

Will be a fix available soon? Thanks

goya commented 5 years ago

there hasn’t been any provisioning changes on build for a while.

investigating now.

goya commented 5 years ago

do you have a sample app or app id # that can reproduce this? or what plugins cause this error?

asalgueiro commented 5 years ago

App ID: 1006158 Plugin affected: phonegap-plugin-push

Some others have problems with plugin cordova-plugin-multidex and cordova-plugin-googleplus

Thanks!

Burfelt commented 5 years ago

This sample app will fail right now:

https://github.com/jcesarmobile/phonegap-plugin-push-sample

infuzz commented 5 years ago

same for me : Could not find multidex.jar (com.android.support:multidex:1.0.2). Searched in the following locations: https://jcenter.bintray.com/com/android/support/multidex/1.0.2/multidex-1.0.2.jar


Maybe build.gradle on PGB should be modified to let maven in first place rather than jcenter like this : repositories { maven { url "https://maven.google.com" } jcenter() }

See this

goya commented 5 years ago

this should be fixed on prod.

very annoying problem to come out of the blue.

infuzz commented 5 years ago

I can confirm that I can compile right now !

pgb uses maven repositories rather than jcenter.

Great works ! thx pgb team, thx you Goya !

Burfelt commented 5 years ago

Confirmed that I can compile too!

Thanks for moving on this,

goya commented 5 years ago

i have been unable to find a smoking gun. if anyone has the changelog of a gradle change or script update that caused this, i would be ever so grateful.

juankza95 commented 5 years ago

I'm still experiencing this issue, and seems like I'm not the only too (https://forums.adobe.com/message/10707946#10707946).

I also opened a thread, https://forums.adobe.com/thread/2552826 .

Any tip?