起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3334|回复: 8

[未处理] 自定义插件打包报错

[复制链接]

9

主题

57

帖子

110

积分

初级会员

Rank: 2

积分
110
QQ
发表于 2019-11-18 16:23:40 | 显示全部楼层 |阅读模式
自定义插件,打包的时候报错

9

主题

57

帖子

110

积分

初级会员

Rank: 2

积分
110
QQ
 楼主| 发表于 2019-11-18 16:26:04 | 显示全部楼层
这是插件

插件结构

插件结构

cordova-plugin-openblemulti.OpenBlemulti.rar

871.94 KB, 下载次数: 99

插件

回复

使用道具 举报

9

主题

57

帖子

110

积分

初级会员

Rank: 2

积分
110
QQ
 楼主| 发表于 2019-11-18 16:27:14 | 显示全部楼层
开始......

保存配置信息:

环境初始化:

编译UI2资源:
   开始......

   [JUSTEP_HOME in UIServer]: D:\FZ_Wex5_3.8
   2019-11-18 16:09:44 参数1: D:\FZ_Wex5_3.8/runtime/UIServer
   2019-11-18 16:09:44 参数2: /UI2/mashroom
   2019-11-18 16:09:44 参数3: D:/FZ_Wex5_3.8/model/Native/t/www/x5/UI2
   2019-11-18 16:09:44 参数4:
   2019-11-18 16:09:44 参数5:
   2019-11-18 16:09:44 参数6: /UI2/mashroom/index.w
   2019-11-18 16:09:44 参数7: 3
   2019-11-18 16:09:44 参数8: v_6231_nol_zh_CNs_d_m
   2019-11-18 16:09:44 参数9:
   [JUSTEP_HOME in UIServer]: D:\FZ_Wex5_3.8
   2019-11-18 16:09:44 参数0: D:\FZ_Wex5_3.8/runtime/UIServer
   2019-11-18 16:09:44 参数1: /UI2/mashroom
   2019-11-18 16:09:44 参数2: D:/FZ_Wex5_3.8/model/Native/t/www/x5/UI2
   2019-11-18 16:09:44 参数3:
   2019-11-18 16:09:44 参数4:
   2019-11-18 16:09:44 参数5: /UI2/mashroom/index.w
   2019-11-18 16:09:44 参数6: 3
   2019-11-18 16:09:44 参数7: v_6231_nol_zh_CNs_d_m
   2019-11-18 16:09:44 参数8:
   2019-11-18 16:09:44 输出目录:D:\FZ_Wex5_3.8\model\Native\t\www\x5\UI2
   2019-11-18 16:09:44 开始清空输出目录...
   2019-11-18 16:09:44 清空输出目录成功
   2019-11-18 16:09:44 开始编译...
   2019-11-18 16:09:45 开始编译WINDOW文件: /UI2/mashroom/index.w
   2019-11-18 16:09:45 开始-WINDOW生成中间文件: /UI2/mashroom/index.w
   2019-11-18 16:09:45 加载模块:/UI2/system/components/justep/window/server ...
   2019-11-18 16:09:45 加载模块:/UI2/system/components/justep/window/server
   2019-11-18 16:09:45 加载模块:/UI2/system/components/justep/model/server ...
   2019-11-18 16:09:45 加载模块:/UI2/system/components/justep/model/server
   2019-11-18 16:09:45 加载模块:/UI2/system/components/justep/panel/server ...
   2019-11-18 16:09:45 加载模块:/UI2/system/components/justep/common/server ...
   2019-11-18 16:09:45 加载模块:/UI2/system/resources ...
   2019-11-18 16:09:45 加载模块:/UI2/system/resources
   2019-11-18 16:09:45 加载模块:/UI2/system/components/justep/common/server
   2019-11-18 16:09:45 加载模块:/UI2/system/components/justep/panel/server
   2019-11-18 16:09:45 加载模块:/UI2/system/components/justep/titleBar/server ...
   2019-11-18 16:09:45 加载模块:/UI2/system/components/justep/titleBar/server
   2019-11-18 16:09:45 结束-WINDOW生成中间文件: /UI2/mashroom/index.w
   2019-11-18 16:09:45 开始-中间文件生成缓存文件: /UI2/mashroom/index.w
   2019-11-18 16:09:45 结束-中间文件生成缓存文件: /UI2/mashroom/index.w
   2019-11-18 16:09:45 结束编译WINDOW文件: /UI2/mashroom/index.w
   2019-11-18 16:09:46 编译Window数:1
   2019-11-18 16:09:46 编译Window成功数:1
   2019-11-18 16:09:46 编译Window失败数:0
   2019-11-18 16:09:46 编译成功
   2019-11-18 16:09:46 开始复制资源...
   2019-11-18 16:09:47 复制资源成功
   2019-11-18 16:09:47 开始生成首页...
   2019-11-18 16:09:47 生成首页成功
   2019-11-18 16:09:47 cordova plugin: cordova-plugin-x-toast,cordova-plugin-inappbrowser,cordova-plugin-app-version,cordova-plugin-keyboard,cordova-plugin-spinner-dialog,
   2019-11-18 16:09:47 services:
   编译UI资源:

   完成。

