Pergunta

Yesterday I haven't got any error while using emulator but today I got this error check the image below. I have run as well as debugged many time but I am not getting the same error every time.

Error is popping up after installing the apk file. Please give the correct answer such that i can fix the emulator correctly and work on that

enter image description here

Now when I compile I got new error check the below image while shows

enter image description here

What I have to do ?

Foi útil?

Solução 7

Reboot your computer. This has always worked for me.

Outras dicas

I was also facing this issue, I try this and works great.

adb.exe kill-server
adb.exe start-server

I don't exactly remember, but try to reset preferences by option in Windows tab. Or create a new emulator and try to run your program again. If above things won't work then enable debugging on your android device and connect your device and run it to see if error persist. Thanks

If running in eclipse, Please check the emulator settings..

This happens when AVD is already configured and a new andriod project is created.

So for this.. go to Run>> Run Congurations >> Target.. Select the AVD which is already configured and an option for choosing same AVD for future projects also.

This will start an emulator and thats it.. your application is up !!!

If You Running In Eclipse, Check Your Settings.

Run Configurations - Common - Select File In Standard Input And Output - Click

Workspace And Choose Your Project.

And Just Click Run.

Check if the package name contains an uppercase letter,If uppercase letters are included, change them to lowercase.it worked for me

Even I faced this issue. I used below steps for resolving the issue:

1]  adb uninstall your_app_package_name
2]  adb kill-server
3]  adb start-server

restart the emulator/device after executing above steps.

Now try to run the application. That must work for you.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top