Does Google have Maven repositories or similar for these two Android libraries? I know that Google has its own hosted version for others, but I have not found versions for these two mentioned. Also, the Google documentation does not accurately match up with IntelliJ, but I assume it should similarly work like Android Studio.
Edit: I have been trying to get the market_licensing module to work as an AAR library with the android module. The market_licensing compiles fine, but I get errors related to the following:
- Code: Select all
Exception in thread "main" java.lang.IllegalArgumentException: Type without superclass: module-info
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:191)
at com.google.devtools.build.android.desugar.DefaultMethodClassFixer.visit(DefaultMethodClassFixer.java:80)
at org.objectweb.asm.ClassVisitor.visit(ClassVisitor.java:113)
at com.google.devtools.build.android.desugar.InterfaceDesugaring.visit(InterfaceDesugaring.java:97)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:621)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:500)
at com.google.devtools.build.android.desugar.Desugar.desugarClassesInInput(Desugar.java:477)
at com.google.devtools.build.android.desugar.Desugar.desugarOneInput(Desugar.java:361)
at com.google.devtools.build.android.desugar.Desugar.desugar(Desugar.java:314)
at com.google.devtools.build.android.desugar.Desugar.main(Desugar.java:711)
:android:transformClassesWithDesugarForDebug FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':android:transformClassesWithDesugarForDebug'.
The problem occurs even without obfuscation.
Thank you for your help.