美文网首页
com.android.ide.common.process.P

com.android.ide.common.process.P

作者: shicong | 来源:发表于2018-12-12 15:14 被阅读0次

    今天导入项目的时候遇到这么一个问题,是高版本的NDK带来的问题,我使用的是17版本,会报一个这种错误,所以献给那些以后可能遇到这个问题的你们。(解决方法就是去下载10版本的NDK)

    ~~~

    FAILURE: Build failed with an exception.

    * What went wrong:

    Execution failed for task ':mDemoSDK:compileDebugNdk'.

    > com.android.ide.common.process.ProcessException: Error while executing process C:\Users\Administrator\AppData\Local\Android\Sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=E:\GitCode\my-opreate-sdk\mDemoSDK\build\intermediates\ndk\debug\Android.mk APP_PLATFORM=android-21 NDK_OUT=E:\GitCode\my-opreate-sdk\mDemoSDK\build\intermediates\ndk\debug\obj NDK_LIBS_OUT=E:\GitCode\my-opreate-sdk\mDemoSDK\build\intermediates\ndk\debug\lib APP_ABI=armeabi-v7a,armeabi,x86}

    * Try:

    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    * Get more help at https://help.gradle.org

    ~~~

    最后我想对那些臭鱼烂虾们说几句,如果别人已经有分享过的了,你自知你的只是抄袭他的博客的话,就没有必要再浪费时间去抄袭了,因为这样会让别人搜出来很多同样的博文,很浪费开发者的时间。

    相关文章

      网友评论

          本文标题:com.android.ide.common.process.P

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