android - Emulator not installing/running app -


when startup android emulator test application, run problem.

i 2 windows open @ bottom of android studio 1 avd:nexus_5_api_23 other 1 app.

in avd:nexus_5_api_23 window shows:

/volumes/seagate/tools/emulator -netdelay none -netspeed full -avd nexus_5_api_23 haxm working , emulator runs in fast virt mode emulator: emulator window out of view , recentered emulator: updatechecker: skipped version check 

and app window shows:

device connected: emulator-5554 

i'm not sure what's going on.

i have created other emulators run same issue every-time.

my android studio up-to-date. , to test it's not of codes fault. created new project sample code, , still, doesn't run.

when run app, should see install command run in app window. effect of

device ready: nexus_5_api_23_x86 [emulator-5554] target device: nexus_5_api_23_x86 [emulator-5554] installing apk:  /home/username/documents/programming/java/sample/app/build/outputs/apk/app-debug.apk uploading file to: /data/local/tmp/www.domain.com.sample installing www.domain.com.sample device shell command: pm install -r "/data/local/tmp/www.domain.com.sample" pkg: /data/local/tmp/www.domain.com.sample success 

if don't see this, odds android studio not running install command.

this command should run app. try pulling terminal in android studio , running install command.

adb -s emulator-5554 install ./app/build/outputs/apk/apk-debug.apk 

source

you may have install adb command work. should install on device. if installs it, wrong run configurations or manifest file. go run -> edit configurations... , make sure deploy "default apk" , launch "default activity". if both these there , still not working, check manifest.


Comments

Popular posts from this blog

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -