Problem with the Android Studio emulator

1

I am developing an app in the environment of Android Studio but I have problems when using the emulators of the application. When I try to run my app, that emulator is loaded with the Android symbol and never starts. I'm running it from a PC with a AMD Phenom x4 965 de 3.4Ghz processor with 8 GB de RAM .

    
asked by Germanccho 02.01.2018 в 20:13
source

2 answers

1

You can Run apps on a hardware device , and I think it's better than using any emulator. In case you have that option available, you should do the following:

First : Enable USB debugging on your cell phone. in case you do not know how, I'll leave you a link to how to do it .

Second : once activated the USB debugging in the cell phone, connect it to the PC and let it recognize the device (some brands of cell phones ask you for special software, such is the case of samsung and samsung kyes , in the example I show you.) When you " run " your app, you get a screen where you can see the connected devices and your virtual devices (android emulators) ). there you should see your device connected as in the following image: If it does not appear, check the cell phone, usually asking for authorization to use USB debugging on the connected computer, as in the following image:

    
answered by 02.01.2018 в 20:56
0

This is due to the architecture of your computer if you noticed there are x86 for Intel processors and ARMs that are for Old Devices it seems to me that you have to have hyper-v enabled or something like that to allow emulation in your machine . Remember that you can emulate in a 64 Bit device you can install the 32 Bit APK, but not the other way around. Similarly, you can not install a compiled APK for Intel (x86, x64) on an ARM device, and vice versa, even if both are 32 or 64 Bits. Something like this happens with PCs you can not emulate a 64 device in one of 32. Check out the information in Android, but it happened to me and I could not emulate until I changed to one according to my Architecture

    
answered by 02.01.2018 в 21:42