Cannot import Place.Field.NAME, LAT_LNG, ADDRESS in Google Places SDK 5.x
02:10 03 Dec 2025

I am using the new Google Places SDK in my Android app.

places = "5.1.1"
places = { module = "com.google.android.libraries.places:places", version.ref = "places" }

   val fields: List = listOf(
            Place.Field.ID,
            Place.Fie

ld.NAME,
            Place.Field.LAT_LNG,
            Place.Field.ADDRESS
        )

        val intent = Autocomplete.IntentBuilder(AutocompleteActivityMode.FULLSCREEN, fields)
            .setCountry("IN")
            .build(this)

But the class doesn't contain these fields.

What is the correct dependency or import for accessing Place.Field in the latest Places SDK?

java android kotlin android-studio android-studio-3.0