2021年3月5日星期五

AspectJ - Android IllegalStateException after adding firebase dependency

Using Ibotta, an AOP library for android, seems not working after adding below dependency

implementation 'com.google.firebase:firebase-auth:20.0.3'

Actual Result:

Build was successful and seems not creating all dex

Runtime Error: Application class not found in dex path list.

AOP Log showing below error :

java.lang.IllegalStateException: Expecting .,<, or ;, but found - while unpacking <MessageType:Lcom/google/android/gms/internal/firebase-auth-api/zzaaa<TMessageType;TBuilderType;>;BuilderType:Lcom/google/android/gms/internal/firebase-auth-api/zzzw<TMessageType;TBuilderType;>;>Lcom/google/android/gms/internal/firebase-auth-api/zzyj<TMessageType;TBuilderType;>;      at org.aspectj.util.GenericSignatureParser.parseClassTypeSignature(GenericSignatureParser.java:204)      at org.aspectj.util.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:155)      at org.aspectj.util.GenericSignatureParser.parseFormalTypeParameter(GenericSignatureParser.java:130)      at org.aspectj.util.GenericSignatureParser.parseAsClassSignature(GenericSignatureParser.java:51)      at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:275)      at org.aspectj.weaver.bcel.BcelWorld.addSourceObjectType(BcelWorld.java:479)      at org.aspectj.weaver.bcel.BcelWorld.addSourceObjectType(BcelWorld.java:453)      at org.aspectj.weaver.bcel.BcelWeaver.addAspectsFromJarFile(BcelWeaver.java:265)      at org.aspectj.weaver.bcel.BcelWeaver.addLibraryJarFile(BcelWeaver.java:238)  
https://stackoverflow.com/questions/66493454/aspectj-android-illegalstateexception-after-adding-firebase-dependency March 05, 2021 at 09:28PM

没有评论:

发表评论