当前位置:   article > 正文

android studio AndroidManifest.xml 的一些问题_error: google play requires that apps target api l

error: google play requires that apps target api level 26 or higher. [expire

1.

xmlns:tools="http://schemas.android.com/tools"

tools:replace="android:allowBackup"

android:allowBackup="true"

2.Error: Google Play requires that apps target API level 26 or higher. 两种解决办法

这个问题是Android Studio和SDK升级后出现的,在编译Release版本的时候报错。

两种解决办法:

1)在targetSdkVersion 上面一行加注释:

//inspection ExpiredTargetSdkVersion

2) 在android {} 块中加入:

lintOptions {
    abortOnError false
}

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小惠珠哦/article/detail/993281
推荐阅读
相关标签
  

闽ICP备14008679号