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

QQ登录

只需一步,快速开始

查看: 2157|回复: 1

[处理中3] 升级到3.8后发布中报错如下表,什么原因

[复制链接]

55

主题

65

帖子

231

积分

中级会员

Rank: 3Rank: 3

积分
231
QQ
发表于 2019-2-13 17:40:27 | 显示全部楼层 |阅读模式
      Total time: 26.032 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:\wex7\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_81w5rq6nftgd0birjadzxow67.run(D:\wex7\model\Native\锟角伙拷农锟斤拷\build\src\platforms\android\build.gradle:149)
      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:\wex7\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:\wex7\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.
      
    ugBuildConfig
      :generateDebugResValues
      :generateDebugResources
      :mergeDebugResources
      :processDebugManifest
      :processDebugResources
      :generateDebugSources
      :incrementalDebugJavaCompilationSafeguard
      :javaPreCompileDebug
      :compileDebugJavaWithJavac
      :compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
      D:\wex7\model\Native\锟角伙拷农锟斤拷\build\src\platforms\android\src\com\phonegap\plugins\barcodescanner\BarcodeScanner.java:27: 锟斤拷锟斤拷: 锟斤拷锟斤拷锟斤拷com.legendmohe.permissionutil锟斤拷锟斤拷锟斤拷
      import com.legendmohe.permissionutil.PermissionUtil;
                                          ^
      D:\wex7\model\Native\锟角伙拷农锟斤拷\build\src\platforms\android\src\com\phonegap\plugins\barcodescanner\BarcodeScanner.java:114: 锟斤拷锟斤拷: 锟斤拷锟斤拷锟斤拷PermissionUtil锟斤拷锟斤拷锟斤拷
                  .setCallback(new PermissionUtil.Callback() {
                                                 ^
      D:\wex7\model\Native\锟角伙拷农锟斤拷\build\src\platforms\android\src\com\phonegap\plugins\barcodescanner\BarcodeScanner.java:112: 锟斤拷锟斤拷: 锟揭诧拷锟斤拷锟斤拷锟斤拷
                PermissionUtil.with(this.cordova.getActivity()) // Activity or Fragment
                ^
        锟斤拷锟斤拷:   锟斤拷锟斤拷 PermissionUtil
        位锟斤拷: 锟斤拷 BarcodeScanner
      注: 某些锟斤拷锟斤拷锟侥硷拷使锟矫或覆革拷锟斤拷锟窖癸拷时锟斤拷 API锟斤拷
      注: 锟叫癸拷锟斤拷细锟斤拷息, 锟斤拷使锟斤拷 -Xlint:deprecation 锟斤拷锟铰憋拷锟诫。
      注: 某些锟斤拷锟斤拷锟侥硷拷使锟斤拷锟斤拷未锟斤拷锟斤拷锟斤拷锟津不帮拷全锟侥诧拷锟斤拷锟斤拷
      注: 锟叫癸拷锟斤拷细锟斤拷息, 锟斤拷使锟斤拷 -Xlint:unchecked 锟斤拷锟铰憋拷锟诫。
   C:\Users\lenovo\AppData\Local\Temp\894729e5-5b6e-4efe-b62d-7fa9faf4c09a\pack.xml:91: exec returned: 1
      3 锟斤拷锟斤拷锟紼rror: invalid data
   ****ERROR****: 子任务 "exec" 执行失败。
   ****ERROR****: 任务 "buildAndroid" 执行失败。
           at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
           at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
   ****ERROR****: 执行出错:
   ****ERROR****: 错误信息: exec returned: 1        at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
发表于 2019-5-14 17:45:00 | 显示全部楼层
报错信息  
barcodescanner  插件有更新导致的吧!
参考更新版本案例中插件的引用!
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-19 23:44 , Processed in 0.056114 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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