美文网首页
Error:CreateProcess error=216

Error:CreateProcess error=216

作者: jiazheng_0e0f | 来源:发表于2019-11-19 16:41 被阅读0次

项目换了一台32位机器跑,用app run的方式运行


image.png

结果报

Error:CreateProcess error=216, 该版本的 %1 与你运行的 Windows 版本不兼容。请查看计算机的系统信息,然后联系软件发布者。

找了一圈,发现网上的方案都不适用。
后来尝试使用installDebug的方式


image.png

又报了

* What went wrong:
Execution failed for task ':app:transformNativeLibsWithStripDebugSymbolForDebug'.
> A problem occurred starting process 'command 'E:\develop\sdk\ndk-bundle\toolchains\aarch64-linux-android-4.9\prebuilt\windows-x86_64\bin\aarch64-linux-android-strip''

搜索半天,找到一种解决方案
修改local.properties 在ndk.dir后加上.cmd

ndk.dir=E\:\\develop\\sdk\\ndk-bundle.cmd
sdk.dir=E\:\\develop\\sdk

相关文章

网友评论

      本文标题:Error:CreateProcess error=216

      本文链接:https://www.haomeiwen.com/subject/kgqgictx.html