编译UIX资源:

编译UI资源:

环境初始化:

   开始......

   生成应用环境准备:

   复制模版工程:

   复制工程:

   判断是否存在ios开发证书:

   拷贝开发证书:

   判断是否存在ios发布证书:

   拷贝发布证书:

   复制应用图标:

   复制启动画面:

   复制WWW资源:

   更新工程信息:

      You have been opted out of telemetry. To change this, run: cordova telemetry on.
      args.nofetch undefined
      android project rename compelete!!!!!!
      ios project rename compelete!!!!!!
      mobileprovision not been find!!!!

   增加插件:
      使用到的插件: [cordova-plugin-openblemulti.OpenBlemulti, cordova-plugin-whitelist, cordova-plugin-splashscreen, cordova-plugin-app-preferences, com.justep.cordova.plugin.app.utils, com.justep.cordova.plugin.engine.tencent, cordova-plugin-x-toast, cordova-plugin-inappbrowser, cordova-plugin-app-version, cordova-plugin-keyboard, cordova-plugin-spinner-dialog]
      开始安装插件......
      开始准备插件参数......
      插件 "cordova-plugin-openblemulti.OpenBlemulti" 参数如下:
           请求访问蓝牙时的提示(BLECENTRAL_BLUETOOTH_USAGE_DESCRIPTION):App需要您的同意才可以访问蓝牙
      插件 "cordova-plugin-splashscreen" 参数如下:
      插件 "cordova-plugin-app-preferences" 参数如下:
      插件 "cordova-plugin-file" 参数如下:
      插件 "cordova-plugin-file-transfer" 参数如下:
           请求访问相册时的提示(TRANSFER_PHOTOLIBRARY_USAGE_DESCRIPTION):App需要您的同意才可以访问相册
      插件 "cordova-plugin-network-information" 参数如下:
      插件 "cordova-plugin-zip" 参数如下:
      插件 "cordova-plugin-inappbrowser" 参数如下:
      插件 "cordova-plugin-x-toast" 参数如下:
      插件 "com.justep.cordova.plugin.app.utils" 参数如下:
      插件 "com.justep.cordova.plugin.engine.tencent" 参数如下:
           引擎选择方式(webViewEngine):auto
      插件 "cordova-plugin-app-version" 参数如下:
      插件 "cordova-plugin-keyboard" 参数如下:
      插件 "cordova-plugin-spinner-dialog" 参数如下:
      插件参数准备完成



回复 支持 反对

使用道具 举报

9

主题

57

帖子

110

积分

初级会员

Rank: 2

积分
110
QQ
 楼主| 发表于 2019-11-18 16:28:55 | 显示全部楼层
