Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Apr 21, 2017 · 11 comments

Comments

@KoushikJit
Copy link

Don't know what to do.

@KoushikJit
Copy link
Author

FAILURE: Build failed with an exception.

Could not get unknown property 'transformNative_libsWithSyncJniLibsForRelease' for project ':mylibrary' of type org.gradle.api.Project.

@hwdavr
Copy link

hwdavr commented Apr 22, 2017

Replace it with 'transformNativeLibsWithSyncJniLibsForRelease' will fix the issue

@KoushikJit
Copy link
Author

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
Copy link

I face this problem too

@mayankkussh
Copy link

Facing the same issue. Any solution??

@JonaNorman
Copy link

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

@LessTalk
Copy link

LessTalk commented Jun 3, 2017

i same to you

@hwdavr
Copy link

hwdavr commented Jun 3, 2017

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

@meetakshay99
Copy link

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
Copy link

@hwdavr replacing 'transformNativeLibsWithSyncJniLibsForRelease' with what?

@hwdavr
Copy link

hwdavr commented May 25, 2018

@nikgupta1231 replace transformNative_libsWithSyncJniLibsForRelease with transformNativeLibsWithSyncJniLibsForRelease

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants