Could not get unknown property 'packageReleaseResources'
Error:FAILURE: Build failed with an exception.
-
Where: Script 'https://raw.githubusercontent.com/adwiv/android-fat-aar/master/fat-aar.gradle' line: 114
-
What went wrong: A problem occurred configuring project ':app'.
Could not get unknown property 'packageReleaseResources' for project ':app' of type org.gradle.api.Project.
apply from: 'https://raw.githubusercontent.com/adwiv/android-fat-aar/master/fat-aar.gradle'
dependencies {
embedded (project(':MyModule'))
'com.android.tools.build:gradle:2.2.2' buildToolsVersion "25.0.0"
What is the android gradle version you are using?
Also, this script is not meant to be applied on 'app' module.. only for library projects..
3.2 and 3.1
App -- MyLib 1 -- -- External Lib 1
How to config this plugin for this case?
Do you publish MyLib to customers? If yes, then it should be applied on MyLib.
No, it's an internal library for my App.
Then maybe you do not need this script.
This is only for people who release android libraries for use by other people.
My App has lots of internal libs. So I need to make aars for it to speed up development.
Error:Could not find property 'packageReleaseResources' on project ':app'. I have the same error
Error:Could not get unknown property 'packageReleaseResources' for project ':mainmodule' of type org.gradle.api.Project. Who knows how to solve this problem?