本机库发出启动进程命令 [英] Native libs issue starting process command
问题描述
错误:任务执行失败':app:transformNativeLibsWithStripDebugSymbolForDebug'。
Error:Execution failed for task ':app:transformNativeLibsWithStripDebugSymbolForDebug'.
启动进程'命令'C:\时出现问题Users\LENOVO\AppData\Local\Android\Sdk\\\
dk-bundle\toolchains\mips64el-Linux的Android的4.9\prebuilt\windows-x86_64\bin\mips64el-Linux的android-strip''
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''
推荐答案
我遇到了类似的问题,解决方法是增加Gradle和Android Studio的最大堆大小。尝试将其放入 gradle.properties
文件中:
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
另外要增加Android Studio的最大堆大小,请按照说明操作此处。
Also to increase the maximum heap size of Android Studio follow the instructions here.
如果没有任何帮助,你可以告诉gradle 根本不剥离调试符号,但我不知道不建议这样做。
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.
这篇关于本机库发出启动进程命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!