Didn't find class "com.google.type.LatLng" on path
See original GitHub issue[REQUIRED] Step 2: Describe your environment
- Android Studio version: 4.0.1
- Firebase Component: 'com.google.firebase:firebase-firestore-ktx
- Component version: 21.5.0
[REQUIRED] Step 3: Describe the problem
throws:
Caused by java.lang.ClassNotFoundException
Didn't find class "com.google.type.LatLng" on path: DexPathList...
when using the following sequence
val db = Firebase.firestore
db.collection("blog-posts").get()
Steps to reproduce:
run
val db = Firebase.firestore
db.collection("blog-posts").get()
Relevant Code:
val db = Firebase.firestore
db.collection("blog-posts").get()
Issue Analytics
- State:
- Created 3 years ago
- Comments:24 (5 by maintainers)
Top Results From Across the Web
Didn't find class "com.google.protobuf.ByteString" - Stack ...
Thread.run(Thread.java:764) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.protobuf.ByteString" on path: ...
Read more >Add a Styled Map | Maps SDK for Android - Google Developers
This tutorial shows you how to add a map with custom styling to your Android app. The tutorial uses night mode as an...
Read more >DatabaseReference | Firebase - Google
Module Index · FirebaseCore · Classes. Overview · FirebaseApp · FirebaseConfiguration · FirebaseOptions · Enumerations. Overview · FIRLoggerLevel · Type Definitions.
Read more >Failed resolution of FirebaseInstanceId at com.Backendless ...
ClassNotFoundException: Didn't find class "com.google.firebase.iid.FirebaseInstanceId" on path: DexPathList[[zip file ...
Read more >Let's make a form that puts current location to use in a map!
I can find what I need and get most things for a decent price. ... Finally, we create an instance of the Google...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just figured it is due to following lines in my
app/build.gradle
file:Now, if I don’t add these lines, I’m getting error:
and unable to compile my project.
Since there haven’t been any recent updates here, I am going to close this issue.
@gardyna if you’re still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.