Unable to check my AOSP build on emulator

I built an Android AOSP tree for a mako device on my Ubuntu 14.04 LTS desktop using. build / envset.sh ',' lunch mako-userdebug 'and the make -j4 commands. I tried to run it in the emulator following the instructions provided by Google (i.e. by typing the "emulator" command in the terminal immediately after the build was completed), but this will not work. The emulator starts up but is stuck on a black screen. I noticed the following warnings / errors while starting the emulator:

emulator: control console listening on port 5554, ADB on port 5555 emulator: can't connect to ADB server: Transport endpoint is not connected (errno = 107) 

Any help in resolving this error is welcome.

+5
source share
1 answer

Phil,

To create an image for the emulator, you will need to make one of the common images. like aosp_arm-eng lunch (you can also use userdebug, etc.). It may not appear on the lunch menu, but it should be available nonetheless. The emulator was made strictly to check the changes made to the structure and the system default properties (those that are independent of the equipment). Building a weapon version should fix your mistakes!

Best!

+3
source

Source: https://habr.com/ru/post/1234920/


All Articles