including sencha touch 2 in eclipse

泄露秘密 提交于 2019-12-02 22:59:24

问题


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

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 ?


回答1:


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.

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.



来源:https://stackoverflow.com/questions/11323516/including-sencha-touch-2-in-eclipse

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