You have been opted out of telemetry. To change this, run: cordova telemetry on.
      args.nofetch undefined
      Installing "cordova-plugin-openblemulti.OpenBlemulti" for android
      Installing "cordova-plugin-openblemulti.OpenBlemulti" for ios
      Adding cordova-plugin-openblemulti.OpenBlemulti to package.json
      Saved plugin info for "cordova-plugin-openblemulti.OpenBlemulti" to config.xml
      Installing "cordova-plugin-splashscreen" for android
      Installing "cordova-plugin-splashscreen" for ios
      Adding cordova-plugin-splashscreen to package.json
      Saved plugin info for "cordova-plugin-splashscreen" to config.xml
      Installing "cordova-plugin-app-preferences" for android
      Installing "cordova-plugin-app-preferences" for ios
      Adding cordova-plugin-app-preferences to package.json
      Saved plugin info for "cordova-plugin-app-preferences" to config.xml
      Installing "cordova-plugin-file" for android
      
      The Android Persistent storage location now defaults to "Internal". Please check this plugin's README to see if your application needs any changes in its config.xml.
      
      If this is a new application no changes are required.
      
      If this is an update to an existing application that did not specify an "AndroidPersistentFileLocation" you may need to add:
      
            "<preference name="AndroidPersistentFileLocation" value="Compatibility" />"
      
      to config.xml in order for the application to find previously stored files.
              
      Installing "cordova-plugin-file" for ios
      Adding cordova-plugin-file to package.json
      Saved plugin info for "cordova-plugin-file" to config.xml
      Installing "cordova-plugin-file-transfer" for android
      Plugin dependency "cordova-plugin-file@5.0.1-dev" already fetched, using that version.
      Dependent plugin "cordova-plugin-file" already installed on android.
      Installing "cordova-plugin-file-transfer" for ios
      Plugin dependency "cordova-plugin-file@5.0.1-dev" already fetched, using that version.
      Dependent plugin "cordova-plugin-file" already installed on ios.
      Adding cordova-plugin-file-transfer to package.json
      Saved plugin info for "cordova-plugin-file-transfer" to config.xml
      Installing "cordova-plugin-network-information" for android
      Installing "cordova-plugin-network-information" for ios
      Adding cordova-plugin-network-information to package.json
      Saved plugin info for "cordova-plugin-network-information" to config.xml
      Installing "cordova-plugin-zip" for android
      Plugin dependency "cordova-plugin-file@5.0.1-dev" already fetched, using that version.
      Dependent plugin "cordova-plugin-file" already installed on android.
      Installing "cordova-plugin-zip" for ios
      Plugin dependency "cordova-plugin-file@5.0.1-dev" already fetched, using that version.
      Dependent plugin "cordova-plugin-file" already installed on ios.
      Adding cordova-plugin-zip to package.json
      Saved plugin info for "cordova-plugin-zip" to config.xml
      Installing "cordova-plugin-inappbrowser" for android
      Installing "cordova-plugin-inappbrowser" for ios
      Adding cordova-plugin-inappbrowser to package.json
      Saved plugin info for "cordova-plugin-inappbrowser" to config.xml
      Installing "cordova-plugin-x-toast" for android
      Installing "cordova-plugin-x-toast" for ios
      Adding cordova-plugin-x-toast to package.json
      Saved plugin info for "cordova-plugin-x-toast" to config.xml
      Installing "com.justep.cordova.plugin.app.utils" for android
      Plugin dependency "cordova-plugin-file@5.0.1-dev" already fetched, using that version.
      Dependent plugin "cordova-plugin-file" already installed on android.
      Plugin dependency "cordova-plugin-file-transfer@1.5.0" already fetched, using that version.
      Dependent plugin "cordova-plugin-file-transfer" already installed on android.
      Plugin dependency "cordova-plugin-network-information@1.2.0" already fetched, using that version.
      Dependent plugin "cordova-plugin-network-information" already installed on android.
      Plugin dependency "cordova-plugin-zip@3.0.0" already fetched, using that version.
      Dependent plugin "cordova-plugin-zip" already installed on android.
      Plugin dependency "cordova-plugin-inappbrowser@1.1.1" already fetched, using that version.
      Dependent plugin "cordova-plugin-inappbrowser" already installed on android.
      Plugin dependency "cordova-plugin-x-toast@2.4.0" already fetched, using that version.
      Dependent plugin "cordova-plugin-x-toast" already installed on android.
      Installing "com.justep.cordova.plugin.app.utils" for ios
      Plugin dependency "cordova-plugin-file@5.0.1-dev" already fetched, using that version.
      Dependent plugin "cordova-plugin-file" already installed on ios.
      Plugin dependency "cordova-plugin-file-transfer@1.5.0" already fetched, using that version.
      Dependent plugin "cordova-plugin-file-transfer" already installed on ios.
      Plugin dependency "cordova-plugin-network-information@1.2.0" already fetched, using that version.
      Dependent plugin "cordova-plugin-network-information" already installed on ios.
      Plugin dependency "cordova-plugin-zip@3.0.0" already fetched, using that version.
      Dependent plugin "cordova-plugin-zip" already installed on ios.
      Plugin dependency "cordova-plugin-inappbrowser@1.1.1" already fetched, using that version.
      Dependent plugin "cordova-plugin-inappbrowser" already installed on ios.
      Plugin dependency "cordova-plugin-x-toast@2.4.0" already fetched, using that version.
      Dependent plugin "cordova-plugin-x-toast" already installed on ios.
      Adding com.justep.cordova.plugin.app.utils to package.json
      Saved plugin info for "com.justep.cordova.plugin.app.utils" to config.xml
      Installing "com.justep.cordova.plugin.engine.tencent" for android
      Installing "com.justep.cordova.plugin.engine.tencent" for ios
      Adding com.justep.cordova.plugin.engine.tencent to package.json
      Saved plugin info for "com.justep.cordova.plugin.engine.tencent" to config.xml
      Installing "cordova-plugin-app-version" for android
      Installing "cordova-plugin-app-version" for ios
      Adding cordova-plugin-app-version to package.json
      Saved plugin info for "cordova-plugin-app-version" to config.xml
      Installing "cordova-plugin-keyboard" for android
      Installing "cordova-plugin-keyboard" for ios
      Adding cordova-plugin-keyboard to package.json
      Saved plugin info for "cordova-plugin-keyboard" to config.xml
      Installing "cordova-plugin-spinner-dialog" for android
      Installing "cordova-plugin-spinner-dialog" for ios
      Adding cordova-plugin-spinner-dialog to package.json
      Saved plugin info for "cordova-plugin-spinner-dialog" to config.xml
      插件安装完成
      
   创建源代码工程:
      
   生成源代码:
      
   完成。
