Solve the apt error problem after upgrading Android studio 2.3 to Android studio 3.0
1. Phenomenon description
The original project works normally in Android studio 2.3. After upgrading to 3.0, the following errors are reported:
2. Solution:
Project is deleted from the build.gradle file
Module is deleted from the build.gradle file
Module in the build.gradle file
PS: let's add that after Android studio is updated to 3.0, apt is not supported
After Android studio is updated to 3.0, apt is not supported. Only the following two points need to be modified for adaptation:
1. Remove the apply plugin: 'Android apt' in build.gradle under the module directory
2. Change apt to annotation processor
For example:
Change to
summary
The above is what Xiaobian introduced to you to solve the problem of apt error reporting after Android studio 2.3 is upgraded to Android studio 3.0. I hope it will be helpful to you. If you have any questions, please leave me a message and Xiaobian will reply to you in time. Thank you very much for your support for the programming tips website!