Issue
I am following this guide in order to develop a simple hello world application for Android Automotive using Android Studio.
I have downloaded the Volvo Polestar 2 system image as you can see here:
and here:
Then I have created two classes as suggested by the guide and created the emulator:
But if I run the app I get:
07/07 12:17:56: Launching 'automotive' on Polestar 2 API 29. Error while waiting for device: The emulator process for AVD Polestar_2_API_29 has terminated.
- How do I solve?
This is the gradle file:
plugins {
id 'com.android.application'
}
android {
compileSdk 32
defaultConfig {
applicationId "com.example.demo"
minSdk 29
targetSdk 32
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.4.2'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation "androidx.car.app:app-automotive:1.2.0-rc01"
}
Solution
The problem is related to Apple's M1 chips. There is no particular solution for this problem
Answered By - tail
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.