Closed ATY77 closed 5 years ago
Hi Chris,
This issue seems to be solved.
But we still face another issue, please look at issue : 'iOS: Cannot publish app due to unsupported architectures'. This one prevents us from deploying iOS App in Apple Store.
Thanks,
@ATY77: Github classsic: Problem solved, but the solution is not posted here. Can you privde your solution to the "ERROR: Failed to resolve: com.github.NeutrinosPlatform:scanlibrary:master-SNAPSHOT" Error? Im facing this currently, nad i have no idea how to fix this (and NO, i read all Issues here and NONE helped...)
Thanks!
Hi, thanks for the reply. OK.
App build / Sync Gradle OK
Run "cordova plugin add cordova-plugin-document-scanner" --> adding Plugin
App build / Sync Gradle fails with
"ERROR: Failed to resolve: com.github.NeutrinosPlatform:scanlibrary:master-SNAPSHOT Show in Project Structure dialog Affected Modules: app"
And yes, i added jitpack.io in build.gradle (Module: app)
allprojects { repositories { google() jcenter() maven { url 'https://jitpack.io' } } }
and added ndk filters
android {
defaultConfig {
applicationId privateHelpers.extractStringFromManifest("package")
minSdkVersion 21
targetSdkVersion 28
if (cdvMinSdkVersion != null) {
minSdkVersion cdvMinSdkVersion
}
ndk {
abiFilters "armeabi-v7a", "x86", "armeabi", "mips"
}
}
}
Thanks!!
Thats what i call support! Thanks a lot! I cant work further on my app if this wonderful plugin does not work properly (no build no testing :()
Thanks very much!
Dominic
Maybe it has sth to do with a failed build @jitpack?!
If i access https://jitpack.io/com/github/NeutrinosPlatform/scanlibrary/master/snapshot directly, it states "Build failed. See the log at jitpack.io"
Yup jitpack build was the issue. I knew that going in, but took some time to fix the issue.
It should be working now. Remove all the older fixes you mentioned in the comment below. It should work correctly without them. Tested it on my end to make sure. Also make sure you remove the older plugin and add the latest one (At the time of writing this, the version is cordova-plugin-document-scanner v2.0.2)
Hi, thanks for the reply. OK.
- Android 7.1.4
- Cordova 8.1.2
App build / Sync Gradle OK
Run "cordova plugin add cordova-plugin-document-scanner" --> adding Plugin
App build / Sync Gradle fails with
"ERROR: Failed to resolve: com.github.NeutrinosPlatform:scanlibrary:master-SNAPSHOT Show in Project Structure dialog Affected Modules: app"
And yes, i added jitpack.io in build.gradle (Module: app)
allprojects { repositories { google() jcenter() maven { url 'https://jitpack.io' } } }
and added ndk filters
android { defaultConfig { applicationId privateHelpers.extractStringFromManifest("package") minSdkVersion 21 targetSdkVersion 28 if (cdvMinSdkVersion != null) { minSdkVersion cdvMinSdkVersion } ndk { abiFilters "armeabi-v7a", "x86", "armeabi", "mips" } } }
Thanks!!
Woha, thanks a lot.
I was pretty sure the error was its because of Jitpack, the exact same config worked last week.
Thanks a lot for the real quick help! I appreciate it!
Hi Chris,
Since today the build of the Android App fails with this error. Can u see what is wrong?
Could not resolve all files for configuration ':app:releaseCompileClasspath'.