应用程序启动时缺少 WLInitializationPlugin worklight 6.2 [英] Missing WLInitializationPlugin when app is started worklight 6.2

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

问题描述

我已经为构建和部署我的项目制作了 ant 任务.ant 任务已正确配置,但是当应用程序从 appcenter 下载或从 jenkins 生成的 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 运行应用程序,它就可以工作.真不知道jenkins和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安卓移动平台

Environments: worklight 6.2 android mobile platform

推荐答案

@IdanAdar 我解决了这个问题,因为我的 uicandroid.jarworklight-android.jar 是旧版本从 6.1 开始,所以我将它从 6.2 复制到 native/libs 文件夹,应用程序在从 jenkins 构建时正常工作

@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 worklight 6.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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