-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
NDK 23 is incompatible with release builds - Execution failed for task ':app:stripReleaseDebugSymbols'. #1659
Comments
any update on this, currently unable to build in azure |
@JJB1980 yes you can just add this ndkVersion to your app.gradle in meantime: |
Anyone have any clue how to install ndk in a github workflow file to be used with the above gradle file? |
@mykone github runners should have ndk |
Ok. Cool @rigor789 , thanks.. Will remove my install NDK step then.. And use the ndk version you suggested above. Thanks man. |
@NathanWalker Thank you for the Workaround, was having the same problem and setting the NDK variable to the version you suggested fixed my Azure pipeline Build process. Thx. |
Thanks for the info! ndkVersion also got my Azure Pipeline building again. |
Hi! A update about it! Unable to apply changes on device: emulator-5554. Error is: Command ./gradlew failed with exit code 1._ Any ideas? Thanks |
Try using a lower ndk version than 23 |
@danielideriba It's likely build-tools 31 which is a broadly known issue in android stack. You can try this solution here: |
Thanks @NathanWalker =) I tried this: Then I execute this command: I got this: Unable to apply changes on device: emulator-5554. Error is: Command ./gradlew failed with exit code 1. Furthermore...on iOS platform the app running fine on simulator. |
@danielideriba you can try installing NDK |
@rigor789 Huge thanks for your reply! I just added NDK info: But I face the same old error =( |
just added ndkVersion "22.1.7171670" and issue solved |
For older versions of the runtime you can set the ndkVersion but I do recommend upgrading to the latest version of the runtime |
Is this still happening with NDK 23.1.7779620 and build tool 33? |
@JesseBrown1980 give |
Environment
Describe the bug
Error during release build it:
In
release
mode the current gradle attempts to call*-linux-android-strip
and these tools has been removed in v23 of the NDK, and the recommendation is now to usellvm-strip
.Possible work arounds:
App_Resources/android/app.gradle
file add andkVersion "22.0.7026061"
(using which ever versions you have installed before v23) in theandroid {
section of the file.ndk/<prior_version>/toolchains/llvm/prebuilt/linux-x86_64/bin/*-linux-android-strip
from v2x to v23 directory. (4 of them, x86_64, arm, i686 and aarch64To Reproduce
ns build android --release --key-store-...
and have ndk v23 installedExpected behavior
Works.
Future Solution
Additional context
The text was updated successfully, but these errors were encountered: