Skip to content

Snappy1

  • Home
  • Android
  • What
  • How
  • Is
  • Can
  • Does
  • Do
  • Why
  • Are
  • Who
  • Toggle search form

[FIXED] python – Beeware – “Unable to obtain Android emulator list” on Mac

Posted on November 11, 2022 By

Solution 1 :

if you are running on an M1 machine, this is the solution. The emulator needs to be updated, because by default it comes in Intel flavor (Darwin) and needs Arm architecture.

  1. Head to ~/.briefcase/tools/android_sdk/emulator,
  2. download the m1-preview engine from
    https://github.com/google/android-emulator-m1-preview/releases/tag/0.2
    (https://github.com/google/android-emulator-m1-preview/releases/download/0.2/emulator-darwin-aarch64-0.2-engine-only.zip)
  3. unzip the zip file
  4. cp -r emulator-darwin-aarch64-0.2-engine-only/* .
    (Note: There is a darwin-aarch64-replace.sh file inside the zip file that you can inspect to see what a proper update should look like if it didn’t fail because it tries to delete non-existing files and folders)

if you try to run ./emulator it will fail because the environment variables are not set, so try again: briefcase run android and you will be rewarded with:

Select device:

  1) @Pixel_3a_API_31_arm64-v8a (emulator)
  2) Create a new Android emulator

Problem :

I am trying to run an android app created by BeeWare and python on MacOS. I run

briefcase run android

and I get the following message

Unable to obtain Android emulator list

What’s going on here? What can I do to find and run the emulator?

READ  [FIXED] macos - Android Studio Dolphin Crashing on Startup Mac M1 Monterey
Powered by Inline Related Posts
Android Tags:android-emulator, apple-silicon, beeware, macos, python

Post navigation

Previous Post: [FIXED] android – W/Firestore: (24.1.2) [CustomClassMapper]: No setter/field for about found on class
Next Post: [FIXED] android – FusedLocationProviderClient and LocationCallback() object queries

Related Posts

[FIXED] java – NestedScrollView doesn’t show up in AlertDialog Android
[FIXED] How to include nested navigation graph using Kotlin with Android Navigation Component Android
[FIXED] Where to make API’s requests while using MVVM architecture in android? Android
[FIXED] android – Using Zip4j library give warning error in play console how to resolve? Android
[FIXED] Android Drawable Importer plugin not working in Android Studio 3.6 Android
[FIXED] android – java.lang.NullPointerException: Attempt to invoke virtual method ‘.getPackageName()’ on a null object reference Android

Archives

  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022

Categories

  • ¿Cómo
  • ¿Cuál
  • ¿Cuándo
  • ¿Cuántas
  • ¿Cuánto
  • ¿Qué
  • Android
  • Are
  • At
  • C'est
  • Can
  • Comment
  • Did
  • Do
  • Does
  • Est-ce
  • Est-il
  • For
  • Has
  • Hat
  • How
  • In
  • Is
  • Ist
  • Kann
  • Où
  • Pourquoi
  • Quand
  • Quel
  • Quelle
  • Quelles
  • Quels
  • Qui
  • Should
  • Sind
  • Sollte
  • Uncategorized
  • Wann
  • Warum
  • Was
  • Welche
  • Welchen
  • Welcher
  • Welches
  • Were
  • What
  • What's
  • When
  • Where
  • Which
  • Who
  • Who's
  • Why
  • Wie
  • Will
  • Wird
  • Wo
  • Woher
  • you can create a selvedge edge: You can make the edges of garter stitch more smooth by slipping the first stitch of every row.2022-02-04
  • you really only need to know two patterns: garter stitch

Recent Posts

  • What is the rising action in Julius Caesar?
  • How do you secure a rope to itself?
  • Does waterproof laminate scratch easily?
  • What makes a building prewar?
  • What can you learn in a month without alcohol?

Recent Comments

No comments to show.

Copyright © 2023 Snappy1.

Powered by PressBook Grid Dark theme