【问题标题】:Google App Engine conneced Android App FailureGoogle App Engine 连接 Android 应用失败
【发布时间】:2012-01-09 10:12:49
【问题描述】:

我试图部署一个连接到 GAE 的 android 应用程序。我在 google 上运行在线教程,我使用了正确的配置(正如他们在教程中所写的那样),但我无法将 Android 虚拟设备与本地运行的 Web 应用程序通信。 Web 应用程序显示“服务器错误 500”,而 AVD 上的 android 应用程序显示“失败:连接到 /192.168.56.1:8888 超时”错误。

我正在运行 Eclipse Indigo,虚拟 android 设备使用 Google API Level 10。

谢谢。

【问题讨论】:

    标签: android eclipse google-app-engine


    【解决方案1】:

    Appengine 开发服务器默认只接受 localhost 地址(localhost127.0.0.1)上的连接。

    要使其接受所有端口上的连接,请将 -bindAddress 0.0.0.0 添加到 Eclipse 中的开发服务器参数中。

    【讨论】:

    • 那些开发服务器参数在哪里?
    猜你喜欢
    • 1970-01-01
    • 2021-07-23
    • 1970-01-01
    • 1970-01-01
    • 2016-10-24
    • 1970-01-01
    • 2018-04-28
    • 2014-05-12
    • 1970-01-01
    相关资源
    最近更新 更多