Closed tbuckel closed 9 months ago
I solved in this way:
<preference name="GradlePluginKotlinEnabled" value="true"/>
android.useAndroidX=true
repositories {
google()
mavenCentral()
jcenter()
}
dependencies {
implementation 'io.github.ParkSangGwon:tedimagepicker:1.2.2'
}
add the plugin
cordova plugin add https://github.com/EinfachHans/cordova-plugin-advanced-imagepicker
start the application
cordova run android
Having just installed this plugin and migrating my project to cordova-android 10.1.1, I can confirm the fix above by @jon-88 does solve the compilation errors caused by the missing dependency.
Bug Report
Current Behavior:
I've tried adding V1.5.4 and master to my Cordova10 project. In both cases the build fails as Android is unable to resolve the dependencies
gun0912.ted:tedpermission-rx2:2.2.2
andgun0912.ted:tedonactivityresult-rx2:1.0.6
.Expected Behavior:
Successful build
Steps to reproduce:
Screenshots:
Environment information:
cordova -v
=> 10.0.0cordova platform ls
cordova plugin ls
sw_vers
winver
Additional information
Looks like the missing dependencies are in the not retired jcenter repository (https://blog.gradle.org/jcenter-shutdown) and cannot be found in mavenCentral. Only newer versions are in mavenCentral.