hanabi1224 / flutter_appcenter_bundle

MIT License
20 stars 48 forks source link

APK Flutter build - Execution failed for task ':app:collectReleaseDependencies'. (appcenter-3.2.1.aar) #21

Closed Beautylivery closed 4 years ago

Beautylivery commented 4 years ago

Hi, trying to use the flutter build apk i run into the below error

FAILURE: Build failed with an exception.                                                                           

* What went wrong:                                                                                                 
Execution failed for task ':app:collectReleaseDependencies'.                                                       
> Could not resolve all artifacts for configuration ':app:releaseRuntimeClasspath'.                                
   > Could not download appcenter-crashes-3.2.1.aar (com.microsoft.appcenter:appcenter-crashes:3.2.1)              
      > Could not get resource 'https://jcenter.bintray.com/com/microsoft/appcenter/appcenter-crashes/3.2.1/appcenter-crashes-3.2.1.aar'.
         > Could not GET 'https://jcenter.bintray.com/com/microsoft/appcenter/appcenter-crashes/3.2.1/appcenter-crashes-3.2.1.aar'.
            > jcenter.bintray.com                                                                                  
   > Could not download appcenter-3.2.1.aar (com.microsoft.appcenter:appcenter:3.2.1)                              
      > Could not get resource 'https://jcenter.bintray.com/com/microsoft/appcenter/appcenter/3.2.1/appcenter-3.2.1.aar'.
         > Could not GET 'https://jcenter.bintray.com/com/microsoft/appcenter/appcenter/3.2.1/appcenter-3.2.1.aar'.
            > jcenter.bintray.com           

As i could solve something similar on the iOS level by upping my Target, here is the Android build graddle infos

compileSdkVersion 30 minSdkVersion 28 targetSdkVersion 30

As AppCenter is said to support SDK 16 or higher i assume this is not the issue .

Any suggestions ?

Beautylivery commented 4 years ago

I revisited today and tried to build form my computer... this time it just worked... seems i can not really recreate the issue :/