Android Studio 报错集

根据个人在开发使用过程中遇到的错误为契机,将Android Studio的报错汇集一起,做一个记录,也提供给各位参考:

1、Error:android-apt plugin is incompatible with the Android Gradle plugin. Please use ‘annotationProcessor’ configuration instead.

解决方案:
plugin开始,第三方android-adt不在受支持,所以我们将项目中的adt 替换成 annotationProcessor。以Banner为例:

  1. 将 app下的adt依赖替换成 annotationProcessor,然后将apply plugin: ‘android-apt’去除:
    Android Studio 报错集合解决方案

  2. 将根目录下的build.gradle 中的依赖移除:
    Android Studio 报错集合解决方案


相关文章:

  • 2021-09-21
  • 2021-04-06
  • 2021-05-11
  • 2022-01-09
  • 2021-08-12
  • 2021-06-13
  • 2021-12-25
  • 2021-12-12
猜你喜欢
  • 2021-11-13
  • 2022-01-07
  • 2021-09-12
  • 2022-01-05
  • 2021-08-29
  • 2022-12-23
  • 2021-12-23
相关资源
相似解决方案