且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

IBM工作灯6.0 - 混合Android应用程序在模拟器和设备不工作

更新时间:2023-01-26 08:08:23

我已经找到了我Solution.Initially添加了所有Dojo库文件夹到我的项目www文件夹,使我的混合应用程序挂起。

I have found out the Solution.Initially i have added all Dojo library folder to my project www folder that makes my hybrid application hangs.

我所做的是我从我的工作灯应用www文件夹中删除所有文件夹道场和只添加所需的道场文件到我的项目www文件夹。

What i did is i have removed all the Dojo folder from my Worklight application www folder and added only the required dojo files to my project www folder.

您可以通过打开控制台视图检查丢失的库文件(窗口>显示视图>其他...>控制台)。从控制台视图,单击打开控制台按钮,然后从列表中选择Dojo库的要求。从Dojo库请求控制台中,单击视图菜单(在工具栏中的三角形),并取消提供图书馆资源。

You can check the missing library files by opening the Console view (Window > Show View > Other... > Console). From the Console view, click the Open Console button and choose Dojo Library Requests from the list. From the Dojo Library Requests console, click the View Menu (the triangle in the toolbar), and uncheck Provide Library Resources.

现在来看,你混合应用程序来查看所有丢失的图书馆资源。

Now Run you hybrid application to see all your missing Library Resources.