adwiv / android-fat-aar

Gradle script that allows you to merge and embed dependencies in generted aar file
The Unlicense
1.46k stars 435 forks source link

Could not find property 'transformNative_libsWithSyncJniLibsForRelease' #46

Open seehatinder opened 7 years ago

seehatinder commented 7 years ago

BUILD FAILED

seehatinder commented 7 years ago

Hi there! Could any one please help me out with this one?

Thank you in advance!

adwiv commented 7 years ago

What is the gradle version and android plugin version you are using?

seehatinder commented 7 years ago

Gradle version 2.4 and most recent plugin from the repository.

minSdkVersion 19 targetSdkVersion 21

compileSdkVersion = 21 buildToolsVersion = '21.1.2'

Thanks...

jonbryantnz commented 7 years ago

The Android build tools have changed a task name: transformNative_libsWithSyncJniLibsForRelease -> transformNativeLibsWithSyncJniLibsForRelease

The fix is to replace transformNative_libsWithSyncJniLibsForRelease with transformNativeLibsWithSyncJniLibsForRelease (fat-aar.gradle, line #119)