Can't find R.java in Android Studio 3.6(newest release)

雨燕双飞 提交于 2021-02-11 14:27:19

问题


When I use Android Studio 3.5, I've known where R.java is.

But in Android Studio 3.6, the newest version, the location of R.java is changed.

Where is it? Thanks.


回答1:


The change is in android gradle plugin 3.6, from the official android site:

Additionally, Android Gradle plugin has made significant performance improvement for annotation processing/KAPT for large projects. This is caused by AGP now generating R class bytecode directly, instead of .java files.

android studio 3.6



来源:https://stackoverflow.com/questions/60426330/cant-find-r-java-in-android-studio-3-6newest-release

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!