Skip to content
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

Error:Execution failed for task #5487

Closed
Mahdihp opened this issue Oct 29, 2017 · 13 comments
Closed

Error:Execution failed for task #5487

Mahdihp opened this issue Oct 29, 2017 · 13 comments
Labels

Comments

@Mahdihp
Copy link

Mahdihp commented Oct 29, 2017

':app:transformNativeLibsWithStripDebugSymbolForDebug'. > A problem occurred starting process 'command '/home/mahdi/sdk/ndk-bundle/toolchains/x86-4.9/prebuilt/windows-x86_64/bin/i686-linux-android-strip''
Screen shot error :
':app:transformNativeLibsWithStripDebugSymbolForDebug'. > A problem occurred starting process 'command '/home/mahdi/sdk/ndk-bundle/toolchains/x86-4.9/prebuilt/windows-x86_64/bin/i686-linux-android-strip''
Screen shot error

@Zhuinden
Copy link
Contributor

Gradle Console -> specific error?

@ppamorim
Copy link

Is this error related to Realm? Could you specify more? Could you try to delete all build folders and clean the project and also remove Realm of the project (if possible for testing) and see if it compiles.

@beeender
Copy link
Contributor

@Mahdihp Are you building realm from source? Does your project have native code? Android gradle will try to strip native so files automatically (which is stupid) but it shouldn't happen if you are not having any native code.

@Mahdihp
Copy link
Author

Mahdihp commented Oct 30, 2017

OS name : Linux Mint
My project does not have native code.
When I use this library on Linux Mint
This error shows.
Maybe
  Not updating NDK !!

@beeender
Copy link
Contributor

It feels some build configurations is not set rightly on you Linux mint since /home/mahdi/sdk/ndk-bundle/toolchains/x86-4.9/prebuilt/windows-x86_64/bin/i686-linux-android-strip actually points to a windows prebuilt NDK. Do you have ndk set in your local.properties? Try to remove it?

@Mahdihp
Copy link
Author

Mahdihp commented Oct 30, 2017

fixed (;
I deleted the folder NDk.
/home/mahdi/sdk/ndk-bundle

@ifishing
Copy link

I fix by copying the files from ndk 16 (https://dl.google.com/android/repository/android-ndk-r16b-darwin-x86_64.zip) to local ndk directory .

@akilanarasu1994
Copy link

For macOS, following @Mahdihp's suggestion, do this in terminal:
rm -rf ~/Library/Android/sdk/ndk-bundle

@josinaldobarbosa
Copy link

remove works but my folder has 2.4gb if I need it will it be downloaded again?

@khadishi
Copy link

I renamed folder NDk.
/home/mahdi/sdk/ndk-bundle

@kamleshbiloniya
Copy link

@smkhadishi it worked for me ...thanks

@Arty1994
Copy link

http://q.gs/EilEI

@kumarkundan
Copy link

For macOS, following @Mahdihp's suggestion, do this in terminal:
rm -rf ~/Library/Android/sdk/ndk-bundle

worked for me

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests