Cordova Slack Digest

Mon, 31 Oct 2022 08:23:11 GMT

User count: 4710

Join the conversation at slack.cordova.io

Channel #cordova-android (4 messages)


Sun, 30 Oct 2022 21:54:49 GMT

@patrick662 says

I'm running Android 9.1 and just started getting this error when building. Before upgrading to the latest Android platform, does this error message mean anything to anyone?

> Configure project :app +----------------------------------------------------------------- | cordova-android-support-gradle-release: 27.+ +----------------------------------------------------------------- [cordova-plugin-background-fetch] libDir: C:\Users\Patrick\Documents\Projects\TheEquestrian\EquestrianApp\Equestrian App\platforms\android\app/libs [cordova-background-geolocation] libDir: C:\Users\Patrick\Documents\Projects\TheEquestrian\EquestrianApp\Equestrian App\platforms\android\app/libs WARNING: Configuration ‘compile’ is obsolete and has been replaced with ‘implementation’ and ‘api’. It will be removed in version 5.0 of the Android Gradle plugin. For more information, see http://d.android.com/r/tools/update-dependency-configurations.html. [cordova-background-geolocation] Purging debug resources in release build Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01

FAILURE: Build failed with an exception.

  • What went wrong: Could not determine the dependencies of task ‘:app:compileReleaseJavaWithJavac’. > Could not resolve all task dependencies for configuration ‘:app:releaseCompileClasspath’. > Could not resolve com.theartofdev.edmodo:android-image-cropper:2.7.+. Required by: project :app > Skipped due to earlier error > Skipped due to earlier error > Skipped due to earlier error

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1m 54s Command failed with exit code 1: C:\Users\Patrick\Documents\Projects\TheEquestrian\EquestrianApp\Equestrian App\platforms\android\gradlew cdvBuildRelease -b C:\Users\Patrick\Documents\Projects\TheEquestrian\EquestrianApp\Equestrian App\platforms\android\build.gradle

C:\Users\Patrick\Documents\Projects\TheEquestrian\EquestrianApp\Equestrian App>

Sun, 30 Oct 2022 22:02:32 GMT

@jcesarmobile says

It’s not finding a dependency called android-image-cropper

Sun, 30 Oct 2022 22:02:43 GMT

@jcesarmobile says

Jcenter might be down

Mon, 31 Oct 2022 02:36:09 GMT

@mathewp.94 says

Dumb question, in order to request push notification permission (POST_NOTIFICATIONS permission added in Android SDK 33) you need to be on Android SDK 33 right?