本机库发出启动进程命令 [英] Native libs issue starting process command

查看:200
本文介绍了本机库发出启动进程命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

错误:任务执行失败':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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