• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

gradle

  1. D

    How do I create an AAR in Android Studio with Prefab exports?

    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...
  2. Pravinkumar Putta

    Apps FAILURE: Build failed with an exception.

    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. >...
  3. G

    Apps I am trying to sign my APK to publish it on the store, I am getting following

    // 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...
  4. steve

    Apps Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment

    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.