play-services-fido 21.x seems to contain invalid classfiles

34 views
Skip to first unread message

Joel Klinghed

unread,
Aug 30, 2024, 12:36:45 PMAug 30
to FIDO Dev (fido-dev)

Linking app with com.google.android.gms:play-services-fido:21.1.0.

Very simple code example:

import com.google.android.gms.fido.fido2.api.common.UserVerificationRequirement;

class Test { Test() { UserVerificationRequirement foo = UserVerificationRequirement.USER_VERIFICATION_REQUIRED; } }

Gives:

MyApplication/app/src/main/java/com/example/myapplication/Test.java:3: error: cannot access UserVerificationRequirement import com.google.android.gms.fido.fido2.api.common.UserVerificationRequirement; ^ bad class file: /home/the_jk/.gradle/caches/transforms-4/4df59fdfab274f35d43c17d4a4ec52c8/transformed/play-services-fido-21.1.0-api.jar(/com/google/android/gms/fido/fido2/api/common/UserVerificationRequirement.class) class file is invalid for class com.google.android.gms.fido.fido2.api.common.UserVerificationRequirement Please remove or make sure it appears in the correct subdirectory of the classpath. MyApplication/app/src/main/java/com/example/myapplication/Test.java:6: error: cannot access Object class Test { ^ bad class file: /modules/java.base/java/lang/Object.class bad RuntimeInvisibleParameterAnnotations attribute: Object() Please remove or make sure it appears in the correct subdirectory of the classpath. MyApplication/app/src/main/java/com/example/myapplication/Test.java:8: error: cannot find symbol UserVerificationRequirement foo = UserVerificationRequirement.USER_VERIFICATION_REQUIRED; ^ symbol: class UserVerificationRequirement location: class Test MyApplication/app/src/main/java/com/example/myapplication/Test.java:8: error: cannot find symbol UserVerificationRequirement foo = UserVerificationRequirement.USER_VERIFICATION_REQUIRED; ^ symbol: variable UserVerificationRequirement location: class Test 4 errors
Reply all
Reply to author
Forward
0 new messages