I have an Android project for a library (using the com.android.library plugin), that includes C++ code. When I run the assemble task in gradle, the outputted AAR contains the native library in the /jni folder. However, there is no "prefab" folder. On the documentation page for libraries, the...
Facing the below issue on my system after updating the android studio and all its plugins.
FAILURE: Build failed with an exception.
* What went wrong:
Could not create an instance of type org.gradle.plugin.management.internal.DefaultPluginResolutionStrategy.
>...
// I am trying to sign my APK to publish it on the store, I am getting following error. I do not get this error while building my Application, though.
Error:Execution failed for task ':app:transformClassesWithJarMergingForRelease'.
> com.android.build.api.transform.TransformException...
If you happen to run across this build error:
What you need to do is open your project build.gradle file and replace
classpath 'com.android.tools.build:gradle:2.0.0-alpha2'
with
classpath 'com.android.tools.build:gradle:2.0.0-alpha3'
It wouldn't hurt to update your Android SDK too.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.