小编har*_*iya的帖子

将compileSdk和targetSdk更改为33后未获得Xml建议

我在将compilesdk和targetsdk更新到33时遇到一些问题。

如果我将compilesdk或targetsdk设置为32、31或更少,我会在编译过程中遇到另一个库支持问题,如下所述......

 1.  Dependency 'androidx.lifecycle:lifecycle-livedata-ktx:2.6.0-alpha02' requires libraries and applications that
  depend on it to compile against version 33 or later of the
  Android APIs.

  :app is currently compiled against android-32.

  Also, the maximum recommended compile SDK version for Android Gradle
  plugin 7.2.1 is 32.

  Recommended action: Update this project's version of the Android Gradle
  plugin to one that supports 33, then update this project to use
  compileSdkVerion of at least 33.

  Note that updating a library or application's compileSdkVersion (which …
Run Code Online (Sandbox Code Playgroud)

xml android gradle

10
推荐指数
1
解决办法
3451
查看次数

标签 统计

android ×1

gradle ×1

xml ×1