工作灯在OS X,iPhone和Android构建失败,由于缺少info.plist中和其他文件 [英] Worklight on OS X, iPhone and Android builds fail due to missing info.plist and other files

查看:262
本文介绍了工作灯在OS X,iPhone和Android构建失败,由于缺少info.plist中和其他文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下面一步步的Hello World,从IBM指南位于:
    的http://www.ibm.com/developerworks/library/mo-aim1206-working-with-worklight-1/

I am following the step by step "Hello World" guide from IBM located here: http://www.ibm.com/developerworks/library/mo-aim1206-working-with-worklight-1/

我到您构建和部署环境,但是当我尝试这样做,我得到以下错误的步骤。

I am to the step where you build and deploy the environments, but when I attempt to do so, I get the following errors.

FWLST1040E: iphone build failed: com.worklight.builder.exception.WorklightBuildRuntimeException: Resource Manager - Problem reading info.plist file /Users/snip/Documents/workspace-indigo/HelloWorld/apps/HelloWorld/iphone/native/HelloWorldHelloWorldIphone-Info.plist (No such file or directory) Nested exception: /Users/snip/Documents/workspace-indigo/HelloWorld/apps/HelloWorld/iphone/native/HelloWorldHelloWorldIphone-Info.plist (No such file or directory)

FWLST1040E: android build failed: com.worklight.builder.exception.WorklightBuildRuntimeException: Resource Manager - Error while reading XML file: /Users/snip/Documents/workspace-indigo/HelloWorld/apps/HelloWorld/android/native/AndroidManifest.xml (No such file or directory) Nested exception: /Users/snip/Documents/workspace-indigo/HelloWorld/apps/HelloWorld/android/native/AndroidManifest.xml (No such file or directory)

A core eclipse exception has occurred: Failed to read project description file from location '/Users/snip/Documents/workspace-indigo/HelloWorld/apps/HelloWorld/android/native/.project'.

我已经试过了通常的嫌疑人在试图清除此了。

I have tried the usual suspects in trying to clear this up.

1)删除环境中的本地文件夹和重建。 (失败)结果
2)删除每个整个环境并再次执行环境增加(失败)结果
3)做了全面的项目清理并生成项目在整个项目。 (失败)结果
4)用-clean选项的Eclipse重新启动(失败)

1) Delete the environments native folders and rebuild. (Failed)
2) Delete each entire environment and do the environment additions again (Failed)
3) Did a full project Clean and Build Project on the entire project. (Failed)
4) Restarted eclipse with the -clean option (Failed)

下面是我目前的环境:结果
IDE:Eclipse的靛蓝发行结果
工作灯:5.0.5100(假设5.0.0.5?插件版本是怪异的)结果
操作系统:Mac OSX 10.8.2

Here is my current Environment:
IDE: Eclipse Indigo Release
WorkLight: 5.0.5100 (Assuming 5.0.0.5?, the plugin versions are weird)
OS: Mac OSX 10.8.2

我觉得pretty令人沮丧,你甚至不能跟随的Hello World引导,而不需要通过某种错误运行。这是被交给一个移动应用IBM在这个框架内,我们均得到部署到Android和IPhone设备不成功的写了之后,我们当然。 (我们可以让它运行在WLC模拟器为Android和iPhone就好了,但实际上它部署到iPhone和Android只是导致崩溃)

I find it pretty disheartening that you cannot even follow the Hello World guide without running across some kind of error. This is of course after being handed a mobile application IBM wrote for us in this framework, which we were unsuccessful in getting deployed to Android and IPhone Devices. (We were able to get it running just fine in the WLC Simulators for Android and iPhone, but actually deploying it to the iPhone and Android just results in crashes)

如何解决这个问题的任何想法?是工作灯的途径,甚至值得追求?

Any Ideas on how to resolve this issue? Is WorkLight an avenue even worth pursuing?

推荐答案

我解决这个问题的办法是彻底清除和恢复环境。这包括以下我。

The way I fixed this issue was to completely wipe and redo the environment. This included the following for me.

1)创建一个新用户在Mac上(使用其他开发者的用户我已经)结果
2)重新安装Eclipse的朱诺。结果
3)创建一个新的工作区结果
4)从Eclipse市场结果安装工作灯
5)安装Android ADT和SDK。

1) Created a new user on the Mac (I had been using another devs user)
2) Reinstall Eclipse Juno.
3) Create a new workspace
4) Install the Worklight from the Eclipse Market
5) Install the Android ADT and SDK.

这则让我正确地创建环境,而无需丢失的文件警告。

This then allowed me to create the environments properly without missing file warnings.

这篇关于工作灯在OS X,iPhone和Android构建失败,由于缺少info.plist中和其他文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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