我遇到了一个奇怪的问题。当我使用以下完美运行的属性时,我可以看到设备中的链式 react 。
android:foreground="?selectableItemBackgroundBorderless"
android:background="?selectableItemBackgroundBorderless"
但是在IDE中它显示错误无法解析符号'?selectableItemBackgroundBorderless'
。
Android Studio:v3.1.2
compileSdkVersion 27
buildToolsVersion "27.0.3"
support_version = '27.1.1'
可能是什么问题?
最佳答案
我在 27.0.3
使用27.0.3
版本
使用27.0.2
版本
使用27.0.2
而不是27.0.3
比
Clean-ReBuild-Run
您的项目
编辑
如果您想使用27.0.3
,请遵循此答案https://stackoverflow.com/a/48734990/7666442
关于android - 无法解析符号 '?selectableItemBackgroundBorderless',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50228093/