【发布时间】:2022-09-29 09:05:27
【问题描述】:
自从android studio 升级到Android Studio Dolphin | 2021.3.1,布局xml显示\"无法解析符号\'@style/Theme.AppCompat\" Here is a screenshot of the code
build.gradle 是:
dependencies {
implementation \'androidx.appcompat:appcompat:1.4.0\'
...
}
当我注释掉这行代码时,一切都变得正常了:
dependencies {
// implementation \'androidx.appcompat:appcompat:1.4.0\'
...
}
当我在\"android:theme=\"@style/Theme.AppCompat\"上按下组合键ctrl+鼠标左键快速引导到如下位置,如图: Theme.AppCompat is here in the values.xml
我不知道这是什么,谁能告诉我?
标签: android-studio android-theme