-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pipeline - detox build error #3276
Comments
"build": "cd android; ./gradlew --stacktrace assembleDevRelease assembleAndroidTest -DtestBuildType=release; cd ..", need to change from assembleAndroidTest to assembleDevAndroidTest |
The result after replacing assembleAndroidTest with assembleDevAndroidTest FAILURE: Build failed with an exception.
|
@cchristman-shell your gradle build command failed. I'd focus on resolving:
There are multiple messages of that sort. Try to run |
We use the issue tracker exclusively for bug reports and feature requests. This issue appears to be a general usage or support question. Instead, please ask a question on Stack Overflow with the Feel free to post your Stack Overflow question here for more visibility! We'll take a look at it. Refer to this discussion for more information about our policy on issues. |
What happened?
Github pipeline:
run "detox build --configuration android.emu.release" failed
"android.emu.release": {
"binaryPath": "android/app/build/outputs/apk/dev/release/app-dev-release.apk",
"build": "cd android; ./gradlew --stacktrace assembleDevRelease assembleAndroidTest -DtestBuildType=release; cd ..",
"type": "android.emulator",
"name": "Pixel_API_26"
}
The errors are in the attached below:
detox-build-error.txt
What was the expected behaviour?
Expect to build a executable app-dev-release.apk in the folder below
BUILD FAILED in 3m 45s
detox[5792] WARN: [build.js]
Important: after running the build command, Detox could not find your app at the given binary path:
android/app/build/outputs/apk/dev/release/app-dev-release.apk
Was it tested on latest Detox?
Did your test throw out a timeout?
Help us reproduce this issue!
Tried the latest detox "19.5.7", it returned with the same errors when running "detox build ..."
In what environment did this happen?
Detox version: 18.20.2 (and 19.5.7)
React Native version: 0.61.4
Node version: v10.16.3
Device model: Pixel-API-26
Android version:
Test-runner (select one): jest-circus / jest+jasmine / mocha / other
GitHub macOS agent entire environment attached:
github-env.txt
Detox logs
Detox logs
Device logs
Device logs
More data, please!
No response
The text was updated successfully, but these errors were encountered: