Git Product home page Git Product logo

Comments (21)

hannesa2 avatar hannesa2 commented on May 22, 2024 2

Maybe someone is interested and maybe Google can help https://issuetracker.google.com/issues/219764014

from android-emulator-m1-preview.

matuki avatar matuki commented on May 22, 2024 2

https://issuetracker.google.com/issues/219764014

hannesa2: did you successfully build an Android Automotive image for emulator that runs on M1? If so, could you please share it?

from android-emulator-m1-preview.

rostyslavfilipchuk avatar rostyslavfilipchuk commented on May 22, 2024 2

image
image
ignore polestar (if you have one) - it will not work. Select Automotive default profile
image
Maybe, I don't remember, you will need to select it from Other Images for the first time
image
image
after, the created emulator will be visible in a stable Android studio (If you selected the same folders for SDK and etc during launching a Preview version) Also, ARM image will be available too.

from android-emulator-m1-preview.

Igro182 avatar Igro182 commented on May 22, 2024 2

Thank you so much @hannesa2 and @rostyslavfilipchuk. Both of you answers helped, indeed it has to be Canary version of Android Studio. After seeing you responses and that noticing both of you are on Canaryi tried to download canary version and Automotive SDK showed up:
image

and it work perfectly fine!

Thank you again!

from android-emulator-m1-preview.

hannesa2 avatar hannesa2 commented on May 22, 2024 1

@rostyslavfilipchuk Great, it comes with Android Studio Dolphin | 2021.3.1 RC 1

image

from android-emulator-m1-preview.

hannesa2 avatar hannesa2 commented on May 22, 2024 1

Maybe I additional installed Android Studio Electric Eel parallel as well ?

from android-emulator-m1-preview.

hannesa2 avatar hannesa2 commented on May 22, 2024

To show, that you are not the only one, I show my strong interest too

from android-emulator-m1-preview.

iansampaio avatar iansampaio commented on May 22, 2024

Here for the same reason

from android-emulator-m1-preview.

jkwiecien avatar jkwiecien commented on May 22, 2024

Interested

from android-emulator-m1-preview.

hannesa2 avatar hannesa2 commented on May 22, 2024

I tried it by my own, maybe someone knows an answer https://stackoverflow.com/q/70982896/1079990

During start I see

The root cause

VERBOSE | Could not find SDK version in build.prop, default is: 10000
VERBOSE | autoconfig: -skin HVGA
VERBOSE | autoconfig: -skindir (null)
ERROR   | bad workspace: cannot find prebuilt ranchu kernel in: /Users/hannes/Library/Android/sdk/prebuilts/qemu-kernel/arm/ranchu/kernel-qemu
ERROR   | This AVD's configuration is missing a kernel file! Please ensure the file "kernel-ranchu" is in the same location as your system image.
ERROR   | ANDROID_SDK_ROOT is defined (/Users/hannes/Library/Android/sdk) but cannot find kernel file in /Users/hannes/Library/Android/sdk/system-images/ sub directories

My current unsuccessful solution for first error

after

cp ~/Library/Android/sdk/system-images/android-30/google_apis/arm64-v8a/kernel-ranchu ~/MY/my_car_emu_arm64

Now I see

[    0.184786] uart-pl011 9000000.pl011: no DMA platform data
[    0.185313] Freeing unused kernel memory: 1216K
[    0.207918] cryptomgr_probe (109): highest shadow stack usage: 168 bytes
[    0.215882] Run /init as init process
[    0.216987] init: init first stage started!
[    0.217330] init: Unable to open /lib/modules, skipping module loading.
[    0.217984] init: Using Android DT directory /proc/device-tree/firmware/android/
[    0.218675] init: [libfs_mgr]ReadDefaultFstab(): failed to find device default fstab
[    0.222438] init: bool android::init::BlockDevInitializer::InitDevices(std::set<std::string>): partition(s) not found in /sys, waiting for their uevent(s): system, vendor
[   10.236993] init: Wait for partitions returned after 10013ms
[   10.239044] init: bool android::init::BlockDevInitializer::InitDevices(std::set<std::string>): partition(s) not found after polling timeout: system, vendor
[   10.242109] init: Failed to mount required partitions early ...
[   10.243405] init: InitFatalReboot: signal 6
[   10.253935] init: #00 pc 0000000000302920  /init (UnwindStackCurrent::UnwindFromContext(unsigned long, void*)+96)
[   10.255564] init: #01 pc 0000000000274e88  /init (android::init::InitFatalReboot(int)+208)
[   10.256827] init: #02 pc 0000000000275268  /init (android::init::InstallRebootSignalHandlers()::$_22::__invoke(int)+32)
[   10.258463] init: #03 pc 00000000000005c0  [vdso:0000007f811f1000] (__kernel_rt_sigreturn)
[   10.259719] init: #04 pc 0000000000376884  /init (abort+160)
[   10.260565] init: #05 pc 0000000000277b74  /init (android::init::InitAborter(char const*)+44)
[   10.261705] init: #06 pc 00000000002c4f28  /init (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+76)
[   10.263498] init: #07 pc 00000000002c4748  /init (android::base::LogMessage::~LogMessage()+320)
[   10.264660] init: #08 pc 000000000026ca38  /init (android::init::FirstStageMain(int, char**)+5796)
[   10.265849] init: #09 pc 000000000037571c  /init (__real_libc_init(void*, void (*)(), int (*)(int, char**, char**), structors_array_t const*, bionic_tcb*)+576)
[   10.267716] init: Reboot ending, jumping to kernel
[   10.268635] cfg80211: failed to load regulatory.db
[   10.269356] reboot: Restarting system with command 'bootloader'
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x00000000]
[    0.000000] Linux version 5.4.86-android11-2-00040-g29b2beadc627-ab7157994 (build-user@build-host) (Android (6443078 based on r383902) clang version 11.0.1 (https://android.googlesource.com/toolchain/llvm-project b397f81060ce6d701042b782172ed13bee898b79), LLD 11.0.1 (/buildbot/tmp/tmp6_m7QH b397f81060ce6d701042b782172ed13bee898b79)) #1 SMP PREEMPT Fri Feb 19 11:59:46 UTC 2021
[    0.000000] Machine model: linux,ranchu

from android-emulator-m1-preview.

jesperahlberg avatar jesperahlberg commented on May 22, 2024

Me plus whole team of developers have this issue, very interested in resolution

from android-emulator-m1-preview.

Alvtag avatar Alvtag commented on May 22, 2024

4 months, and a whole project, later - I haven't seen any updates on an ARM image. We dug up our older 2017 intel macbooks for my dev team to use, lol.

from android-emulator-m1-preview.

ssawchenko avatar ssawchenko commented on May 22, 2024

+1 to this, my co-worker had to dig up an old laptop to do his work.

from android-emulator-m1-preview.

OlehKapustianov-TomTom avatar OlehKapustianov-TomTom commented on May 22, 2024

Please help us to create an emulator for ARM-based M1, since we can't find any workaround for the latest Apple Macbooks.

from android-emulator-m1-preview.

Max1809 avatar Max1809 commented on May 22, 2024

I would be also interested whether Google will provide officially an ARM Android Automotive image...

from android-emulator-m1-preview.

gustavodacostamoreira avatar gustavodacostamoreira commented on May 22, 2024

I also need an automotive ARM for mac m1

from android-emulator-m1-preview.

rostyslavfilipchuk avatar rostyslavfilipchuk commented on May 22, 2024

Canary Android Studio has an arm64-v8a image, Android API 32 (Automotive with Play Store). It works on the M1 Pro chip!

from android-emulator-m1-preview.

gustavodacostamoreira avatar gustavodacostamoreira commented on May 22, 2024

@hannesa2 @rostyslavfilipchuk
Not working here

Captura de Tela 2022-09-05 às 12 59 15

from android-emulator-m1-preview.

Igro182 avatar Igro182 commented on May 22, 2024

@hannesa2 Hi!
how did get it to the list. even after update, i'm not getting it:
image

Do i need to get any specific SDK? it seems i tried all of them to no avail.
image

from android-emulator-m1-preview.

iansampaio avatar iansampaio commented on May 22, 2024

I followed the steps above (install Canary, download Sv2 files etc) I'm getting "The skin directory does not point to a valid skin." Does anyone know how to solve this?

image

from android-emulator-m1-preview.

hannesa2 avatar hannesa2 commented on May 22, 2024

I followed the steps above (install Canary, download Sv2 files etc) I'm getting "The skin directory does not point to a valid skin." Does anyone know how to solve this?

This is how it looks like on my side.
image
I guess you should remove this Polestar complete from your installation

from android-emulator-m1-preview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.