Phonegap hello world app could not launch in emulator through CLI

旧巷老猫 提交于 2019-12-11 22:13:43

问题


I installed phonegap and created simple project(hello world). I installed jdk and sdk correctly. Paths are set. I want to launch my app in emulator. I run command "cordova run android" after a bunch of statements at the this results comes

BUILD SUCCESSFUL Total time: 14 seconds Built the following apk(s): D:\phonegap\myapp\platforms\android\ant-build\CordovaApp-debug.apk WARNING : No target specified, deploying to emulator 'emulator-5554'. Installing app on emulator... Using apk: D:\phonegap\myapp\platforms\android\ant-build\CordovaApp-debug.apk Launching application... LAUNCH SUCCESS

But the app does not launches in emulator. I am using windows. I don't know what to do. Please help


回答1:


Finally I found the work around. I installed the bluestack and it launched my app. when I run the command "cordova run android", after the build making process my app is automatically launched in blue stack. I don't know how but working.



来源:https://stackoverflow.com/questions/27313741/phonegap-hello-world-app-could-not-launch-in-emulator-through-cli

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!