I have just created my first Android Automotive project:
when I run AndroidAutoDemo.mobile
module it works fine:
Unfortunately when I switch to AndroidAutoDemo.automotive
module I get:
Could not identify launch activity: Default Activity not found Error while Launching activity Failed to launch an application on all devices
This is the Android Manifest file in AndroidAutoDemo.automotive
module (left as default):
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.androidautodemo">
<uses-feature
android:name="android.hardware.type.automotive"
android:required="true" />
<application
android:allowBackup="true"
android:appCategory="audio"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.AndroidAutoDemo" />
</manifest>
This is my mobile emulator:
- How can I fix?