环境初始化:
   
   开始......
      
   生成应用环境准备:
      
   android应用环境准备:
      
   ios应用环境准备:
      
   生成android应用包:
      
      You have been opted out of telemetry. To change this, run: cordova telemetry on.
      args.nofetch undefined
      android project rename compelete!!!!!!
      ANDROID_HOME=D:\FZ_Wex5_3.8\tools\adt-sdk
      JAVA_HOME=D:\FZ_Wex5_3.8\java\jre1.8
      Parallel execution with configuration on demand is an incubating feature.
      :wrapper
      
      BUILD SUCCESSFUL
      
      Total time: 3.894 secs
      Subproject Path: CordovaLib
      Subproject Path: JustepGetContent
      NDK is missing a "platforms" directory.
      If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to D:\FZ_Wex5_3.8\tools\adt-sdk\ndk-bundle.
      If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
      
      The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
              at build_btduennwe68jm4uiht0beou1y.run(D:\FZ_Wex5_3.8\model\Native\t\build\src\platforms\android\build.gradle:148)
      NDK is missing a "platforms" directory.
      If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to D:\FZ_Wex5_3.8\tools\adt-sdk\ndk-bundle.
      If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
      
      NDK is missing a "platforms" directory.
      If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to D:\FZ_Wex5_3.8\tools\adt-sdk\ndk-bundle.
      If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
回复 支持 反对

使用道具 举报

9

主题

57

帖子

110

积分

初级会员

Rank: 2

积分
110
QQ
 楼主| 发表于 2019-11-18 16:30:10 | 显示全部楼层
