Android Studio编译报错:
错误: 对findViewById的引用不明确 Methods findViewById(int) from android.app.Activity and findViewById(int) from android.support.v7.app.AppCompatActivity are inherited with the same signature |
解决方案:
各工程compileSdkVersion不一致,应该进行统一,一般向高版本看齐。
关于我
厦门大学计算机专业 | 前华为工程师
分享编程技术,没啥深度,但看得懂,适合初学者。
Java | 安卓 | 前端 | 小程序 | 鸿蒙
公众号:花生皮编程