Missing WLInitializationPlugin when app is started worklight 6.2

醉酒当歌 提交于 2019-12-12 03:17:31

问题


i've made ant tasks for build and deploy my project. The ant tasks are proper configured, but when the application is downloaded from the appcenter or installed from the generated apk from jenkins it throws some classNotFoundExceptions when getting started:

02-10 16:10:54.860: W/System.err(7584): java.lang.ClassNotFoundException: com.worklight.androidgap.plugin.WLInitializationPlugin

02-10 16:10:55.640: W/System.err(7584): java.lang.ClassNotFoundException: com.worklight.androidgap.plugin.WLApp

If i run the application from eclipse it works. I really don't know what is the difference between jenkins and eclipse building the project...

Environments: worklight 6.2 android mobile platform


回答1:


@IdanAdar I fix this as my uicandroid.jar and worklight-android.jar was old version from 6.1, so i copy it from 6.2 into native/libs folder and application is working as normal when is build from jenkins



来源:https://stackoverflow.com/questions/28434840/missing-wlinitializationplugin-when-app-is-started-worklight-6-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!