无法运行在真实设备的Andr​​oid IBM工作灯应用 [英] Can't run IBM worklight app in real device android

查看:134
本文介绍了无法运行在真实设备的Andr​​oid IBM工作灯应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建立一个工作灯的应用程序。创建Android应用和测试与本地机器,这个应用程序及其工作罚款emulator.but当我尝试测试与Android平板电脑它通过错误应用程序未能连接到服务这个应用程序。

I build a worklight application. create android app and test this application with local machine , its working fine with emulator.but when i try to test this application with android tablet it through error "The Application failed connecting to the service".

我试图找到应用descriptor.xml和修复的localhost 192.168.1.1:8080
 我的IP本地机器,但它不是我的working.In平板电脑,我不能去 192.168.1.1:8080/console/index.html

I try to find application-descriptor.xml and fix localhost to 192.168.1.1:8080 my ip local machine,but it not working.In my tablet I can't to go to 192.168.1.1:8080/console/index.html

任何人可以帮助我关于这个问题的。如何解决这一个在我的工作灯Android应用程序,并在我的Andr​​oid平板电脑运行它

Can anybody help me regarding this issue. how can i fix this one in my worklight android application and run it on my android tablet

推荐答案

有些事情要检查:
结果 - 是你的平板电脑和你的工作灯开发计算机相同的无线网络上? (他们需要!)
结果 - 你的电脑有它的防火墙,这可能需要通过配置,让交通。作为一个测试,你可以简单地禁用防火墙,看看你就可以访问(如有涉及禁用防火墙的危险免责声明)。没有禁用防火墙的测试是将尝试从另一个台式机/笔记本机上的同一子网访问192.168.1.1:8080。

Some things to check:
- Are your tablet and your worklight development machine on the same wireless network? (they need to be!)
- Does your computer have a firewall on it which may need configuring to let the traffic through. As a test you could briefly disable the firewall and see if you then have access (subject to disclaimer of the risk involved in disabling the firewall). A test without disabling the firewall would be to try accessing 192.168.1.1:8080 from another desktop/laptop machine on that same subnet.

这篇关于无法运行在真实设备的Andr​​oid IBM工作灯应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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