PhoneGap的世界你好应用无法通过CLI在模拟器启动 [英] Phonegap hello world app could not launch in emulator through CLI

查看:132
本文介绍了PhoneGap的世界你好应用无法通过CLI在模拟器启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装的PhoneGap和创建简单的项目(世界你好)。我安装了JDK和SDK正确。路径设置。我要启动我的应用程序在模拟器。我在这个结果来

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
总时间为:14秒
内置下面APK(S):
    D:\\ PhoneGap的\\ MyApp的\\ \\平台的Andr​​oid \\蚂蚁构建\\ CordovaApp,debug.apk
警告:没有目标指定,部署到仿真器模拟器-5554。
在模拟器上安装应用程序...
使用APK:D:\\ PhoneGap的\\ MyApp的\\ \\平台的Andr​​oid \\蚂蚁构建\\ CordovaApp,debug.apk
启动应用程序...
发射成功

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

但是,应用程序不启动的仿真器。我使用Windows。我不知道该怎么办。请帮助

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

推荐答案

最后,我发现周围的工作。我安装了bluestack和它推出我的应用程序。当我运行命令科尔多瓦运行Android的,构建决策过程后,我的应用程序以蓝色堆栈自动启动。我不知道如何,但工作。

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.

这篇关于PhoneGap的世界你好应用无法通过CLI在模拟器启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