- # Deploy an Application
- # Applications for x86
- # Drag and Drop
- # Google Play Store
- # Command line (ADB)
- # Applications for ARM
- # 1. Install the ARM translation tools
- # 2. Verify the ARM translation tools installation
- # 3. Install the Application
- Installing ARM Android apps on Genymotion devices
- Arm translation tool genymotion android 9
- [GUIDE] Genymotion | Installing ARM Translation and GApps[Updated Nov.16]
- Breadcrumb
- japzone
# Deploy an Application
This section describes how to install applications for x86 or arm (32bit only).
# Applications for x86
Genymotion Desktop virtual devices architecture is x86 — applications for x86 can be installed «out of the box» using one of the following methods:
# Drag and Drop
Drag and drop an APK file to the virtual device display to install it:
# Google Play Store
You need to install Open GApps package to get Google Play Store:
- Install Open GApps.
- Open the Play Store.
- Configure your Google account.
- Search and install your application.
If the application cannot be found or if it says «Your device is not compatible», it may mean that your application has been compiled for ARM only. See Applications for ARM for more details.
# Command line (ADB)
Run the following command: adb install .apk . For more information, see ADB
# Applications for ARM
Genymotion Desktop virtual devices architecture is x86 (32-bit) — if your application is available or has been compiled for ARMv7 only, you must install ARM translation libraries to deploy and run it.
ARM translation libraries can only interpret applications for arm (32bit, armv7). It does not work with applications for arm64/aarch64 (armv8).
# 1. Install the ARM translation tools
- For legal reasons, we cannot distribute any ARM translation tools.
- Using ARM translation tools with Genymotion Desktop is not officially supported — we cannot guarantee Genymotion operations nor provide technical support in this case. Do it at your own risks!
- There are no ARM translation tools for Android 10 and above.
The easiest method is to use Drag’n Drop:
- Drag’n drop the ARM translation tools .zip file to the device display.
- Once done, reboot the device or close and restart it.
It is also possible to do it by command line, with ADB:
Command line (ADB)
- Upload and flash the ARM translation tools zip file:
- Reboot the device with adb reboot
# 2. Verify the ARM translation tools installation
You can use a third party application, such as Device Info, and verify that the available instruction sets (supported ABIs) are x86, armeabi-v7a, armeabi .
Or you can use the following ADB command:
This should return x86,armeabi-v7a,armeabi .
# 3. Install the Application
Follow the same steps as Applications for x86 to deploy the application.
To install applications for ARM from Google Play Store, the ARM translation tools must be installed before the Open Gapps package.
Источник
Installing ARM Android apps on Genymotion devices
Hi, this is a quick tip for anyone interested in testing the security of Android apps without using a physical device.
Genymotion is generally recommended over using the Android SDK emulator provided with Android Studio, because it is more performant.
Only Genymotion is x86-based, so if you try to install an app including ARM code on any Genymotion device, you will get this error that you wouldn’t have on a physical device:
An error occured while deploying the file.
This probably means that the app contains ARM native code and your Genymotion device cannot run ARM instructions. You should either build your native code to x86 or install an ARM translation tool in your device.
This will prevent you from installing a lot of apps that you may need for bug bounty hunting like Twitter, Netflix, Pinterest, Snapchat, etc.
The solution is simply to install ARM translation on the emulated device:
- Download the right ARM translation archive for your device’s Android version. For Android 8, I used ARM_Translation_Oreo.zip.
- Drag and drop the .zip file to the device’s unlocked screen and click on OK when asked for confirmation
Now you should be able to install any app even if it has ARM code.
For the little story, until now I only used physical devices for testing mobile apps. I switched recently to Genymotion and was surprised at the little amount of information on this error.
Most tutorials mention the Genymotion-ARM-Translation_v1.1.zip version which dates back a little and didn’t work for me.
The version mentioned above which worked is referenced in a chinese tutorial!
I didn’t check the archive’s contents, so be careful not to install it on a device that contains any sensitive data or apps.
This shouldn’t be a problem if you’re only using these devices to test apps with dummy data and accounts.
If you know of other ways to run ARM apps on Genymotion, you’re welcome to share them in the comments. I would gladly update this blog post to add them.
Also, let me know if you have a comment, suggestions, requests for tutorials, questions, etc.
Источник
Arm translation tool genymotion android 9
Описание: Genymotion — быстрый эмулятор Android, который включает в себя настроенные образы Android (x86 с аппаратным ускорением OpenGL), идеальный для тестирования приложения. Этот проект вырос из старого AndroidVM, и в сравнении с ним Genymotion имеет новый дизайн плеера, установщик и многое другое.
Как говорят разработчики, цель продукта — заменить эмулятор Android от Google не только разработчикам Android, но и людям, которые делают демонстрации приложений Android.
Genymotion доступен для Linux, Windows и Mac OS X и требует VirtualBox. Код виртуальный машин открыт, но софт, который работает на хосте, бесплатен для использования, но его исходный код закрыт. В будущем Genymotion будет иметь бесплатную версию со множеством возможностей, но также будут доступны платные версии, в основном для больших компаний, которым нужна совместная работа над Genymotion.
- Быстрая загрузка и запуск предварительно настроенных образов Android. Список устройств постоянно расширяется.
- GPS (с настраиваемыми координатами) и батарея (с настраиваемым уровнем батареи)
- Отображение: аппаратное ускорение с OpenGL, режим полноэкранного просмотра
- Консоль, которая позволяет вам взаимодействовать с вашей виртуальной машиной, используя командную строку
- Поддержка ADB
- Эмуляция передней и задней камеры
- Функции скринкаста и удаленного управления (в коммерческой версии)
- Плагины к Eclipse и Android Studio
- Поддерживает Linux, Windows и Mac.
- В будущих релизах ожидается появление новых сенсоров: гироскоп, яркость экрана, температура, вектор поворота и многое другое.
- Работает на порядок быстрее эмуляторов от Google (не только на процессорах Intel)
- Общий буфер обмена виртуального устройства и ПК
- Возможность редактирования IMEI/MEID виртуального устройства (в коммерческой версии)
- Pixel Perfect — режим отображения, при котором 1 пиксель экрана устройства будут отображаться с использованием только одного пикселя на вашем мониторе (в коммерческой версии)
- Factory Reset — полный сброс виртуального устройства (в коммерческой версии)
- Дублирование образа в списке виртуальных устройств (в коммерческой версии)
- Редактирование количества процессоров (CPU) и количества оперативной памяти (RAM) в настройках виртуального устройства.
- Контроль датчиков в коде приложения через Genymotion Java API (в коммерческой версии)
- Автоматическое обновление образов для новой версии программы (в коммерческой версии)
- Генерирование архива log файлов при обращении в тех поддержку
- Сохранение настроек GPS виджета до следующего запуска (в коммерческой версии)
- Исправления ошибок падения эмулятора, добавлена информация в логах.
- Эмуляция работы интернета через GPRS, Edge, 3G, 4G и пр.
Новые возможности:
- Виджет эмуляция голосовых звонков (в коммерческой версии)
- Исправлена ошибка вылета программы при выходе системы из сна, ошибка неправильной настройки сетевого соединения, мултитач и поворот в некоторых приложениях и другие исправления
- Исправлены образы устройств с исправлением множества ошибок
Из недостатков стоит отметить:
- Нет эмуляции голосовых вызовов . Есть в коммерческой версии.
- Не на всех процессорах поддерживаются приложения на Adobe Air Mobile, Unity3D, без поддержки архитектуры х86
Требования: Windows 32/64 bits, Mac OS X 64, Linux 32 bits (Ubuntu, Fedora, Redhat), Linux 64 bits (Ubuntu, Fedora, Redhat), Linux Debian 64
Русский интерфейс: Нет
Разработчик: Genymobile
Домашняя страница:http://www.genymotion.com/ (для скачивания требуется простая регистрация)
Не спрашивайте здесь, почему не работает та или иная игра. Разработчиков этого эмулятора здесь нет. Скорее всего игра написана на Adobe Air Mobile, Unity3D или в ней нет поддержки архитектуры х86. Так же смотрите параметры виртуализации и пр., возможно причина в вашем процессоре. Для игр используйте эмулятор BlueStacks App Player — он для этого и разрабатывается. Genymotion адаптирован больше для работы и демонстрации приложений.
Внимание! Для работы программы требуется обновить VirtualBox до версии 4.2.12 или выше
Сообщение отредактировал alexvozn — 07.09.21, 14:34
Как оперативно тема появилась 🙂
Правда за день до того как узнал о этом виртуализаторе или эмуляторе Андроида.
Подсказал Vlad_Romanov разработчик (Windows) Android Application Installer в посте #91
Из того что успел посмотреть и узнать о Genymotion:
— Перед установкой VirtualBox лучше закрыть все, лишние программы ( не знаю изза какой именно Outpost, Checkpoint VPN, Dropbox, Skype, Miranda и еще с десяток, но пока все не выключил получал синий экран смерти, когда VirtualBox устанавливал свои драйвера) Те что не мог зарыть, убивал через диспетчер задач.
— Как уже давно известно на одной машине не могут одновременно находиться VitrualBox и эмулятор андроида YouWave, приходится выбирать или тот или другой.
— По умолчанию образы которые скачивает Genymotion имеют 512 RAM, изза этого виртуалка очень тормозила, но через VirtualBox можно увеличить количество оперативной памяти до 1024 и более, станет чуть по легче. Так же можно попробовать увеличить мощность этой виртуалки, добавив процессора, видео памяти и прочего.
— После изменений в VirtualBox можно протестировать оптимально ли настроено, открыв настройку этой виртуалки еще раз. Производится автоматический тест установленных параметров и дается подсказка если включены не оптимальные опции замедляющие работу.
— В самом Genymotion можно найти конфигурационное приложение, которое должно включать root, статический свой IP, отключать Hardware OpenGL, и другое. ( к сожалению применить настройки так и не удалось, после перезагрузки восстанавливались предыдущие настройки)
— Тесты AnTuTu Benchmark показали 18к, но это только за счет процессора. Видео (3d) показывало жалкие показатели около 900, тогда как SGS4 показал 9к. Что для игр очень критично. Тесты OpenGL показывали всего 9 fps. (конечно все зависит от ПК, но не думаю что Acer Aspire 6920G-934G32Bn такой уж слабый ноутбук)
Как еще оптимизировать эту виртуалку, чтобы игры не лагали и процессор не был загрузен на все 100% даже когда запускаешь самую простеньку типа Avatar Fight HD в которой даже нет никакой 3D графики?
Установилось все без проблем. Outpost-a конечно не было, был PC Tools FireWall Plus 7
Наверное зависит, какой образ скачать с репозитория. При скачивании и добавлении нового устройства выдаются параметры виртуалки в т.ч. показывается и количество RAM. По умолчанию у меня сразу стаяло 1 Гб (при 4 Гб на ПК)
При перезапуске эмулятора все сбрасывается. Нужно делать непосредственно перезагрузку вируалки. Т.е. не закрывать само окно плеера образа и ждать, пока Android перезагрузится.
Хорошая идея, понравилось.
Некая странность: зарегистрировался, подключился, скачались и установились образы.
Запускаю в Genymotion виртуальный андроид. Все запускается, вижу просто черный экран с кнопками и индикаторами по правому краю. Экран ни на что не реагирует. В Virtualbox вижу запущенную виртуальную машину, на превьюшке — экран запущенного андроида, сессия ВМ заблокирована.
Если выключить ВМ и запустить ее не в Genymotion, а в Virtualbox — все работает. Кнопки нажимаются, экран реагирует, программы запускаются. Глубоко не тестировал.
— То, что я могу управлять виртуальным Андроидом только через оболочку Virtualbox, а в Genimotion не могу, вижу только черный экран — так и должно быть? Или я что-то делаю неправильно? Как заставить работать управление в Genymotion?
— Есть ли образы под Андроид 2.3 с 512 мб. памяти? (у меня слабые ПК, а хочется иногда тестировать софт).
Сообщение отредактировал Miller777 — 13.08.13, 19:29
Не должно. Должно запускатся с Genimotion оболочки. Нажимаете Play — в начале черный экран с надписью «Android» а затем и отображается home screen. Какая у вас ОС, параметры ПК?
Источник
[GUIDE] Genymotion | Installing ARM Translation and GApps[Updated Nov.16]
Breadcrumb
japzone
Senior Member
UPDATE May 28th, 2017: This guide is no longer supported and probably doesn’t work. Please don’t use it or ask for support anymore.
———————————————————————————————————— Genymotion is a Virtual Android Environment built on x86 and Virtualbox. It’s not an ARM emulator so it’s performance is way better than the Android SDK Emulator. However in their latest update they’ve removed both ARM Translation and Google Play Apps. (This is what causes the «INSTALL_FAILED_CPU_ABI_INCOMPATIBLE» errors) Many Devs and Users still find these features very useful for various reasons and their removal has forced people to look for alternatives to Genymotion.
This guide is for getting back both ARM Translation and Google Play apps in your Genymotion VM.
ATTENTION(April 11th): Sadly Dropbox has informed me I’ve surpassed reasonable Bandwidth Usage and has temporarily disabled my Public Links. I don’t blame them considering I’ve reached a steady 1400+ downloads per day, which equals an impressive 12.5+GB of bandwidth per day. Part of this is probably because people started Hot Linking my file for their guides. So for the foreseeable future I can’t provide direct downloads of the ARM Translation, but I’ll have plenty of Mirrors. I’m sorry to the numerous people that created Guides in numerous languages, since I have to kill the link in your Guides. Please don’t hesitate to use one of my new links.
PS: I’m sorry if I haven’t been very talkative and helpful lately. Work has been piling up and sleep is decreasing. Plus my computer is being «difficult«. Haven’t had a chance to even update Genymotion to v2.2.0. I hope I’ll be able to get back into the dirt soon.
Note(Feb 2nd): Contrary to previous reports, it’s been discovered that Android 4.4 does in fact work with ARM Translation, although it is buggy. Follow the steps the same as before, just make sure you download the 4.4 GApps.
UPDATE-v1.1: I’ve gotten more up-to-date builds of libhoudini and have updated the ZIP. This fixes a lot of app crashes and hangs. Just flash the new one and it should work.
- Download the following ZIPs:
- ARM Translation Installer v1.1 Hosted by FILETRIP(Mirrors) — If you have issues flashing ARM Trnaslation, Try re-downloading from a mirror
- Download the correct GApps for your Android version:
If you have issues flashing GApps, Try re-downloading from a mirror- Google Apps for Android 4.4(Mirror)(Download from CM11 Links)(4.4 GApps might be buggy)
- Google Apps for Android 4.3(Mirrors)
- Google Apps for Android 4.2
- Google Apps for Android 4.1
- Next Open your Genymotion VM and go to the Homescreen
- Now Drag&Drop the Genymotion-ARM-Translation.zip onto the Genymotion VM window.
- It should say «File transfer in progress», once it asks you to flash it click ‘OK’
- Now Reboot your VM using ADB or an app like ROM Toolbox. If nescessary you can simply close the VM window, but I don’t recommend it.
- Once you’re on the Homescreen again Drag&Drop the gapps-jb-20130813-signed.zip(or whatever version you got) onto your VM, and click ‘OK’ when asked
- Once it finishes, again Reboot your VM and open the Google Play Store.
- Sign in using your Google account
- Once in the Store go to the ‘My Apps’ menu and let everything update(fixes a lot of issues), also try updating Google Play Services directly.
- Now try searching for ‘Netflix’ and ‘Google Drive’
- If both apps show up in the results and you’re able to Download/Install them, then congrats you now have ARM support and Google Play fully setup!
I’ve tested this on Genymotion v2.0.1 Using Android 4.3 images. Feel free to skip the GApps steps if you only want the ARM support. It’ll work perfectly fine by itself.
If you have any problems please don’t hesitate to ask for help below.
Thanks:
Michael Z. — Provided newer system image
taob — Provided Reference Image
Источник