2025 Updated fix:
build.grandle.kts
android { ...(existing config) useLibrary("android.car") }
This is the solution recommended from the fixed Google Issue