1、No toolchains found in the NDK toolchains folder for ABI with
1、android ndk-bundle\toolchainsを確認する
C:\Users\ ユーザー名 \AppData\Local\Android\Sdk\ndk-bundle\toolchains
下記二つを存在しないためエラーとなりました。
mipsel-linux-android-4.9
mips64el-linux-android-4.9
2、公式サイトでダウンロードする
https://developer.android.com/ndk/downloads/
3、解凍する
4、下記二つのフォルダをtoolchainsフォルダに追加する
C:\Users\ ユーザー名 \AppData\Local\Android\Sdk\ndk-bundle\toolchains
mipsel-linux-android-4.9
mips64el-linux-android-4.9
2、Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
app.gradle のcompile を implementationに差し替え
//compile fileTree(include: ['*.jar'], dir: 'libs')
implementation fileTree(include: ['*.jar'], dir: 'libs')
3、One of the plugins you are using supports Java 8
全部のエラー
One of the plugins you are using supports Java 8 language features. To try the support built into the Android plugin, remove the following from your build.gradle:
apply plugin: 'me.tatarka.retrolambda'
To learn more, go to https://d.android.com/r/tools/java-8-support-message.html
つまりme.tatarka.retrolambdaを除外しろの意味、こんな感じです
//apply plugin: 'me.tatarka.retrolambda'
4 Cannot resolve symbol XXXX
android studio のcacheにライブラリーが含まれていないため、cacheを廃棄して再起動必要となる
“File” -> “Invalidate Caches / Restart” -->“Invalidate and Restart”
5 Unknown run configuration type AndroidRunConfigurationType
なんでいきなり上記のエラー、、、???
原因:一部pluginを使えない
対策:
1,File/setting/pluginsを開き
2,赤になる部分は使えないため、チェック外してから再チェックを入れる。
3,android studio を再起動する。
4,新しいpluginsをセットアップする。。。。