I have solved my problem by setting transitive
attribute for my aar dependency:
compile ('com.somepackage:LIBRARY_NAME:1.0.0@aar'){
transitive=true
}
More Related Contents:
- Android Library Gradle release JAR
- How to include JAR dependency into an AAR library
- Is it possible to declare a variable in Gradle usable in Java?
- Android Activity ClassNotFoundException – tried everything
- Execution Failed for task :app:compileDebugJavaWithJavac in Android Studio
- Error:Execution failed for task ‘:app:dexDebug’. com.android.ide.common.process.ProcessException
- Gradle – What is a non-zero exit value and how do I fix it?
- Ionic build Android error when downloading Gradle
- How to download older google play services?
- Android Archive Library (aar) vs standard jar
- Manifest merger failed error
- How to specify the JDK version in Android Studio?
- How can I resolve the error “The minCompileSdk (31) specified in a dependency’s AAR metadata” in native Java or Kotlin? [duplicate]
- JCenter deprecation; impact on Gradle and Android
- Difference between google() and maven { url ‘https://maven.google.com’ }
- :app:dexDebug ExecException finished with non-zero exit value 2
- What does transitive = true in Gradle exactly do (w.r.t. crashlytics)?
- Android studio – Failed to complete gradle execution – error in opening zip file
- java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex in Android Studio 3.0 [closed]
- Android studio – Failed to find target android-18
- Gradle sync failed: Unable to find method
- Multiple dex files define /BuildConfig, can’t find the cause:
- Failed to import new Gradle project: failed to find Build Tools revision *.0.0
- NoClassDefFoundError on external library project for Android
- Android Studio Build gradle OutOfMemoryError
- Error:Timeout waiting to lock buildscript class cache for build file when change minSdkVersion
- Android Studio 3.0 DexArchiveBuilderException
- Android – Having Provider authority in the app project
- Could not find tools.jar. Please check that C:\Program Files\Java\jre1.8.0_151 contains a valid JDK installation
- Error:Could not initialize class com.android.sdklib.repositoryv2.AndroidSdkHandler