包括 Eclipse 中的 sencha touch 2

2023-08-20Java开发问题
1

本文介绍了包括 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

在 Eclipse 项目中使用西里尔文 .properties 文件
Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)...
2024-08-25 Java开发问题
18

如何在java中找出依赖于语言环境的文本方向?
How to find out locale-dependent text orientation in java?(如何在java中找出依赖于语言环境的文本方向?)...
2024-08-25 Java开发问题
24

Eclipse 在尝试启动 Android 应用程序时卡住了
Eclipse gets stuck when trying to launch Android app(Eclipse 在尝试启动 Android 应用程序时卡住了)...
2024-08-25 Java开发问题
14

Eclipse:无法初始化监视器线程:无法建立环回连接
Eclipse: Failed to initialize Monitor Thread: Unable to establish loopback connection(Eclipse:无法初始化监视器线程:无法建立环回连接)...
2024-08-25 Java开发问题
4

Eclipse-找不到JDK
Eclipse- JDK not found(Eclipse-找不到JDK)...
2024-08-25 Java开发问题
6

错误:CreateProcess 错误=216,此版本的 %1
Error:CreateProcess error=216, This version of %1(错误:CreateProcess 错误=216,此版本的 %1)...
2024-08-25 Java开发问题
9