Google android emulator linux

Arch Linux User Repository

Search Criteria

Package Details: android-emulator 30.9.5-1

Package Actions

Git Clone URL: https://aur.archlinux.org/android-emulator.git (read-only, click to copy)
Package Base: android-emulator
Description: Google Android Emulator
Upstream URL: https://developer.android.com/studio/releases/emulator.html
Keywords: android development
Licenses: custom
Submitter: dreamingincode
Maintainer: dreamingincode
Last Packager: dreamingincode
Votes: 50
Popularity: 0.53
First Submitted: 2017-04-19 07:06
Last Updated: 2021-10-23 23:29

Dependencies (20)

Required by (2)

Sources (4)

Latest Comments

dreamingincode commented on 2021-06-18 21:42

Re aquatic7: makepkg worked fine for me locally and I checked the checksums in PKGBUILD v.s. manually running sha1sum, both are correct. Maybe you did have a bad download?

aquatic7 commented on 2021-06-18 18:28

Building android-emulator. ==> Making package: android-emulator 30.6.5-1 (fre 18 jun 2021 20:26:33 CEST) ==> Checking runtime dependencies. ==> Checking buildtime dependencies. ==> Retrieving sources. -> Found emulator-linux_x64-7324830.zip -> Found android-emulator.sh -> Found android-emulator.csh -> Found package.xml ==> Validating source files with sha1sums. emulator-linux_x64-7324830.zip . Passed android-emulator.sh . FAILED android-emulator.csh . Passed package.xml . FAILED ==> ERROR: One or more files did not pass the validity check! Failed to build android-emulator

mynacol commented on 2021-04-19 18:36

Please follow the instructions on the Arch Wiki. As this is not an instructions or support channel I won’t help you here. Please ask your questions on more suitable platforms.

Erz3 commented on 2021-04-18 23:26

I am not developer and I am not an exeperienced Linux user, so forgive me if my question is stupid.

I was looking for an Android emulator to run mobile games, but I have installed «android-emulator» and I don’t know how to work with it.

Thanks in advance.

dreamingincode commented on 2021-03-31 04:31

emulator 30.6.1 is still in another channel (channel-3, seems to be canary chacnnel) as of writing. See https://dl.google.com/android/repository/repository2-1.xml . Please only flag this package out of date when there’s an update on channel-0 (the stable channel).

thotypous commented on 2021-02-14 04:19

android-emulator 30.3.5 crashes with SIGSEGV for me due to sysconf(_SC_LEVEL1_ICACHE_LINESIZE) returning -1, whereas qemu expects it to return 0 in case of failure. This is actually fixed in latest qemu, but android-emulator 30.3.5 comes with outdated qemu.

To fix the issue, one needs to patch the /opt/android-sdk/emulator/qemu/linux-x86_64/qemu-system-aarch64 binary and modify bytes starting at offset 0x4e5641 to bb 40 00 00 00 89 d8 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 .

This is equivalent to inserting the following instructions (followed by a bunch of nops) in place of the calls to sysconf.

galaxy0419 commented on 2020-09-04 14:57

Upgrading to 30.0.26 still showing the version is 30.0.12

Читайте также:  Утилиты root для андроид

dreamingincode commented on 2020-05-09 20:15

I personally didn’t see those warnings, and if this is not related to AUR packaging you might want to ask it somewhere else.

