A problem occurred starting process 'command 'G:\Android\sdk\ndk-bundle\toolchains\mips64el-linux-an
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                A problem occurred starting process 'command 'G:\Android\sdk\ndk-bundle\toolchains\mips64el-linux-an
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.                        
                                如下圖:
我這邊出現(xiàn)這個是因為項目里面加入了模擬器的so庫導(dǎo)致的,網(wǎng)上找到了一個簡單的解決辦法
方法一:
打開 local.properties,將ndk目錄的目錄加上后綴 .cmd, 例如
ndk.dir=G\:\\Android\\sdk\\ndk-bundle.cmd, ?重新build就可以正常編譯了 如上圖:
?
?
方法二:
版本回退, ?ndk版本在r17版, 很有可能出現(xiàn)這個問題, 那么可以下載r16版就可以了
感謝博主:博主地址
?
方法三:(參考的極光推送Android端集成文檔里面的方法)
注?: 使用 NDK r17 時,可能 Android Studio 會出現(xiàn)以下提示:
A problem occurred starting process ‘command ‘/Users/xxx/Library/Android/sdk/ndk-bundle/toolchains/mips64el-linux-android-4.9/prebuilt/darwin-x86_64/bin/mips64el-linux-android-strip”系統(tǒng)找不到指定的文件這是因為 NDK r17 之后不再支持 mips 平臺,在 build.gradle 里增加如下配置可解決
android {defaultConfig {.....}packagingOptions { doNotStrip '*/mips/*.so' doNotStrip '*/mips64/*.so' }}?
總結(jié)
以上是生活随笔為你收集整理的A problem occurred starting process 'command 'G:\Android\sdk\ndk-bundle\toolchains\mips64el-linux-an的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
                            
                        - 上一篇: Android开发之NDK下载与NDK更
 - 下一篇: 大众计划推出车载应用商店 包括TikTo