WChampion
WChampion

Reputation: 75

Android studio: Cant get App to install on emulator

So up until today everything was working and after doing some trouble shooting on why my app's code was no longer updating, I uninstalled it from the emulator. Now when I go to run it again, it no longer launches or even displays as existing in my emulator. How do I get it to install on the emulator (again) so that I can continue to develop it further? Thanks guys

The Run Logs: Worked before, nothing unusally here.

C:\Users\Will\AppData\Local\Android\Sdk\tools\emulator.exe -avd x86-L
Hax is enabled
Hax ram_size 0x20000000
HAX is working and emulator runs in fast virt mode.
audio: Failed to create voice `goldfish_audio_in'
qemu-system-i386.exe: warning: opening audio input failed
console on port 5554, ADB on port 5555

Strange thing is that when I read through the Android Monitor it appears to be building the app each time I launch it. but it wont launch/display/install it. not sure how to put it into words sadly.

Any and all suggestions on this matter are welcome. Id love to be able to try different ways to make this work.

Upvotes: 2

Views: 735

Answers (2)

WChampion
WChampion

Reputation: 75

Using the K3b's way of using ADB an a apk file to manually install the app worked. Missing some core functionality by doing this way since some features dont work now but its a start at least.

adb install {file.apk}

Upvotes: 0

Shahbaz Hashmi
Shahbaz Hashmi

Reputation: 2815

It seems that your avd memory is greater than your haxm memory. Set avd memory equal or less than haxm memory. For example if haxm memory is 512mb. Set avd memory equal or less than 512mb.

Upvotes: 1

Related Questions