Regarding «-bin», I didn’t see any official guideline/requirement saying that packages not built from source code must have that suffix. (See https://wiki.archlinux.org/index.php/Arch_package_guidelines#Package_naming ), and currently none of all the Android SDK packages have that suffix. If people actually use Android SDK built from source, we might be able to move all the Android SDK packages into official repo. I’ll be happy to rename this package for disambiguation in that case.

greyltc commented on 2020-05-09 14:58

When I run a virtual device with the emulator, it makes a bunch of complaints about Vulkan, for example Emulator: VK_VERSION_1_1 check failed: vkCmdSetDeviceMask not found

Is this missing some configuration to work with Arch’s MESA/vulkan libs or something?

Also, shouldn’t this package be changed to have a -bin suffix? Either that or it should be compiled here it seams.

mynacol commented on 2019-10-27 12:29

The file is «generated» or «placed there» by sdk-manager. If I install a fresh android-sdk with the sdk-manager, every component/package gets a package.xml and I simply copied it.

A strange effect: every other package (platform, platform-tools, build-tools etc.) has also a package.xml similar to the one for android-emulator, but those packages get noticed by android-studio without the package.xml file. The android-emulator is the only one (I know of) that requires the package.xml file to be noticed by android-studio.

To support android-studio, we have to include a package.xml file and keep it updated — the simplest way would be to download android-emulator with sdk-manager to get the newest package.xml and by the way the link to the android-emulator package. Changes to the given dependencies in a newer package.xml could be reflected by fittng «depends» clauses in the PKGBUILD.

Copyright © 2004-2021 aurweb Development Team.

AUR packages are user produced content. Any use of the provided files is at your own risk.

Источник

4 лучших эмулятора Android для Linux

Android использует ядро Linux, поэтому запуск эмулированной версии одной ОС в другой вполне логичен. Вот четыре лучших эмулятора Android, которые можно использовать.

1. Android-x86

Проект Android-x86 предназначен не только для эмуляции. Это альтернатива запуску Windows или Linux на вашем ПК или ноутбуке и порт Android на архитектуру x86 CPU, в отличии от смартфонов, в которых используются более легкие и маломощные ARM-процессоры.

Поскольку Android-x86 был портирован для работы на типичном ПК, это означает, что вы можете запустить Android-x86 как виртуальную машину с помощью VirtualBox или VMware. Вот почему это хороший вариант для эмуляции Android.

Магазин Google Play поставляется с Android-x86, то есть вы можете установить все свои любимые приложения сразу же после настройки виртуальной машины. Однако, есть одно предупреждение: не все приложения для Android будут работать на платформе x86 PC.

Android-x86 находится в активной разработке, поэтому вы можете ожидать регулярных улучшений и возможностей, а также оптимизации скорости и производительности.

2. ARChon

Вам не нужно запускать виртуальную машину, чтобы ваши приложения для Android работали на Linux. Благодаря проекту ARChon вы можете запускать приложения для Android в веб-браузере Chrome. ARC в названии означает Android Runtime for Chrome — миниатюрная среда Android для ваших приложений.

ARC сам по себе является созданием Google, ранней тестовой средой для запуска приложений Android на Chrome OS. Этот же принцип применим и к ARChon, который использует элементы ARC с открытым исходным кодом для запуска модифицированной версии в браузере Chrome. Просто установите модифицированный ARChon в Chrome в качестве расширения разработчика, а затем добавьте другие приложения с помощью инструмента расширения APK в Chrome, предоставляемого разработчиком ARChon.

Читайте также:  Андроид приставка для телевизора мистик

Вы не получите здесь Google Play, и не каждое приложение окажется стабильным. В остальном ARChon является хорошим решением для вас, чтобы запустить некоторые приложения на вашем компьютере с Linux без использования виртуальной машины.

3. Anbox – Android in a Box

Виртуальные машины предлагают прямой подход к эмуляции Android. Anbox (Android in a Box) пытается сделать что-то совсем другое. Он работает как контейнер Linux, предоставляя общий доступ к ядру и ресурсам, оставаясь при этом изолированным.

Поскольку Anbox разделяет ядро хоста и предоставляет прямой доступ к аппаратным средствам, это намного более быстрый способ заставить приложения Android работать на вашем ПК. Производительность выше, а благодаря контейнерному подходу она безопасна — вы не рискуете запустить незащищенные приложения.

В комплект поставки Google Play Store не входит, поэтому вам придется искать и устанавливать приложения вручную. Потребность в ресурсах вашего ПК будет ниже, чем при использовании виртуальной машины для эмуляции.

4. Genymotion

Genymotion —это коммерческий продукт, в котором виртуальные машины Android доступны в виде облачных образов или виртуальных машин локальных компьютеров с использованием Virtualbox. Он поставляется со многими уникальными элементами тестирования, такими как поддельные GPS и отчеты о заряде аккумулятора, поэтому он полезен для разработчиков и инженеров-испытателей. В комплект поставки также входит возможность стандартной установки Служб Google Play.

Спасибо, что читаете! Подписывайтесь на мои каналы в Telegram, Яндекс.Мессенджере и Яндекс.Дзен. Только там последние обновления блога и новости мира информационных технологий.

Респект за пост! Спасибо за работу!

Хотите больше постов? Узнавать новости технологий? Читать обзоры на гаджеты? Для всего этого, а также для продвижения сайта, покупки нового дизайна и оплаты хостинга, мне необходима помощь от вас, преданные и благодарные читатели. Подробнее о донатах читайте на специальной странице.

Заранее спасибо! Все собранные средства будут пущены на развитие сайта. Поддержка проекта является подарком владельцу сайта.

Источник

Top Android Emulators to Run and Test Android Apps on Linux

Last updated July 21, 2021 By Ankush Das 8 Comments

Android is built on top of a heavily customized Linux kernel. So, running mobile apps on Linux makes sense using an Android emulator.

While this is not something new that you can do on your Linux machine, it is a feature more in demand after Windows introduced the ability to run Android apps in 2021.

Not just limited to using apps, some of the Android emulators can also come in handy for development and testing.

Hence, I have compiled a list of the best emulators that you can use to test or run Android applications/games on Linux.

1. Anbox

Anbox is a pretty popular emulator that lets Linux users run Android apps. Probably this is what Deepin Linux utilizes to make help run Android apps out of the box.

It isolates the Android operating system from the host using a container, which also lets them make the latest Android version available to use.

Android apps running will not have direct access to your hardware—which is a good security decision.

Unlike some of the other options here, Anbox does not technically need an emulation layer to make Android work. In other words, it is as close to a native Android experience on your Linux system.

Читайте также:  Алгоритмы tcp для android

For this reason, it may not be the easiest option available. You cannot just use the Google Play Store to install applications, you need to utilize Android Debug Bridge (ADB). All you need is the APK file of an app to install and use it.

2. Genymotion

Genymotion is an impressive solution tailored for testing and development.

It is not a free and open-source option. They provide virtual Android experiences as a service through the cloud or a desktop client that is independent of Android Studio.

You can simulate a variety of hardware configurations and Android versions to create a virtual device for testing. It also gives you the ability to scale up and has multiple Android virtual devices running for extensive tests.

It can help you test how file uploading works in your app, impacts battery, performance, memory, and so on.

While it is a premium solution mostly for professionals, it does support the latest Linux distributions that include Ubuntu 20.04 LTS.

3. Android-x86

Android x86 is an open-source project to make Android run on a PC with 32-bit support.

You can choose to install it using a virtual machine manager on your Linux system or directly try it on your PC.

Official installation instructions are available if you need to go ahead.

Unlike some other options, it is a simple emulator that tries to work on a PC with no fancy features.

4. Android Studio (Virtual Devices)

Android Studio is a full-fledged tool for development and testing. Fortunately, with the support for Linux, you can use it to emulate the Android experience for experiments if you need to.

You just need to create an Android Virtual Device (AVD) that you can configure and then simulate as an emulator.

There are good chances to find support for some of the latest smartphones, TVs, and smartwatches as well.

It needs a certain learning curve to be able to pull it off, but it is free and completely open-source.

5. ARChon

An interesting solution is an Android emulator that you can use in Linux and any other platform.

It helps run Android apps on Chrome OS or with Chrome browser on any operating system. Unlike some others, you may not get a complete Android experience but only the ability to run Android apps.

You just have to unpack the runtime and load it into Chrome extensions. Next, add the app you want to use by downloading the APK file onto it.

6. Bliss OS

Bliss OS is yet another open-source project, similar to Android x86 that aims to make Android run on PC.

Unlike Android x86, it gives more compatibility options by supporting both 32-bit and 64-bit architectures. Also, you can download the compatible file as per your processor.

It is actively maintained and supports the latest Android versions available in the market.

Wrapping Up

While you will find several Android emulators available for Linux, they may not replace a full-fledged smartphone experience.

Every emulator comes with a set of features along with a specific purpose. Choose the one that you need!

Have you tried Android emulators yet? What’s your favorite emulator that you have used in Linux? Feel free to let me know in the comments down below.

Like what you read? Please share it with others.

Источник

Оцените статью