Description
Hi,
The latest Android Gradle plugin breaks the fat-aar plugin :
Cannot expand ZIP '****\intermediates\compile_only_not_namespaced_r_class_jar\release\generateReleaseRFile\R.jar' as it does not exist.
Path of the R.jar file with 3.4.2 :
intermediates\compile_only_not_namespaced_r_class_jar\release\generateReleaseRFile\R.jar
Path of the R.jar file with 3.5.0 :
intermediates\compile_only_not_namespaced_r_class_jar\release\R.jar
One step is really important : clean before trying to reproduce this error. Without a clean, old generated files are still present and are used by the plugin.
I think the fix should be made here by adding another case without the last part of the path (/generate${mVariant.name.capitalize()}RFile
) :
I tried to build by manually puting the R.jar file in the old path and it seems to work, so it may be the only broken thing.