-
Notifications
You must be signed in to change notification settings - Fork 76
Android build fails for AndroidTest with processDebugAndroidTestManifest FAILED w/ RN 0.69.7 #110
Comments
I have the same issue with detox v18.1.0, react-native v.70.6 and react-native-encrypted-storage v4.0.2. Any feedback would be appreciated. I would prefer NOT to change storage libraries. Thank you! |
+1 |
There are no activities in the library that I could find. I think this error refers to an outdated test library.
In libraries build.gradle folder. |
@px-amaac could you clarify exactly where you have added this line to fix the issue? In my case, adding |
Actually, @px-amaac , I now understand what you found. The required update is in the build.gradle file in |
Here is the open PR: #81 |
Here is a new PR that solves this issue: #115 |
Can we get the PR merged? My android build is failing as well, I'm on RN 72 |
I'm trying to use Detox for e2e tests and have failed to setup Detox with my project.
I keep getting a build failure regarding react-native-encrypted-storage when running the gradle assembleAndroidTest command.
I execute:
detox build --configuration android.emu.debug
which executes:
./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug
Versions:
"react-native": "0.69.7",
"react-native-encrypted-storage": "^4.0.3",
The following command fails:
./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug
With the following message:
See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.
FAILURE: Build failed with an exception.
The following commands work to build the app on emulator or physical device:
npx react-native run-android
cd android/ && ./gradlew clean && ./gradlew bundleRelease && cd .. && npx react-native run-android --variant=release
However, ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug continues to fail.
Any help would be greatly appreciated, thanks!
Edit: For anyone else that may run into this issue, I used rn-secure-storage instead, which solved the issue and took 2 mins.
The text was updated successfully, but these errors were encountered: