Development Diary -20190905 Android simulator under the key word Linux (Ubuntu): Genymotion

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/qq_31433709/article/details/100566293

Reference to:

Under Ubuntu, can not access Google, how to install Vysor plug?
Under ubuntu 16.04 android debugging tools Vysor installation and use of attention
under Ubuntu installation with the simulator break genymotion

Now, is not feeling very strange ah, so obviously annotationprocessor interesting things, but it is only used to build the framework, it is not too boring?

Recently encountered a troublesome thing is to read books on Dangdang cloud on the phone actually quite good, but there is a problem, is that the screen is too small, if the situation encountered more code, display will be very boring , thought to buy a ipad but really, what US imperialism, or'll think better, although color value is really great!

There is no way to find alternative measures it here, I try to use a virtual machine instead of android phones on display work applications. It looks really great.


ready

1. Download genymotion-2.8.0-linux_x64.bin

Link: https: //pan.baidu.com/s/1Ep6RHjt8UGj0gpWxmzvfVA (2018.6.19 update download link)

2. Download 2.8.0 crack file

Link: http: //pan.baidu.com/s/1nuGQsJZ Password: sodz

installation

1. Install virtualBox

Using two command-line installation virtualBox.

sudo apt-get update
sudo apt-get install virtualbox
2. Install genymotion

Enter the genymotion download directory, use the command sudo ./genymotion-2.4.0_x64.bin, pending completion of the installation. Path generally installed under / home / username / opt /.

3. Replace the file, crack

Download crack file decompression. If you have a lock on the file, use the following command to give permission.

sudo chmod u+x //文件名

Switch to the account su sudo su -, enter the password, and then use the following command to replace the original file to crack the file. I recommend backing up before replacing it.

4. Complete

Double-click the / home / username / opt / genymobile genymotion under genymotion directory / to open the simulator.


problem

1. error occurs INSTALL_FAILED_CPU_ABI_INCOMPATIBLE

When we want to achieve drag simulator apk to achieve installation, they tend to prompt this error solution is to download Genymotion-ARM-Translation file, and then drag the file on the simulator installation. Once the installation is completed, restart can be realized to drag the installation apk simulator.
Download:
Link: http://pan.baidu.com/s/1i5MExTj Password: 5h1m

2. problems encountered xcb_wait_for_reply64

Delete libxcb.so.1

3. problems encountered drmgetdevice2

Delete libdrm.so.2

Guess you like

Origin blog.csdn.net/qq_31433709/article/details/100566293