我想打一个App Engine连接的Android应用程序,而我开始与谷歌的教程可以在这里找到: 的http://$c$c.google.com/intl/fr/eclipse/docs/appeng_android_create_project.html
I want to make an App Engine connected Android app, and I'm beginning with google's tutorial available here : http://code.google.com/intl/fr/eclipse/docs/appeng_android_create_project.html
我也正是因为他们没有(注册成C2DM服务,安装的插件,签署了关于在Eclipse中我的谷歌ACC,等...),但是当我启动示例应用程序(以调试为>本地应用程序发动机连接的Android应用程序),我点击按钮打招呼,我得到的消息失败:连接到 HTTP:/ /127.0.1.1:8888 拒绝了。
I did exactly as they did (registered into C2DM service, installed plugins, signed on in eclipse with my google acc, etc...), but when I launch the sample app (with "Debug as" > "Local App Engine connected Android Application") and I click on the button "say hello", I get the message "Failure: Connection to http://127.0.1.1:8888 refused.
我在GAE上部署的服务器端程序包,删除的文件debugging_ prefs.properties,并运行它在我的手机,它的工作。但是没办法,使其在测试环境中工作....
I deployed Server side package on GAE, removed file debugging_prefs.properties, and ran it on my phone, it worked. But no way to make it work in test environment ....
我有蚀3.7靛蓝,App Engine的插件1.6.1和2.4.0 GWT,在Ubuntu 10.04。
I have eclipse 3.7 Indigo, App Engine plugin 1.6.1, and GWT 2.4.0, on Ubuntu 10.04.
你知道吗?感谢您的帮助。
Any idea ? Thanks for help.
编辑:刚安装Eclipse和插件在Windows XP虚拟机......在我的Ubuntu曾在第一次尝试...但还是不:(
edit : just installed eclipse and plugins in a Windows XP VM... worked on the first try ... But still not in my Ubuntu :(
编辑2:在其他虚拟机刚安装了Ubuntu 11.10。同样的错误在我的10.04
edit 2 : freshly installed ubuntu 11.10 in an other VM. Same error as in my 10.04
我终于设法使它工作使用我收到答案的此处。我在UTIL类中添加这一行 getDebugUrl
I finally managed to make it work using the answer I received here. I've add this line in getDebugUrl
in util class
s = "url=http://192.168.1.50:8888";
与 192.168.1.50
是我的Ubuntu虚拟机的IP地址
with 192.168.1.50
being my Ubuntu VM IP address