“”应用程序当前是针对 android-33 编译的。建议的操作:更新此项目以使用至少 34 的较新的compileSdk,例如 34。请注意,更新库或应用程序的compileSdk(这允许较新的 API 为“”
我想获取我在虚拟电话上运行的方法的日志。
我已将应用程序级别 gradle 文件中的compileSdk和targetSdk版本从33更改为34。
android {
namespace = "com.undivided.todo"
compileSdk = 34
defaultConfig {
applicationId = "com.undivided.todo"
minSdk = 24
targetSdk = 34
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
}