[英]IBM Worklight 6.1.0.0: Android environment missing some files
Steps: 脚步:
Observe: 观察:
Following files are missing from the "native/libs" folder “ native / libs”文件夹中缺少以下文件
I didn't found any other way to include these files. 我没有找到其他方法来包含这些文件。 On actual android device (Samsung Tab 3), "guava.jar" file is needed to initialize JSONStore object.
在实际的android设备上(三星标签3),需要“ guava.jar”文件来初始化JSONStore对象。
Update April 2nd, 2014: From the comments to this answer: 2014年4月2日更新:从评论到此答案:
I have upgraded to Worklight 6.1.0.1.
我已经升级到Worklight 6.1.0.1。 Now the issue is reproducible in following scenario - 1. Instead of "native" folder, just delete these 2 files (android-async-http.jar, guava.jar) 2. rebuild the android environment.
现在,此问题在以下情况下可以重现-1.代替“本地”文件夹,只需删除这2个文件(android-async-http.jar,guava.jar)。2.重建android环境。
This is OK. 还行吧。 The native folder is considered the user's domain.
本机文件夹被视为用户的域。 That means that if a user decides to remove parts of it - for example .jars from the lib\\ folder, to maybe... reduce the app's filesize?
这意味着如果用户决定删除其中的部分内容(例如,从lib \\文件夹中删除.jars),也许...减小应用程序的文件大小? that's okay.
没关系。 It is the user's responsibility.
这是用户的责任。
I have tested this in Worklight 6.1.0.1; 我已经在Worklight 6.1.0.1中对此进行了测试; created a new project and application, added the Android environment, Run As > Run on Worklight Development Server.
创建了一个新项目和应用程序,添加了Android环境,运行方式>在Worklight Development Server上运行。
The supposed missing files are in my android\\native\\libs folder: 假定的丢失文件在我的android \\ native \\ libs文件夹中:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.