缺少WLInitializationPlugin当应用程序开始工作灯6.2 [英] Missing WLInitializationPlugin when app is started worklight 6.2

查看:162
本文介绍了缺少WLInitializationPlugin当应用程序开始工作灯6.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我做了Ant任务来构建和部署我的项目。
蚂蚁任务是正确配置,但是当应用程序从appcenter从詹金斯下载或安装从生成APK它抛出一些classNotFoundExceptions起步时:

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

如果我从Eclipse中运行应用程序它的工作原理。我真的不知道什么是詹金斯之间的区别和eclipse建设项目...

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...

环境:
工作灯6.2
Android手机平台。

Environments: worklight 6.2 android mobile platform

推荐答案

@IdanAdar我解决这个问题是我的 uicandroid.jar 工作灯-的android.jar 是旧版本6.1,所以我将它复制从6.2到本地/ libs文件夹和应用程序工作正常时,从詹金斯建立

@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

这篇关于缺少WLInitializationPlugin当应用程序开始工作灯6.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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