Óscar
Óscar

Reputation: 726

aapt_rules.txt not found when build library with Proguard

I have an Android lib and generate AAR file using android library plugin and fat-aar-plugin, but now I need obfuscate code and I write a few simple rules (keep class only) on my .pro file, and add minifyEnabled true on my build.gradle

The problem is when try make the project and received this error:

Warning:Exception while processing task java.io.FileNotFoundException: /Users/ninja/Development/Projects/Android/Cloud/CloudSDK-Core-Android/build/intermediates/proguard-rules/debug/aapt_rules.txt (No such file or directory)
Error:Execution failed for task ':CloudSDK-Core-Android:transformClassesAndResourcesWithProguardForDebug'.
> Job failed, see logs for details

Upvotes: 3

Views: 1021

Answers (1)

ivan.rosina
ivan.rosina

Reputation: 408

Try deleting build folder. Maybe there is something in previous intermediates folder already cached.

Upvotes: 3

Related Questions