AndroidStudio升级到3.14踩坑与填坑记录

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Mr_theSun/article/details/82154745

前提:

gradle4.4zip,已下载解压使用

 

踩坑一:

nvoke-customs are only supported starting with Android O (--min-api 26)

填坑一:

app builde.gradle下填写指定jdk版本

android {
  ...
  compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
}

踩坑二:

Program type already present: android.support.v4.content.WakefulBroadcastReceiver

填坑二:

implementation 'com.android.support:support-v4:28.0.0-rc01'

猜你喜欢

转载自blog.csdn.net/Mr_theSun/article/details/82154745