android.car package for CarGearViewerKotlin
- Dominant language
- Java
- Stars
- 464
- Forks
- 191
- PR merge metrics
- No merged PRs in 30d
Description
For CarGearViewerKotlin it is impossible to access to android.car package.
After adding useLibrary `'android.car'` to build.gradle of app module it started building and running on emulator, but Android Studio still unable to access and/or show them.
```
import android.car.Car
import android.car.VehiclePropertyIds
import android.car.hardware.CarPropertyValue
import android.car.hardware.property.CarPropertyManager
```
Android Studio versions:
```
Chipmunk 2021.2.1 | Patch 1
Electric Eel | 2022.1.1 Canary 2
Android SDK: 29, 30, 31, 32
```
How can I fix it. Or somehow add android.car.jars. Because it is impossible to normally develop without highlighting and importing packages.
Contributor guide
Research direction
Start with the app module's build.gradle and the CarGearViewerKotlin imports for android.car, reproducing the Android Studio resolution problem using the listed SDK and IDE versions. Done means the android.car classes are available for normal importing and highlighting while the existing build and emulator run continue to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- build-system, developer-experience, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100