1.The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin.android
解决办法gradle
用 androidTest 替换 instrumentTest,编译运行便可。xml
2.The minSdk version should not be declared in the android manifest file. You can move the version blog
解决办法io
把manifest.xml 里的sdk最小版本设置都删掉 。Androidstudio3.0 之后 不能在manifest.xml 设置这些必须在 gradle里设置编译
3.The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.10 and higher. jdk
解决办法 修改ext.kotlin_version,改为1.3.10kotlin
改完以后可能会出现 Failed to resolve: org.jetbrains.kotlin:kotlin-stdlib-jre8:1.3.10file
解决办法sdk
写法上将jre换成jdk