0

Error:Execution failed for task ':app:transformNativeLibsWithStripDebugSymbolForDebug'.

A problem occurred starting process 'command 'C:\Users\LENOVO\AppData\Local\Android\Sdk\ndk-bundle\toolchains\mips64el-linux-android-4.9\prebuilt\windows-x86_64\bin\mips64el-linux-android-strip''

Rahul pal
  • 31
  • 5

3 Answers3

0

I had a similar problem and the solution was to increase the maximum heap size for both Gradle and Android Studio. Try to put this in your gradle.properties file:

org.gradle.jvmargs=-Xms1548m -Xmx6g

Also to increase the maximum heap size of Android Studio follow the instructions here.

If it doesn't help either you can tell gradle not to strip the debug symbols at all, but I wouldn't advise doing that.

Mikhail Vasilyev
  • 503
  • 4
  • 11
0

I had the same problem and my solution was to uninstall the ndk in SDK Tools and it worked. Maybe the project doesn't need a ndk. enter image description here

Michael Yang
  • 1,403
  • 2
  • 18
  • 27
0

I've faced the same issue, all I did is run the command in Terminal

rm -rf ~/Library/Android/sdk/ndk-bundle

Waqar UlHaq
  • 6,144
  • 2
  • 34
  • 42