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
Hey guys, thanks for the alpha release! Here's my issue:
Description
Followed exactly all the setup procedures for android
When I try running detox build -c android.emu.debug -l verbose,
I get an error:
> Task :app:generateBundledResourcesHashDebug
fbed798de55bc14b630fdbbef2bcc3fac343ae8edbd26e9f611d3f8299fb694d
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':detox:transformDexArchiveWithExternalLibsDexMergerForMinReactNative44DebugAndroidTest'.
> java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 8s
324 actionable tasks: 23 executed, 301 up-to-date
child_process.js:644
throw err;
^
Error: Command failed: cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug &&cd ..
Would anyone know a workaround to get it built without having to go in and delete these lines?
Looks like if I go directly into the file in the package, node_modules/detox/android/build.gradle, and delete flavors minReactNative44 related lines, it builds:
// delete these under line 15minReactNative44 {
dimension"minReactNative"
}
...
dependencies {
//delete these under line 60 minReactNative44Implementation'com.squareup.okhttp3:okhttp:3.4.1'minReactNative44Implementation'com.squareup.okhttp3:okhttp-ws:3.4.1'
The text was updated successfully, but these errors were encountered:
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.
Hey guys, thanks for the alpha release! Here's my issue:
Description
Followed exactly all the setup procedures for
android
When I try running
detox build -c android.emu.debug -l verbose
,I get an error:
Steps to Reproduce
detox build -c android.emu.debug -l verbose
Detox, Node, Device, Xcode and macOS Versions
Nexus_5_API_23
Device and verbose Detox logs
emulator
Nexus_5_API_23
Would anyone know a workaround to get it built without having to go in and delete these lines?
Looks like if I go directly into the file in the package,
node_modules/detox/android/build.gradle
, and delete flavors minReactNative44 related lines, it builds:The text was updated successfully, but these errors were encountered: