I am trying to add Automotive features to my app. I added a module with
<uses-feature
android:name="android.hardware.type.automotive"
android:required="true"
/>
in the Manifest.
I tested it successfully on Automotive emulator.
But when I upload the apk to a testing channel, it says
APKs or Android App Bundles in this track must require the following features:android.hardware.type.automotive.
I suspect that somehow the new module is not included in the apk as the build says:
APK(s) generated successfully for module ‘CAR.app.main’ with 1 build variant
It doesnt mention the automotive module.
What do I miss?