Git Product home page Git Product logo

android-emulator-m1-preview's People

Contributors

741g avatar lfy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-emulator-m1-preview's Issues

No Maps UI in emulator

Hi guys, so on my intel based computer the Location section of the emulator is as follows

image

But on my m1 emulator its different and the location section doesnt really work

image

What do I have to do to have the maps ui?
Whenever I try running a x86 image it says Process Terminated and doesn't boot up the emulator

MediaPlayer.setDataSource(path) hangs forever

MediaPlayer.setDataSource(path) hangs forever - there is no exception, it just stays there.

(I know it's an initial preview and it probably has something to do with the media player not working at all, but maybe it's useful).

Emulator does not start (wrong dylib path)

I have tried to run this on Apple Silicon macOS 11.0.1 (20B29). After moving to Application folder it was bouncing for a while, then got blocked by macOS (unknown dev). After allowing it in Security settings it does not start at all.

No error messages.
No processes in Activity Monitor.
No logs in Console (I think, not sure where to look).

Any way I can try to debug this?

APK failed to install

The APK failed to install.
Error: INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113

I'm a developer of server ,how can i fix it without changing apk package 😭

Hangs when selecting adb folder

When unchecking use detected adb location and pressing the folder icon it opens the finder window. Then about 100ms after that, it hangs and you can't select any folder.

Running on M1 Macbook air.

In the mean time is there any other way to get it to load the correct adb path without using this finder file select?

Attempting to change ADB path causes spinning wheel of death

I hadn't downloaded ADB so it didn't detect a location, once I had downloaded I couldn't then manually select a location as it pinwheels and I have to kill the app. It isn't possible to simply type into the path box either.

M1 MacBook Air, 16GB / 512GB, macOS 11.1

Browsing folder path results in freeze

Whenever I try to browse to a path in the emulator settings the emulator freezes. This happens on both folder icons for "Screenshot Save Location" and "Use Detected ADB Location".

No android TV support on M1 Mac

As we are developing an app for Android TV and when I try to run the TV emulator from the android studio in Macbook Pro M1, I am getting only one thing the AVD process was killed. I tried all the possible ways to overcome the issue, free up almost 50+ GB of space. But in the end, nothing works. I am trying to run this on the ARM structure. Please tell me, what should I do now?

No Google Play Store

There is google play store, so we cannot test for google maps etc.

How to install play store in emulator.

Is writable-system supported?

Hello, is the writable-system option supported? If so, how can I pass it to the emulator? I can't see it in the config.ini file.
And thank you for your work! 😄

No internet access

Can't connect to internet on my emulator when my MAC M1 is connected to personal hotspot on my iPhone.

Root the emulator

Hello, is there any way to root the emulator please? Thank you 👍

How do i open it please help

I dragged the download to application and all of the instructions and its opening something called "emulator" help

The GPS Location is not working

Can't able to fetch location
Location Feature is not working
it is asking for the permission the after that it is stuck on fetching the location

Screenshot resulting in blank PNG

Whenever I try to make a screenshot the result is an "empty" or "white" PNG File. This is independant from the choosen resolution, density or open app.

Example:
Screenshot_1607602370

webview cann't load any url.

webview cann't load any url.
return net::ERR_CLEARTEXT_NOT_PERMITTED

Name: <build>
CPU/ABI: arm64
Path: /Applications/Android Emulator.app/Contents/MacOS/api30-gphone-arm64-v8a
Target: google_apis [Google APIs] (API level 30)
Skin: 1080x1920
SD Card: <none>
avd.ini.displayname: s
avd.ini.encoding: UTF-8
disk.dataPartition.size: 2048M
fastboot.chosenSnapshotFile: 
fastboot.forceChosenSnapshotBoot: no
fastboot.forceColdBoot: yes
fastboot.forceFastBoot: no
hw.accelerometer: yes
hw.arc: false
hw.audioInput: yes
hw.battery: yes
hw.camera.back: virtualscene
hw.camera.front: emulated
hw.cpu.ncore: 2
hw.dPad: no
hw.device.hash2: MD5:55acbc835978f326788ed66a5cd4c9a7
hw.device.manufacturer: Google
hw.device.name: pixel_2
hw.gps: yes
hw.gpu.enabled: yes
hw.gpu.mode: auto
hw.initialOrientation: Portrait
hw.keyboard: yes
hw.lcd.density: 420
hw.lcd.height: 1920
hw.lcd.width: 1080
hw.mainKeys: no
hw.ramSize: 2048
hw.sdCard: no
hw.sensors.orientation: yes
hw.sensors.proximity: yes
hw.trackBall: no
runtime.network.latency: none
runtime.network.speed: full
showDeviceFrame: yes
tag.display: Google APIs
tag.id: google_apis
vm.heapSize: 256

