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
When I run "detox build -c android" I get the error:
`Execution failed for task ':react-native-jumio-mobilesdk:processDebugAndroidTestManifest'.
Manifest merger failed : uses-sdk:minSdkVersion 1 cannot be smaller than version 19 declared in library [tested_artifact::react-native-jumio-mobilesdk] /Users/me/Projects/project/packages/mobile/node_modules/react-native-jumio-mobilesdk/android/build/intermediates/library_manifest/debug/AndroidManifest.xml as the library might be using APIs not available in 1
Suggestion: use a compatible library with a minSdk of at most 1,
or increase this project's minSdk version to at least 19,
or use tools:overrideLibrary="com.jumio.react" to force usage (may lead to runtime failures)`
In my build.gradle I have minSdkVersion 19 and targetSdkVersion 28.
I already tried to force the minSdkVersion in AndroidManifest but doesn't worked.
If I run just ./gradlew assembleDebug the project builds but I'm not able to run detox test next.
So, the problem is when I run assembleAndroidTest as I have in my package.json configuration.
On iOS everything works fine.
detox version: 12.1.3
gradle: 3.3.1
I don't know if this can be a bug but related with gradle and detox version.
The text was updated successfully, but these errors were encountered:
Hi @sergiomap, have you changed the build.gradle in your project (android) or in your target (android/app) dir ?
Our app is building fine using Detox 10 (and lastly 12), with minSdkVersion set in project dir (android/build.gradle). Neither manifest or target build file has been changed manually.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back.
Thank you for your contributions.
Describe the bug
I'm trying to build my project for android and it doesn't work.
My package.json has:
"android": { "binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk", "build": "pushd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && popd", "type": "android.emulator", "name": "Pixel_XL_API_28" }
When I run "detox build -c android" I get the error:
`Execution failed for task ':react-native-jumio-mobilesdk:processDebugAndroidTestManifest'.
In my build.gradle I have minSdkVersion 19 and targetSdkVersion 28.
I already tried to force the minSdkVersion in AndroidManifest but doesn't worked.
If I run just ./gradlew assembleDebug the project builds but I'm not able to run detox test next.
So, the problem is when I run assembleAndroidTest as I have in my package.json configuration.
On iOS everything works fine.
detox version: 12.1.3
gradle: 3.3.1
I don't know if this can be a bug but related with gradle and detox version.
The text was updated successfully, but these errors were encountered: