8000 Android Gradle Plugin 3.5.0 Compatibility · Issue #53 · kezong/fat-aar-android · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Android Gradle Plugin 3.5.0 Compatibility #53
Closed
@llDavidll

Description

@llDavidll

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) :

ConfigurableFileCollection getRClassPath() {

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0