Incremental java compilation is an incubating feature.
      :preBuild UP-TO-DATE
      :preDebugBuild UP-TO-DATE
      :checkDebugManifest
      :preReleaseBuild UP-TO-DATE
      :prepareComAndroidSupportAnimatedVectorDrawable2530Library
      :prepareComAndroidSupportAppcompatV72530Library
      :preDebugAndroidTestBuild UP-TO-DATE
      :prepareComAndroidSupportMultidex101Library
      :prepareComAndroidSupportSupportCompat2530Library
      :prepareComAndroidSupportSupportCoreUi2530Library
      :prepareComAndroidSupportSupportCoreUtils2530Library
      :prepareComAndroidSupportSupportFragment2530Library
      :prepareComAndroidSupportSupportMediaCompat2530Library
      :prepareComAndroidSupportSupportV42530Library
      :prepareComAndroidSupportSupportVectorDrawable2530Library
      :prepareComGithubChrisbanesPhotoviewLibrary124Library
      :prepareImagepickerReleaseLibrary
      :CordovaLib:preBuild UP-TO-DATE
      :CordovaLib:preReleaseBuild UP-TO-DATE
      :CordovaLib:checkReleaseManifest
      :CordovaLib:preDebugAndroidTestBuild UP-TO-DATE
      :CordovaLib:preDebugBuild UP-TO-DATE
      :CordovaLib:preDebugUnitTestBuild UP-TO-DATE
      :CordovaLib:preReleaseUnitTestBuild UP-TO-DATE
      :CordovaLib:prepareComAndroidSupportAnimatedVectorDrawable2530Library
      :CordovaLib:prepareComAndroidSupportAppcompatV72530Library
      :CordovaLib:prepareComAndroidSupportSupportCompat2530Library
      :CordovaLib:prepareComAndroidSupportSupportCoreUi2530Library
      :CordovaLib:prepareComAndroidSupportSupportCoreUtils2530Library
      :CordovaLib:prepareComAndroidSupportSupportFragment2530Library
      :CordovaLib:prepareComAndroidSupportSupportMediaCompat2530Library
      :CordovaLib:prepareComAndroidSupportSupportV42530Library
      :CordovaLib:prepareComAndroidSupportSupportVectorDrawable2530Library
      :CordovaLib:prepareComGithubChrisbanesPhotoviewLibrary124Library
      :CordovaLib:prepareImagepickerReleaseLibrary
      :JustepGetContent:preBuild UP-TO-DATE
      :JustepGetContent:preReleaseBuild UP-TO-DATE
      :JustepGetContent:checkReleaseManifest
      :JustepGetContent:preDebugAndroidTestBuild UP-TO-DATE
      :JustepGetContent:preDebugBuild UP-TO-DATE
      :JustepGetContent:preDebugUnitTestBuild UP-TO-DATE
      :JustepGetContent:preReleaseUnitTestBuild UP-TO-DATE
      :JustepGetContent:prepareComAndroidSupportAnimatedVectorDrawable2530Library
      :JustepGetContent:prepareComAndroidSupportAppcompatV72530Library
      :JustepGetContent:prepareComAndroidSupportSupportCompat2530Library
      :JustepGetContent:prepareComAndroidSupportSupportCoreUi2530Library
      :JustepGetContent:prepareComAndroidSupportSupportCoreUtils2530Library
      :JustepGetContent:prepareComAndroidSupportSupportFragment2530Library
      :JustepGetContent:prepareComAndroidSupportSupportMediaCompat2530Library
      :JustepGetContent:prepareComAndroidSupportSupportV42530Library
      :JustepGetContent:prepareComAndroidSupportSupportVectorDrawable2530Library
      :JustepGetContent:prepareComGithubChrisbanesPhotoviewLibrary124Library
      :JustepGetContent:prepareImagepickerReleaseLibrary
      :JustepGetContent:prepareReleaseDependencies
      :JustepGetContent:compileReleaseAidl
      :JustepGetContent:compileReleaseNdk UP-TO-DATE
      :JustepGetContent:compileLint
      :JustepGetContent:copyReleaseLint UP-TO-DATE
      :JustepGetContent:compileReleaseRenderscript
      :JustepGetContent:generateReleaseBuildConfig
      :JustepGetContent:generateReleaseResValues
      :JustepGetContent:generateReleaseResources
      :JustepGetContent:mergeReleaseResources
      :JustepGetContent:processReleaseManifest
      :JustepGetContent:processReleaseResources
      :JustepGetContent:generateReleaseSources
      :JustepGetContent:incrementalReleaseJavaCompilationSafeguard
      :JustepGetContent:javaPreCompileRelease
      :JustepGetContent:compileReleaseJavaWithJavac
      :JustepGetContent:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
      注: 某些锟斤拷锟斤拷锟侥硷拷使锟矫或覆革拷锟斤拷锟窖癸拷时锟斤拷 API锟斤拷
      注: 锟叫癸拷锟斤拷细锟斤拷息, 锟斤拷使锟斤拷 -Xlint:deprecation 锟斤拷锟铰憋拷锟诫。
      注: D:\FZ_Wex5_3.8\model\Native\t\build\src\platforms\android\JustepGetContent\src\main\java\com\justep\x5\support\chooser\FileUploadChooserActivity.java使锟斤拷锟斤拷未锟斤拷锟斤拷锟斤拷锟津不帮拷全锟侥诧拷锟斤拷锟斤拷
      注: 锟叫癸拷锟斤拷细锟斤拷息, 锟斤拷使锟斤拷 -Xlint:unchecked 锟斤拷锟铰憋拷锟诫。
      :JustepGetContent:extractReleaseAnnotations
      :JustepGetContent:mergeReleaseShaders
      :JustepGetContent:compileReleaseShaders
      :JustepGetContent:generateReleaseAssets
      :JustepGetContent:mergeReleaseAssets
      :JustepGetContent:mergeReleaseProguardFiles
      :JustepGetContent:packageReleaseRenderscript UP-TO-DATE
      :JustepGetContent:packageReleaseResources
      :JustepGetContent:processReleaseJavaRes UP-TO-DATE
      :JustepGetContent:transformResourcesWithMergeJavaResForRelease
      :JustepGetContent:transformClassesAndResourcesWithSyncLibJarsForRelease
      :JustepGetContent:mergeReleaseJniLibFolders
      :JustepGetContent:transformNativeLibsWithMergeJniLibsForRelease
      :JustepGetContent:transformNativeLibsWithSyncJniLibsForRelease
      :JustepGetContent:bundleRelease
      :CordovaLib:prepareReleaseDependencies
      :CordovaLib:compileReleaseAidl
      :CordovaLib:compileReleaseNdk UP-TO-DATE
      :CordovaLib:compileLint
      :CordovaLib:copyReleaseLint UP-TO-DATE
      :CordovaLib:compileReleaseRenderscript
      :CordovaLib:generateReleaseBuildConfig
      :CordovaLib:generateReleaseResValues
      :CordovaLib:generateReleaseResources
      :CordovaLib:mergeReleaseResources
      :CordovaLib:processReleaseManifest
      :CordovaLib:processReleaseResources
      :CordovaLib:generateReleaseSources
      :CordovaLib:incrementalReleaseJavaCompilationSafeguard
      :CordovaLib:javaPreCompileRelease
      :CordovaLib:compileReleaseJavaWithJavac
      :CordovaLib:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
      注: 某些锟斤拷锟斤拷锟侥硷拷使锟矫或覆革拷锟斤拷锟窖癸拷时锟斤拷 API锟斤拷
      注: 锟叫癸拷锟斤拷细锟斤拷息, 锟斤拷使锟斤拷 -Xlint:deprecation 锟斤拷锟铰憋拷锟诫。
      :CordovaLib:extractReleaseAnnotations
      :CordovaLib:mergeReleaseShaders
      :CordovaLib:compileReleaseShaders
      :CordovaLib:generateReleaseAssets
      :CordovaLib:mergeReleaseAssets
      :CordovaLib:mergeReleaseProguardFiles
      :CordovaLib:packageReleaseRenderscript UP-TO-DATE
      :CordovaLib:packageReleaseResources
      :CordovaLib:processReleaseJavaRes UP-TO-DATE
      :CordovaLib:transformResourcesWithMergeJavaResForRelease
      :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease
      :CordovaLib:mergeReleaseJniLibFolders
      :CordovaLib:transformNativeLibsWithMergeJniLibsForRelease
      :CordovaLib:transformNativeLibsWithSyncJniLibsForRelease
      :CordovaLib:bundleRelease
      :prepareDebugDependencies
      :compileDebugAidl
      :compileDebugRenderscript
      :generateDebugBuildConfig
      :generateDebugResValues
      :generateDebugResources
      :mergeDebugResources
      :processDebugManifest
      :processDebugResources
      :generateDebugSources
      :incrementalDebugJavaCompilationSafeguard
      :javaPreCompileDebug
      :compileDebugJavaWithJavac
      :compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
      D:\FZ_Wex5_3.8\model\Native\t\build\src\platforms\android\src\com\plugin\OpenBlemulti.java:7: 锟斤拷锟斤拷: 锟斤拷锟斤拷锟斤拷android.support.design.widget锟斤拷锟斤拷锟斤拷
      import android.support.design.widget.Snackbar;
                                          ^
      D:\FZ_Wex5_3.8\model\Native\t\build\src\platforms\android\src\com\plugin\OpenBlemulti.java:12: 锟斤拷锟斤拷: 锟斤拷锟斤拷锟斤拷com.sytest.app.blemulti.activity锟斤拷锟斤拷锟斤拷
      import com.sytest.app.blemulti.activity.BledemoActivity;
                                             ^
      D:\FZ_Wex5_3.8\model\Native\t\build\src\platforms\android\src\com\plugin\OpenBlemulti.java:13: 锟斤拷锟斤拷: 锟斤拷锟斤拷锟斤拷com.sytest.app.blemulti.adapter锟斤拷锟斤拷锟斤拷
      import com.sytest.app.blemulti.adapter.BleScanAdapter;
                                            ^
