1. 程式人生 > >android studio 常見錯誤解決積累

android studio 常見錯誤解決積累

1、新安裝的Android Studio  執行專案是,報錯

解決:File——>Setting -——>Build,Execution——>Instant Run  把Enable Instant Run  去掉打鉤就行了

2、匯入專案 報錯 :No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android

原因是 下載的NDK 中缺少 相關檔案 mips64el-linux

進入 ndk 下載目錄——>toolchains 中對比可以看到:

解決:單獨下載一個ndk 的包,然後把缺少的東西拷貝過來