Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.location.LocationServices" on path: DexPathList[[zip file "/data/app/~~7KBUn2lwEDhEAtW_Isu_oA==/com.valentindiring.xx-scZlLvqEbNpegW1x47tPtw==/base.apk"],nativeLibraryDirectories=[/data/app/~~7KBUn2lwEDhEAtW_Isu_oA==/com.valentindiring.xx-scZlLvqEbNpegW1x47tPtw==/lib/x86_64, /system/lib64, /system_ext/lib64]]
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/location/LocationServices; at lib.valentindiring.threeprojectscomposelibrary.screens.settings.AreaContentKt.AreaContentAfterLoadingBottomSheet(AreaContent.kt:387)
我已经卸载了应用程序,然后清理任务,重建。 但这并没有帮助。
在三个项目组成库测试应用程序模块中它可以工作! 但不在生产应用程序中。
我找到了解决办法。 传递依赖!