简体   繁体   English

由于缺少info.plist和其他文件,OS X,iPhone和Android版本的工作灯失败

[英]Worklight on OS X, iPhone and Android builds fail due to missing info.plist and other files

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/ 我正在按照IBM的一步一步“Hello World”指南进行操作: 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) Delete the environments native folders and rebuild. 1)删除环境本机文件夹并重建。 (Failed) (失败)
2) Delete each entire environment and do the environment additions again (Failed) 2)删除整个环境并再次添加环境(失败)
3) Did a full project Clean and Build Project on the entire project. 3)在整个项目中完成了一个完整的项目清理和构建项目。 (Failed) (失败)
4) Restarted eclipse with the -clean option (Failed) 4)使用-clean选项重启eclipse(失败)

Here is my current Environment: 这是我目前的环境:
IDE: Eclipse Indigo Release IDE:Eclipse Indigo Release
WorkLight: 5.0.5100 (Assuming 5.0.0.5?, the plugin versions are weird) WorkLight:5.0.5100(假设5.0.0.5 ?,插件版本很奇怪)
OS: Mac OSX 10.8.2 操作系统:Mac OSX 10.8.2

I find it pretty disheartening that you cannot even follow the Hello World guide without running across some kind of error. 我觉得非常令人沮丧的是,如果不遇到某种错误,你甚至无法遵循Hello World指南。 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. 这当然是在交给IBM在此框架中为我们编写的移动应用程序之后,我们未能成功部署到Android和IPhone设备。 (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) (我们能够在适用于Android和iPhone的WLC模拟器中运行得很好,但实际上将其部署到iPhone和Android只会导致崩溃)

Any Ideas on how to resolve this issue? 有关如何解决此问题的任何想法? Is WorkLight an avenue even worth pursuing? WorkLight是一条甚至值得追求的途径吗?

The way I fixed this issue was to completely wipe and redo the environment. 我解决这个问题的方法是彻底擦除和重做环境。 This included the following for me. 这包括以下内容。

1) Created a new user on the Mac (I had been using another devs user) 1)在Mac上创建了一个新用户(我一直在使用另一个开发者用户)
2) Reinstall Eclipse Juno. 2)重新安装Eclipse Juno。
3) Create a new workspace 3)创建一个新工作区
4) Install the Worklight from the Eclipse Market 4)从Eclipse Market安装Worklight
5) Install the Android ADT and SDK. 5)安装Android ADT和SDK。

This then allowed me to create the environments properly without missing file warnings. 这使我能够正确创建环境而不会丢失文件警告。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 导致gradle构建的图标文件在使用Google Drive的OS X上的Android Studio中失败 - Icon files causing gradle build fail in Android Studio on OS X using Google Drive IBM Worklight 6.1.0.0:Android环境缺少某些文件 - IBM Worklight 6.1.0.0: Android environment missing some files 在操作系统版本高于4.1.x的Samsung设备的Worklight Android应用程序中,可以查看所有以前的Mobile View。 - All previous Mobile Views are visible in Worklight Android Application for Samsung devices with OS version higher the 4.1.x Android Studio无法在Mac OS X上设置 - Android Studio Fail to set up on Mac OS X Android 中的数据库类似于 iPhone 中的 plist - Database in Android similar to plist in iPhone android 是否删除发布版本的信息日志? - Does android remove info logs on release builds? Android 使用 launchctl 构建时构建失败 - Android builds fail when building with launchctl Android上缺少cocos2d-x opengl上下文(可以使用iPhone) - cocos2d-x opengl context missing on Android (OK with iPhone) 在Android中解析Apple Plist文件 - Parse Apple Plist files in android Flutter multi_image_picker 相机选项未在 iOS 中显示。 当我已经启用相机并在 info.plist 中写入权限时 - Flutter multi_image_picker camera option not showing in iOS. When i already enable camera and write the the permission in info.plist
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM