最近刚开始用Android Studio,出的问题还真不少。昨天不知为何不能新建项目了,这两天重装了几次才搞定。

 

可又出了这个问题:

Android Studio 'AIDL is missing' 且 不识别R文件

 

原因:Compile Sdk Version和Build Tool Version不匹配。修改步骤如下所示:

Android Studio 'AIDL is missing' 且 不识别R文件       

 

Android Studio 'AIDL is missing' 且 不识别R文件

 

Android Studio 'AIDL is missing' 且 不识别R文件

 

把二者的版本选为相同或相近,最后clean一下就行了。

 

详细说明网址如下:

Execution failed for task ':app:compileDebugAidl': aidl is missing

http://stackoverflow.com/questions/29766830/execution-failed-for-task-appcompiledebugaidl-aidl-is-missing

 

还是在stackoverflow上找到的,还真是个不错的网站。

相关文章:

  • 2022-12-23
  • 2021-06-02
  • 2021-05-09
  • 2022-12-23
  • 2021-09-09
  • 2021-07-19
  • 2021-07-02
  • 2021-05-28
猜你喜欢
  • 2021-07-05
  • 2021-12-13
  • 2021-08-04
  • 2021-10-20
  • 2022-12-23
  • 2021-11-06
相关资源
相似解决方案