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

What went wrong: A problem occurred configuring project ':mylibrary'. > Could not get unknown property 'transformNative_libsWithSyncJniLibsForRelease' for project ':mylibrary' of type org.gradle.api.Project. #66

Open KoushikJit opened 7 years ago

KoushikJit commented 7 years ago

Don't know what to do.

KoushikJit commented 7 years ago

FAILURE: Build failed with an exception.

hwdavr commented 7 years ago

Replace it with 'transformNativeLibsWithSyncJniLibsForRelease' will fix the issue

KoushikJit commented 7 years ago

I'm sorry if it's silly but I don't know how to do that. I simply wrote 'apply from: 'https://raw.githubusercontent.com/adwiv/android-fat-aar/master/fat-aar.gradle'' in my module gradle file.

JonaNorman commented 7 years ago

I face this problem too

mayankkussh commented 7 years ago

Facing the same issue. Any solution??

JonaNorman commented 7 years ago

@mayankkussh As @hwdavr say, Replace it with 'transformNativeLibsWithSyncJniLibsForRelease'

LessTalk commented 7 years ago

i same to you

hwdavr commented 7 years ago

This fat aar script is only working for Android Studio V2.1 and before, latest version is not working any more.

meetakshay99 commented 7 years ago

Is this working? I have android studio 2.3 and when used this to create a .aar file the classes.jar file is missing in the generated .aar file. However, if I dont use this, the classes.jar file is created. Any pointers to fix this?

nikgupta1231 commented 6 years ago

@hwdavr replacing 'transformNativeLibsWithSyncJniLibsForRelease' with what?

hwdavr commented 6 years ago

@nikgupta1231 replace transformNative_libsWithSyncJniLibsForRelease with transformNativeLibsWithSyncJniLibsForRelease