开发者

Error in running application in android emulator

I have created a sample Hello World program in android it was working fine 开发者_运维问答till now. But suddenly I found that my application cannot run in emulator. I have tried with 2.1, 2.2 2.3 emulators. I found the following issue

Please ensure that adb is correctly located at 'C:\Program Files\Android\android-sdk-windows\platform-tools\adb.exe' and can be executed

I have checked in the menationed path adb is present there. Also If I double click that file I can execute the adb.


I've encountered a similar error. I have no explanation why but I may be able to help you out.

Exit out of eclipse (I assume that's what you're using).

Open task manager.

Go to the Processes tab.

Kill the process adb.exe.

Restart eclipse and see if that fixes it.


Are you using Eclipse? Try to go to Preference an update your sdk location. Click browse and locate it again.

Error in running application in android emulator

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