包括 Eclipse 中的 sencha touch 2 [英] including sencha touch 2 in eclipse

查看:15
本文介绍了包括 Eclipse 中的 sencha touch 2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是第一次使用 sencha touch 2.我已经安装了 mds applaud 插件,支持 eclipse 的 sencha touch我通过包含 sencha touch 库来启动项目,如下所示.

i am using sencha touch 2 for first time .i have installed mds applaud plugin with sencha touch support for eclipse i start project by including sencha touch library as shown below.

然后我添加煎茶代码如下

then i add sencha code as follows

但是当我在 android 模拟器中运行程序而不是打印 hello world 时,它会显示如下空白屏幕.

but when i run the programme in android emulator instead of printing hello world it shows blank white screen as below.

谁能帮助我如何成功运行这个应用程序?

can anyone help me how to run this application sucessfully ?

推荐答案

我对此很陌生,但我发现您可以通过将视图定向到应用程序所在的文件夹来测试浏览器中的视图.对于例如,我刚刚创建了一个名为TS2"的应用程序.该应用程序位于文件夹 C://xampp/htdocs/ts3 中,因此我将浏览器定向到 http://my ip here/ts3/assets/www/.当然,我让 apache 服务器在 XAMPP 中运行.

I'm pretty new to this, but I found that you can test the view in your browser by directing it to the folder that the app is in. For example, I just created an app called "TS2". The app is in the folder C://xampp/htdocs/ts3 so I direct my browser to http:// my ip here /ts3/assets/www/. Of course I got the apache server running in XAMPP.

还有一件事,我在 bash 控制台中创建了新应用程序,然后将其导入 Eclipse.在您加盖的屏幕中,我选择了从特定源目录创建项目",然后还有另一个选项称为导入.

One more thing, I created the new app in the bash console and then imported it to Eclipse. In the screen you capped I selected "Create project from specific source directory" and then there is another option called something like import.

我希望这会有所帮助,但正如我所说,我仍在学习自己.

I hope this helps but, as I said, I'm still learning myself.

这篇关于包括 Eclipse 中的 sencha touch 2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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