回复 支持 反对

使用道具 举报

9

主题

57

帖子

110

积分

初级会员

Rank: 2

积分
110
QQ
 楼主| 发表于 2019-11-18 16:30:51 | 显示全部楼层
D:\FZ_Wex5_3.8\model\Native\t\build\src\platforms\android\src\com\plugin\OpenBlemulti.java:16: 锟斤拷锟斤拷: 锟揭诧拷锟斤拷锟斤拷锟斤拷
      import com.sytest.app.blemulti.exception.ScanException;
                                              ^
        锟斤拷锟斤拷:   锟斤拷 ScanException
        位锟斤拷: 锟斤拷锟斤拷锟斤拷 com.sytest.app.blemulti.exception
      D:\FZ_Wex5_3.8\model\Native\t\build\src\platforms\android\src\com\plugin\OpenBlemulti.java:24: 锟斤拷锟斤拷: 锟揭诧拷锟斤拷锟斤拷锟斤拷
      import com.sytest.app.blemulti.util.ToastUtils;
                                         ^
        锟斤拷锟斤拷:   锟斤拷 ToastUtils
        位锟斤拷: 锟斤拷锟斤拷锟斤拷 com.sytest.app.blemulti.util
      D:\FZ_Wex5_3.8\model\Native\t\build\src\platforms\android\src\com\plugin\OpenBlemulti.java:35: 锟斤拷锟斤拷: 锟揭诧拷锟斤拷锟斤拷锟斤拷
      import static com.sytest.app.blemulti.easy.Recipe.TYPE_Peak;
      ^
        锟斤拷锟斤拷:   锟斤拷态 TYPE_Peak
        位锟斤拷: 锟斤拷
      D:\FZ_Wex5_3.8\model\Native\t\build\src\platforms\android\src\com\plugin\OpenBlemulti.java:93: 锟斤拷锟斤拷: 锟揭诧拷锟斤拷锟斤拷锟斤拷
                  }catch (ScanException e){
                          ^
        锟斤拷锟斤拷:   锟斤拷 ScanException
        位锟斤拷: 锟斤拷 OpenBlemulti
      D:\FZ_Wex5_3.8\model\Native\t\build\src\platforms\android\src\com\plugin\OpenBlemulti.java:104: 锟斤拷锟斤拷: 锟睫凤拷锟斤拷锟斤拷 Rat锟叫的凤拷锟斤拷 connectDevice_Normal应锟矫碉拷锟斤拷锟斤拷锟斤拷锟斤拷;
                  Rat.getInstance().connectDevice_Normal(autoConn,mac, new SucFail() {
                                   ^
        锟斤拷要: String,SucFail
        锟揭碉拷: boolean,String,<锟斤拷锟斤拷SucFail>
        原锟斤拷: 实锟绞诧拷锟斤拷锟叫憋拷锟斤拷锟斤拷式锟斤拷锟斤拷锟叫憋拷锟斤拷锟饺诧拷同
      D:\FZ_Wex5_3.8\model\Native\t\build\src\platforms\android\src\com\plugin\OpenBlemulti.java:243: 锟斤拷锟斤拷: 锟揭诧拷锟斤拷锟斤拷锟斤拷
                                  ToastUtils.showLong(msg);
                                  ^
        锟斤拷锟斤拷: 锟斤拷锟斤拷 ToastUtils
      D:\FZ_Wex5_3.8\model\Native\t\build\src\platforms\android\src\com\plugin\OpenBlemulti.java:257: 锟斤拷锟斤拷: 锟揭诧拷锟斤拷锟斤拷锟斤拷
                                  ToastUtils.showLong("锟睫改成癸拷");
                                  ^
        锟斤拷锟斤拷: 锟斤拷锟斤拷 ToastUtils
      D:\FZ_Wex5_3.8\model\Native\t\build\src\platforms\android\src\com\plugin\OpenBlemulti.java:262: 锟斤拷锟斤拷: 锟揭诧拷锟斤拷锟斤拷锟斤拷
                                  ToastUtils.showLong("锟睫革拷失锟斤拷");
                                  ^
        锟斤拷锟斤拷: 锟斤拷锟斤拷 ToastUtils
      D:\FZ_Wex5_3.8\model\Native\t\build\src\platforms\android\src\com\plugin\OpenBlemulti.java:307: 锟斤拷锟斤拷: 锟揭诧拷锟斤拷锟斤拷锟斤拷
                                      ToastUtils.showLong("锟睫改成癸拷锟斤拷\n锟斤拷锟斤拷小蘑锟斤拷锟斤拷锟斤拷锟斤拷锟襟即匡拷锟斤拷效");
                                      ^
        锟斤拷锟斤拷: 锟斤拷锟斤拷 ToastUtils
      D:\FZ_Wex5_3.8\model\Native\t\build\src\platforms\android\src\com\plugin\OpenBlemulti.java:312: 锟斤拷锟斤拷: 锟揭诧拷锟斤拷锟斤拷锟斤拷
                                      ToastUtils.showLong("锟睫革拷失锟杰o拷\n原锟斤拷锟斤拷" + msg);
                                      ^
        锟斤拷锟斤拷: 锟斤拷锟斤拷 ToastUtils
      D:\FZ_Wex5_3.8\model\Native\t\build\src\platforms\android\src\com\plugin\OpenBlemulti.java:343: 锟斤拷锟斤拷: 锟揭诧拷锟斤拷锟斤拷锟斤拷
                                  ToastUtils.showLong("锟缴硷拷锟斤拷锟斤拷锟斤拷\n原锟斤拷锟斤拷" + msg);
                                  ^
        锟斤拷锟斤拷: 锟斤拷锟斤拷 ToastUtils
      D:\FZ_Wex5_3.8\model\Native\t\build\src\platforms\android\src\com\plugin\OpenBlemulti.java:368: 锟斤拷锟斤拷: 锟揭诧拷锟斤拷锟斤拷锟斤拷
                                  ToastUtils.showLong("锟缴硷拷锟斤拷锟斤拷锟斤拷\n原锟斤拷锟斤拷" + msg);
                                  ^
        锟斤拷锟斤拷: 锟斤拷锟斤拷 ToastUtils
      D:\FZ_Wex5_3.8\model\Native\t\build\src\platforms\android\src\com\plugin\OpenBlemulti.java:394: 锟斤拷锟斤拷: 锟揭诧拷锟斤拷锟斤拷锟斤拷
                                  ToastUtils.showLong("锟缴硷拷锟斤拷锟斤拷锟斤拷\n原锟斤拷锟斤拷" + msg);
                                  ^
        锟斤拷锟斤拷: 锟斤拷锟斤拷 ToastUtils
      D:\FZ_Wex5_3.8\model\Native\t\build\src\platforms\android\src\com\plugin\OpenBlemulti.java:404: 锟斤拷锟斤拷: 锟揭诧拷锟斤拷锟斤拷锟斤拷
                  Float peek = Recipe.newInstance(bleDevice). Cal_CharacterValue(character, SignalType, mathValue);
                                                            ^
        锟斤拷锟斤拷:   锟斤拷锟斤拷 Cal_CharacterValue(int,byte,float)
        位锟斤拷: 锟斤拷 Recipe
      注: 某些锟斤拷锟斤拷锟侥硷拷使锟矫或覆革拷锟斤拷锟窖癸拷时锟斤拷 API锟斤拷
      注: 锟叫癸拷锟斤拷细锟斤拷息, 锟斤拷使锟斤拷 -Xlint:deprecation 锟斤拷锟铰憋拷锟诫。
      注: 某些锟斤拷锟斤拷锟侥硷拷使锟斤拷锟斤拷未锟斤拷锟斤拷锟斤拷锟津不帮拷全锟侥诧拷锟斤拷锟斤拷
      注: 锟叫癸拷锟斤拷细锟斤拷息, 锟斤拷使锟斤拷 -Xlint:unchecked 锟斤拷锟铰憋拷锟诫。
      17 锟斤拷锟斤拷锟紼rror: invalid data
   ****ERROR****: 子任务 "exec" 执行失败。
   ****ERROR****: 任务 "buildAndroid" 执行失败。
   ****ERROR****: 执行出错:
   ****ERROR****: 错误信息: exec returned: 1
   ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
   C:\Users\Administrator\AppData\Local\Temp\5591f779-423d-4360-96bb-3c1008ef3a64\pack.xml:91: exec returned: 1
           at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
           at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
           at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
           at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
           at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:497)
           at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           at org.apache.tools.ant.Task.perform(Task.java:348)
           at org.apache.tools.ant.Target.execute(Target.java:435)
           at org.apache.tools.ant.Target.performTasks(Target.java:456)
           at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
           at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
           at com.justep.deploy.app.utils.BuildHelper.execTask(Unknown Source)
           at com.justep.deploy.app.utils.Builder.main(Unknown Source)
****ERROR****: 子任务 "java" 执行失败。
****ERROR****: 任务 "pack" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: -3
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
回复 支持 反对

使用道具 举报

9

主题

57

帖子

110

积分

初级会员

Rank: 2

积分
110
QQ
 楼主| 发表于 2019-11-18 16:33:10 | 显示全部楼层
以上是报错信息,那个大佬能指教一下到底错在哪里了。。。。。jar包,aar也在配置文件中引用了,为啥还是报错呢。。。。。。
b.png
回复 支持 反对

使用道具 举报

9

主题

57

帖子

110

积分

初级会员

Rank: 2

积分
110
QQ
 楼主| 发表于 2019-11-18 16:34:11 | 显示全部楼层
好歹搭理一下行不行
回复 支持 反对

使用道具 举报

9

主题

57

帖子

110

积分

初级会员

Rank: 2

积分
110
QQ
 楼主| 发表于 2019-11-19 11:33:11 | 显示全部楼层
自己终于找到原因了。。。。留下解决方法,供以后遇到的人参考。
自己做的cordova插件,如果带了aar或者jar包什么的,记得加上一个gradle文件,并把文件配置到plugin.xml文件中
d.png
c.png
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-11-22 14:15 , Processed in 0.061313 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表