【踩坑】Android编译R.id.xxx时报错
前言
Android编译R.id.xxx
时报错:Ambiguous method call: both 'AppCompatActivity.findViewById(int) (In xxx\platforms\android-24\android.jar!\android\app\Activity.class)' match
原因
- 可能是Gradle有误
解决问题
- 刷新Gradle
Android编译R.id.xxx
时报错:Ambiguous method call: both 'AppCompatActivity.findViewById(int) (In xxx\platforms\android-24\android.jar!\android\app\Activity.class)' match