screenshot

Could it use camera?

when I open camera, it is showing like this, could it use the camera from my computer's camera?
Screenshot_1609996847

Secondary screen not showing.

To be honest, I don't know if I am doing something wrong here or if this is a bug.

I am trying to setup a second screen, mainly cause the resolution of the primary screen can not be customized. The second screen is never shown in the emulator, independant from using a custom or preset resolution.

Can't edit emulator's density

I'm trying to create an emulator with a different density , but whenever i assign a new value for hw.lcd.density which isn't 420 (the default value) the emulator won't open

32 bit ARM support?

I know macOS does not support 32-bit apps after version 10.15. But do we have any chance to run 32-bit apps in the Android Emulator either native or emulating? Thanks.

Audio

@741g
Related to this change, does the audio should works now ?
I observed neither audio-out, nor audio-in works. But I only tested with first version

Build own Emulator/engine

Following this https://github.com/741g/android-emulator-m1-preview#building-the-engine on a Ubuntu 20.04 and macOS 12.0.1 I run into this

hannes@Latitude aosp $ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
Cloning into 'depot_tools'...
remote: Sending approximately 33.41 MiB ...
remote: Total 47584 (delta 35512), reused 47584 (delta 35512)
Receiving objects: 100% (47584/47584), 33.41 MiB | 9.37 MiB/s, done.
Resolving deltas: 100% (35512/35512), done.
hannes@Latitude aosp $ pwd
/home/hannes/aosp
hannes@Latitude aosp $ ~/.bashrc
-bash: /home/hannes/.bashrc: Permission denied
hannes@Latitude aosp $ vi ~/.bashrc
hannes@Latitude aosp $ pwd
/home/hannes/aosp
hannes@Latitude aosp $ vi ~/.bashrc
hannes@Latitude aosp $ source ~/.bashrc
hannes@Latitude:~/aosp$ mkdir emu
hannes@Latitude:~/aosp$ cd emu
hannes@Latitude:~/aosp/emu$ repo init -u https://android.googlesource.com/platform/external/qemu --depth=1
Downloading Repo source from https://chromium.googlesource.com/external/repo
remote: Counting objects: 287, done
remote: Total 7669 (delta 4924), reused 7669 (delta 4924)
Receiving objects: 100% (7669/7669), 3.63 MiB | 7.92 MiB/s, done.
Resolving deltas: 100% (4924/4924), done.
repo: Updating release signing keys to keyset ver 2.3
Downloading manifest from https://android.googlesource.com/platform/external/qemu
remote: Counting objects: 2633, done
remote: Finding sources: 100% (2633/2633)
remote: Total 2633 (delta 500), reused 1724 (delta 500)
Receiving objects: 100% (2633/2633), 6.06 MiB | 7.31 MiB/s, done.
Resolving deltas: 100% (500/500), done.
fatal: manifest 'default.xml' not available
fatal: manifest default.xml not found
hannes@Latitude:~/aosp/emu$ repo sync -qcj 4
fatal: error parsing manifest /home/hannes/aosp/emu/.repo/manifest.xml: [Errno 2] No such file or directory: '/home/hannes/aosp/emu/.repo/manifest.xml'

any ideas ?

Install build-tools: emulator not found

When I try to install the build-tools on my M1 Mac, I get an error saying that the emulator does not exist and is a dependancy. Is the emulator published in some channel that I can use when installing the build-tools? Or can I install the build-tools without the emulator?

When I run for example

sdkmanager "build-tools;30.0.3"

I get

Warning: Dependant package with key emulator not found!
Warning: Unable to compute a complete list of dependencies.

I don't need the actual emulator, I only need to build my project and run it on a physical device

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.