echonox opened a new issue #675: Gradle Fails to sync after upgrading to 
Cordova Android 8.0
URL: https://github.com/apache/cordova-android/issues/675
 
 
   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   The Gradle should sync with success
   
   
   ### What does actually happen?
   Gradle Sync Fails
   
   
   ## Information
   <!-- Include all relevant information that might help understand and 
reproduce the problem -->
   After upgrading to Cordova Android 8.0 Gradle sync fails with the following 
message:
   
   > API 'variant.getExternalNativeBuildTasks()' is obsolete and has been 
replaced with 'variant.getExternalNativeBuildProviders()'.
   It will be removed at the end of 2019.
   For more information, see 
https://d.android.com/r/tools/task-configuration-avoidance.
   To determine what is calling variant.getExternalNativeBuildTasks(), use 
-Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.
   
   
   > Configuration 'compile' is obsolete and has been replaced with 
'implementation' and 'api'.
   It will be removed at the end of 2018. For more information see: 
http://d.android.com/r/tools/update-dependency-configurations.html
   
   
   > The minSdk version should not be declared in the android manifest file. 
You can move the version from the manifest to the defaultConfig in the 
build.gradle file.
   Open Manifest File
   Move minSdkVersion to build file and sync project
   
   
   > The targetSdk version should not be declared in the android manifest file. 
You can move the version from the manifest to the defaultConfig in the 
build.gradle file.
   
   
   > The minSdk version should not be declared in the android manifest file. 
You can move the version from the manifest to the defaultConfig in the 
build.gradle file.
   Open Manifest File
   Move minSdkVersion to build file and sync project
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   Open the platforms/android project in Android Studio
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Operating System, Android Studio, Xcode etc.
   -->
   Android Studio 3.2.1
   Build #AI-181.5540.7.32.5056338, built on October 9, 2018
   JRE: 1.8.0_152-release-1136-b06 x86_64
   JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
   macOS 10.13.6
   Cordova: 8.1.2
   Cordova Android: 8.0
   Cordova Plugins: 
   cordova-plugin-awesome-shared-preferences 0.1.0 "Shared preferences"
   cordova-plugin-backbutton 0.3.0 "Backbutton"
   cordova-plugin-badge 0.8.8 "Badge"
   cordova-plugin-calendar 5.1.4 "Calendar"
   cordova-plugin-deeplinks 1.1.0 "Cordova Deeplinks Plugin"
   cordova-plugin-device 2.0.2 "Device"
   cordova-plugin-dialogs 2.0.1 "Notification"
   cordova-plugin-firebase 2.0.5 "Google Firebase Plugin"
   cordova-plugin-firebase-crashlytics 0.0.8 "Cordova Firebase Crashlytics 
Plugin"
   cordova-plugin-google-analytics 1.8.6 "Google Universal Analytics Plugin"
   cordova-plugin-inappbrowser 3.0.0 "InAppBrowser"
   cordova-plugin-local-notification 0.9.0-beta.3 "LocalNotification"
   cordova-plugin-network-information 2.0.1 "Network Information"
   cordova-plugin-splashscreen 5.0.2 "Splashscreen"
   cordova-plugin-statusbar 2.4.2 "StatusBar"
   cordova-plugin-whitelist 1.3.3 "Whitelist"
   cordova-plugin-x-socialsharing 5.4.4 "SocialSharing"
   es6-promise-plugin 4.2.2 "Promise"
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to