アンドロイドスタジオをバージョン3.0にアップデートしました。以前のバージョンのスタジオでjackOption
を使用していました。更新後、この警告が表示されます。私はこの警告を受けた。しかし、私はこれらの2つの行を追加する場所を知っていないのですか?警告:Jack toolchainは推奨されていません。Androidスタジオ
Warning:The Jack toolchain is deprecated and will not run. To enable support for Java 8 language features built into the plugin, remove 'jackOptions { ... }' from your build.gradle file, and add
android.compileOptions.sourceCompatibility 1.8
android.compileOptions.targetCompatibility 1.8
Future versions of the plugin will not support usage of 'jackOptions' in build.gradle.
To learn more, go to https://d.android.com/r/tools/java-8-support-message.html
@pavneet この2行を追加すると警告が表示されます。私もこれらを追加する必要はありませんか? android.compileOptions.sourceCompatibility 1.8 android.compileOptions.targetCompatibility 1.8 – Khemraj