IBM工作灯5.0.6.x - 混合Android应用程序无法在真实的设备上运行 [英] IBM Worklight 5.0.6.x - Hybrid Android application can't run on real device

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

问题描述

我创建了一个工作灯的应用程序的Andr​​oid环境,并试图运行它。它工作正常,在Android模拟器,但是当我尝试在Android设备上运行它,它显示了一个错误:

I have created a Worklight application with the Android environment and tried running it. It is working fine in the Android Emulator but when I try to run it in an Android device it shows an error:

该应用程序已不幸停止

任何人可以帮助我对这个问题的?

Can anybody help me regarding this issue?

推荐答案

您可能已经安装了ADT V22。 我已经提供了一个答案在这个问题这个问题:<一href="http://stackoverflow.com/questions/16732409/worklight-auto-generated-android-folder-does-not-run-on-avd/16732630#16732630">worklight自动生成的Andr​​oid文件夹不上运行AVD

You have probably installed ADT v22. I have provided an answer for this problem in this question: worklight auto-generated android folder does not run on avd

这恰好由于谷歌的变化在这个版本ADT取得了。 它仅影响ADT V22的用户。工作灯将具有该内置的固定在工作灯v6.0中

This happens due to a change Google has made in this version of ADT. It affects users of ADT v22 only. Worklight will have a built-in fix for this in Worklight v6.0.

在此期间,请(在每个项目的基础上)以下说明:

In the meanwhile, follow these instructions (on a per-project basis):

  1. 在您生成的Andr​​oid项目右键单击并选择 属性
  2. 从左侧窗格中,选择Java构建路径
  3. 勾选Android的私人图书馆复选框
  4. 刷新项目/重新构建应用程序
  1. Right-click on your generated Android project and choose "properties"
  2. From the left pane, choose "Java Build Path'
  3. Tick the "Android Private Libraries" checkbox
  4. Refresh the project / re-build the app

应用程序应现在已成功推出的设备。

The app should now successfully launch in the device.

这篇关于IBM工作灯5.0.6.x - 混合Android应用程序无法在真实的设备上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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