You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 18, 2021. It is now read-only.
For cordova-plugin-background-app version 2.0.2, on updating the app to Cordova 8.0.0 I am getting an error on PhoneGap build for Android app.
I am getting this error in the Log file. This seems to be a Gradle issue.
Is this a plugin issue or am I doing something incorrectly?
Subproject Path: CordovaLib
Subproject Path: app
Subproject Path: cordova-plugin-background-app/mobile-background-activity-lib
Configuration on demand is an incubating feature.
publishNonDefault is deprecated and has no effect anymore. All variants are now published.
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_2xx35v52rl3ludo3orv40h1v6.run(/app/build.gradle:145)
Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead.
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
Configuration 'compile' in project ':cordova-plugin-background-app:background-activity-lib' is deprecated. Use 'implementation' instead.
Configuration 'debugCompile' in project ':cordova-plugin-background-app:background-activity-lib' is deprecated. Use 'debugImplementation' instead.
Configuration 'releaseCompile' in project ':cordova-plugin-background-app:background-activity-lib' is deprecated. Use 'releaseImplementation' instead.
Failed to notify ProjectEvaluationListener.afterEvaluate(), but primary configuration failure takes precedence.
java.lang.IllegalStateException: compileSdkVersion is not specified.
at com.google.common.base.Preconditions.checkState(Preconditions.java:456)
Build file '/cordova-plugin-background-app/mobile-background-activity-lib/build.gradle' line: 47
* What went wrong:
A problem occurred evaluating project ':cordova-plugin-background-app:background-activity-lib'.
> Could not get unknown property 'cdvCompileSdkVersion' for object of type com.android.build.gradle.LibraryExtension.
BUILD FAILED in 1s
Error: /gradlew: Command failed with exit code 1 Error output:
Failed to notify ProjectEvaluationListener.afterEvaluate(), but primary configuration failure takes precedence.
java.lang.IllegalStateException: compileSdkVersion is not specified.
at com.google.common.base.Preconditions.checkState(Preconditions.java:456)
* Where:
Build file '/cordova-plugin-background-app/mobile-background-activity-lib/build.gradle' line: 47
* What went wrong:
A problem occurred evaluating project ':cordova-plugin-background-app:background-activity-lib'.
> Could not get unknown property 'cdvCompileSdkVersion' for object of type com.android.build.gradle.LibraryExtension.
The text was updated successfully, but these errors were encountered:
For cordova-plugin-background-app version 2.0.2, on updating the app to Cordova 8.0.0 I am getting an error on PhoneGap build for Android app.
I am getting this error in the Log file. This seems to be a Gradle issue.
Is this a plugin issue or am I doing something incorrectly?
The text was updated successfully, but these errors were encountered: