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

QQ登录

只需一步,快速开始

查看: 2419|回复: 5

[处理中3] 打包报错

[复制链接]

105

主题

390

帖子

698

积分

高级会员

Rank: 4

积分
698
QQ
发表于 2017-12-8 17:00:59 | 显示全部楼层 |阅读模式
开始......
   
保存配置信息:
   
环境初始化:
   
编译UI2资源:
   开始......
      
   [JUSTEP_HOME in UIServer]: D:\WeX5_V3.7
   2017-12-08 16:50:58 参数1: D:\WeX5_V3.7/runtime/UIServer
   2017-12-08 16:50:58 参数2:
   2017-12-08 16:50:58 参数3: D:/WeX5_V3.7/model/Native/hello/www
   2017-12-08 16:50:58 参数4:
   2017-12-08 16:50:58 参数5:
   2017-12-08 16:50:58 参数6: /UI2/hello/index.w
   2017-12-08 16:50:58 参数7: 1
   2017-12-08 16:50:58 参数8: v-QZVFZb-zh_CN-
   2017-12-08 16:50:58 参数9:
   [JUSTEP_HOME in UIServer]: D:\WeX5_V3.7
   2017-12-08 16:50:58 参数0: D:\WeX5_V3.7/runtime/UIServer
   2017-12-08 16:50:58 参数1:
   2017-12-08 16:50:58 参数2: D:/WeX5_V3.7/model/Native/hello/www
   2017-12-08 16:50:58 参数3:
   2017-12-08 16:50:58 参数4:
   2017-12-08 16:50:58 参数5: /UI2/hello/index.w
   2017-12-08 16:50:58 参数6: 1
   2017-12-08 16:50:58 参数7: v-QZVFZb-zh_CN-
   2017-12-08 16:50:58 参数8:
   2017-12-08 16:50:58 输出目录:D:\WeX5_V3.7\model\Native\hello\www
   2017-12-08 16:50:58 开始清空输出目录...
   2017-12-08 16:50:58 清空输出目录成功
   2017-12-08 16:50:58 开始编译...
   2017-12-08 16:50:59 开始编译WINDOW文件: /UI2/hello/index.w
   2017-12-08 16:50:59 开始-WINDOW生成中间文件: /UI2/hello/index.w
   2017-12-08 16:50:59 加载模块:/UI2/system/components/justep/window/server ...
   2017-12-08 16:50:59 加载模块:/UI2/system/components/justep/window/server
   2017-12-08 16:50:59 加载模块:/UI2/system/components/justep/model/server ...
   2017-12-08 16:50:59 加载模块:/UI2/system/components/justep/model/server
   2017-12-08 16:50:59 加载模块:/UI2/system/components/justep/panel/server ...
   2017-12-08 16:50:59 加载模块:/UI2/system/components/justep/common/server ...
   2017-12-08 16:50:59 加载模块:/UI2/system/resources ...
   2017-12-08 16:50:59 加载模块:/UI2/system/resources
   2017-12-08 16:50:59 加载模块:/UI2/system/components/justep/common/server
   2017-12-08 16:50:59 加载模块:/UI2/system/components/justep/panel/server
   2017-12-08 16:50:59 加载模块:/UI2/system/components/justep/titleBar/server ...
   2017-12-08 16:50:59 加载模块:/UI2/system/components/justep/titleBar/server
   2017-12-08 16:50:59 结束-WINDOW生成中间文件: /UI2/hello/index.w
   2017-12-08 16:50:59 开始-中间文件生成缓存文件: /UI2/hello/index.w
   2017-12-08 16:50:59 结束-中间文件生成缓存文件: /UI2/hello/index.w
   2017-12-08 16:50:59 结束编译WINDOW文件: /UI2/hello/index.w
   2017-12-08 16:51:01 编译Window数:1
   2017-12-08 16:51:01 编译Window成功数:1
   2017-12-08 16:51:01 编译Window失败数:0
   2017-12-08 16:51:01 编译成功
   2017-12-08 16:51:01 开始复制资源...
   2017-12-08 16:51:02 复制资源成功
   2017-12-08 16:51:02 开始生成首页...
   2017-12-08 16:51:02 生成首页成功
   2017-12-08 16:51:02 cordova plugin: cordova-plugin-x-toast,cordova-plugin-inappbrowser,cordova-plugin-app-version,cordova-plugin-spinner-dialog,cordova-plugin-keyboard,com.justep.cordova.plugin.baidulocation,
   2017-12-08 16:51:02 services:
   编译UI资源:
      
   完成。
   
编译UIX资源:
   
编译UI资源:
   
环境初始化:
   
   开始......
      
   生成应用环境准备:
      
   复制模版工程:
      
   复制工程:
      
   复制WWW资源:
      
   更新工程信息:
      
   增加插件:
      使用到的插件: [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-spinner-dialog, cordova-plugin-keyboard, com.justep.cordova.plugin.baidulocation]
      开始安装插件......
      开始准备插件参数......
      插件 "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-spinner-dialog" 参数如下:
      插件 "cordova-plugin-keyboard" 参数如下:
      插件 "com.justep.cordova.plugin.baidulocation" 参数如下:
      插件参数准备完成
      Installing "cordova-plugin-splashscreen" for android
      Installing "cordova-plugin-splashscreen" for ios
      Installing "cordova-plugin-app-preferences" for android
      Installing "cordova-plugin-app-preferences" for ios
      Installing "cordova-plugin-file" for android
      Installing "cordova-plugin-file" for ios
      Installing "cordova-plugin-file-transfer" for android
      Dependent plugin "cordova-plugin-file" already installed on android.
      Installing "cordova-plugin-file-transfer" for ios
      Dependent plugin "cordova-plugin-file" already installed on ios.
      Installing "cordova-plugin-network-information" for android
      Installing "cordova-plugin-network-information" for ios
      Installing "cordova-plugin-zip" for android
      Dependent plugin "cordova-plugin-file" already installed on android.
      Installing "cordova-plugin-zip" for ios
      Dependent plugin "cordova-plugin-file" already installed on ios.
      Installing "cordova-plugin-inappbrowser" for android
      Installing "cordova-plugin-inappbrowser" for ios
      Installing "cordova-plugin-x-toast" for android
      Installing "cordova-plugin-x-toast" for ios
      Installing "com.justep.cordova.plugin.app.utils" for android
      Dependent plugin "cordova-plugin-file" already installed on android.
      Dependent plugin "cordova-plugin-file-transfer" already installed on android.
      Dependent plugin "cordova-plugin-network-information" already installed on android.
      Dependent plugin "cordova-plugin-zip" already installed on android.
      Dependent plugin "cordova-plugin-inappbrowser" already installed on android.
      Dependent plugin "cordova-plugin-x-toast" already installed on android.
      Installing "com.justep.cordova.plugin.app.utils" for ios
      Dependent plugin "cordova-plugin-file" already installed on ios.
      Dependent plugin "cordova-plugin-file-transfer" already installed on ios.
      Dependent plugin "cordova-plugin-network-information" already installed on ios.
      Dependent plugin "cordova-plugin-zip" already installed on ios.
      Dependent plugin "cordova-plugin-inappbrowser" already installed on ios.
      Dependent plugin "cordova-plugin-x-toast" already installed on ios.
      Installing "com.justep.cordova.plugin.engine.tencent" for android
      Installing "com.justep.cordova.plugin.engine.tencent" for ios
      Installing "cordova-plugin-app-version" for android
      Installing "cordova-plugin-app-version" for ios
      Installing "cordova-plugin-spinner-dialog" for android
      Installing "cordova-plugin-spinner-dialog" for ios
      Installing "cordova-plugin-keyboard" for android
      Installing "cordova-plugin-keyboard" for ios
      Installing "com.justep.cordova.plugin.baidulocation" for android
      Installing "com.justep.cordova.plugin.baidulocation" for ios
      插件安装完成
      
   创建源代码工程:
      
   生成源代码:
      
   完成。
环境初始化:
   
   

105

主题

390

帖子

698

积分

高级会员

Rank: 4

积分
698
QQ
 楼主| 发表于 2017-12-8 17:01:23 | 显示全部楼层
开始......
      
   生成应用环境准备:
      
   android应用环境准备:
      
   ios应用环境准备:
      
   生成android应用包:
      Running command: cmd "/s /c "D:\WeX5_V3.7\model\Native\hello\build\src\platforms\android\cordova\build.bat --debug --gradleArg=--offline""
      ANDROID_HOME=D:\WeX5_V3.7\tools\adt-sdk
      JAVA_HOME=D:\WeX5_V3.7\java\jre1.8
      Running: D:\WeX5_V3.7\model\Native\hello\build\src\platforms\android\gradlew cdvBuildDebug -b D:\WeX5_V3.7\model\Native\hello\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline
      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:\WeX5_V3.7\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_b9xkwsih0ugj2kswnmeadexb5.run(D:\WeX5_V3.7\model\Native\hello\build\src\platforms\android\build.gradle:154)
      WARNING: The `android.dexOptions.incremental` property is deprecated and it has no effect on the build process.
      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:\WeX5_V3.7\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:\WeX5_V3.7\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.
      
      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
      :prepareComLegendmoheMavenPermissionutil02Library
      :CordovaLib:preBuild UP-TO-DATE
      :CordovaLib:preDebugBuild UP-TO-DATE
      :CordovaLib:checkDebugManifest
      :CordovaLib:preDebugAndroidTestBuild UP-TO-DATE
      :CordovaLib:preDebugUnitTestBuild UP-TO-DATE
      :CordovaLib:preReleaseBuild 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
      :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: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:\WeX5_V3.7\model\Native\hello\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:prepareDebugDependencies
      :CordovaLib:compileDebugAidl
      :CordovaLib:compileDebugNdk UP-TO-DATE
      :CordovaLib:compileLint
      :CordovaLib:copyDebugLint UP-TO-DATE
      :CordovaLib:compileDebugRenderscript
      :CordovaLib:generateDebugBuildConfig
      :CordovaLib:generateDebugResValues
      :CordovaLib:generateDebugResources
     
回复 支持 反对

使用道具 举报

105

主题

390

帖子

698

积分

高级会员

Rank: 4

积分
698
QQ
 楼主| 发表于 2017-12-8 17:02:50 | 显示全部楼层
:CordovaLib:mergeDebugResources
      :CordovaLib:processDebugManifest
      :CordovaLib:processDebugResources
      :CordovaLib:generateDebugSources
      :CordovaLib:incrementalDebugJavaCompilationSafeguard
      :CordovaLib:javaPreCompileDebug
      :CordovaLib:compileDebugJavaWithJavac
      :CordovaLib:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
      注: 某些输入文件使用或覆盖了已过时的 API。
      注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
      :CordovaLib:extractDebugAnnotations
      :CordovaLib:mergeDebugShaders
      :CordovaLib:compileDebugShaders
      :CordovaLib:generateDebugAssets
      :CordovaLib:mergeDebugAssets
      :CordovaLib:mergeDebugProguardFiles
      :CordovaLib:packageDebugRenderscript UP-TO-DATE
      :CordovaLib:packageDebugResources
      :CordovaLib:processDebugJavaRes UP-TO-DATE
      :CordovaLib:transformResourcesWithMergeJavaResForDebug
      :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug
      :CordovaLib:mergeDebugJniLibFolders
      :CordovaLib:transformNativeLibsWithMergeJniLibsForDebug
      :CordovaLib:transformNativeLibsWithSyncJniLibsForDebug
      :CordovaLib:bundleDebug
      :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:\WeX5_V3.7\model\Native\hello\build\src\platforms\android\src\com\justep\cordova\plugin\baidulocation\BaiduLocation.java:160: 错误: 找不到符号
              LocationManager myLocationManager = (LocationManager) cordova.getActivity().getSystemService(Context.LOCATION_SERVICE);
              ^
        符号:   类 LocationManager
        位置: 类 BaiduLocation
      D:\WeX5_V3.7\model\Native\hello\build\src\platforms\android\src\com\justep\cordova\plugin\baidulocation\BaiduLocation.java:160: 错误: 找不到符号
              LocationManager myLocationManager = (LocationManager) cordova.getActivity().getSystemService(Context.LOCATION_SERVICE);
                                                   ^
        符号:   类 LocationManager
        位置: 类 BaiduLocation
      D:\WeX5_V3.7\model\Native\hello\build\src\platforms\android\src\com\justep\cordova\plugin\baidulocation\BaiduLocation.java:160: 错误: 找不到符号
              LocationManager myLocationManager = (LocationManager) cordova.getActivity().getSystemService(Context.LOCATION_SERVICE);
                                                                                                           ^
        符号:   变量 Context
        位置: 类 BaiduLocation
      D:\WeX5_V3.7\model\Native\hello\build\src\platforms\android\src\com\justep\cordova\plugin\baidulocation\BaiduLocation.java:161: 错误: 找不到符号
              if(myLocationManager.isProviderEnabled(LocationManager.GPS_PROVIDER)){
                                                     ^
        符号:   变量 LocationManager
        位置: 类 BaiduLocation
      D:\WeX5_V3.7\model\Native\hello\build\src\platforms\android\src\com\justep\cordova\plugin\baidulocation\BaiduLocation.java:167: 错误: 程序包Settings不存在
              int state = Settings.Secure.getInt(cordova.getActivity().getContentResolver(), Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF);
                                                                                                     ^
      D:\WeX5_V3.7\model\Native\hello\build\src\platforms\android\src\com\justep\cordova\plugin\baidulocation\BaiduLocation.java:167: 错误: 程序包Settings不存在
              int state = Settings.Secure.getInt(cordova.getActivity().getContentResolver(), Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF);
                                                                                                                                    ^
      D:\WeX5_V3.7\model\Native\hello\build\src\platforms\android\src\com\justep\cordova\plugin\baidulocation\BaiduLocation.java:167: 错误: 程序包Settings不存在
              int state = Settings.Secure.getInt(cordova.getActivity().getContentResolver(), Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF);
                                  ^
      D:\WeX5_V3.7\model\Native\hello\build\src\platforms\android\src\com\justep\cordova\plugin\baidulocation\BaiduLocation.java:168: 错误: 程序包Settings不存在
              if (state == Settings.Secure.LOCATION_MODE_OFF) {
                                   ^
      D:\WeX5_V3.7\model\Native\hello\build\src\platforms\android\src\com\justep\cordova\plugin\baidulocation\BaiduLocation.java:177: 错误: 找不到符号
            Intent intent = new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS);
            ^
        符号:   类 Intent
        位置: 类 BaiduLocation
      D:\WeX5_V3.7\model\Native\hello\build\src\platforms\android\src\com\justep\cordova\plugin\baidulocation\BaiduLocation.java:177: 错误: 找不到符号
            Intent intent = new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS);
                                ^
        符号:   类 Intent
        位置: 类 BaiduLocation
      D:\WeX5_V3.7\model\Native\hello\build\src\platforms\android\src\com\justep\cordova\plugin\baidulocation\BaiduLocation.java:177: 错误: 找不到符号
            Intent intent = new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS);
                                       ^
        符号:   变量 Settings
        位置: 类 BaiduLocation
      注: 某些输入文件使用或覆盖了已过时的 API。
      :compileDebugJavaWithJavac FAILED注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
      
      注: 某些输入文件使用了未经检查或不安全的操作。
      注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
      11 个错误
      
      FAILURE: Build failed with an exception.
      
      * What went wrong:
      Execution failed for task ':compileDebugJavaWithJavac'.
      > Compilation failed; see the compiler error output for details.
      
      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
      
      BUILD FAILED
      
      Total time: 19.206 secs
      ERROR building one of the platforms: Error: cmd: Command failed with exit code 1
      
      D:\WeX5_V3.7\model\Native\hello\build\src\platforms\android\cordova\node_modules\q\q.js:126
                          throw e;You may not have the required environment or OS to build this project
      
                          ^
      Error code 1 for command: cmd with args: /s /c "D:\WeX5_V3.7\model\Native\hello\build\src\platforms\android\gradlew cdvBuildDebug -b D:\WeX5_V3.7\model\Native\hello\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline"
      Error: cmd: Command failed with exit code 1
   ****ERROR****: 子任务 "exec" 执行失败。
   ****ERROR****: 任务 "buildAndroid" 执行失败。
   ****ERROR****: 执行出错:
   ****ERROR****: 错误信息: exec returned: 1
   ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
   C:\Users\admin\AppData\Local\Temp\e135abf3-d9f9-4b08-86be-9e60ce11735b\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
回复 支持 反对

使用道具 举报

105

主题

390

帖子

698

积分

高级会员

Rank: 4

积分
698
QQ
 楼主| 发表于 2017-12-8 17:03:27 | 显示全部楼层
这个插件之前是能用的,为什么现在报错了?
回复 支持 反对

使用道具 举报

105

主题

390

帖子

698

积分

高级会员

Rank: 4

积分
698
QQ
 楼主| 发表于 2017-12-8 17:06:59 | 显示全部楼层
/Native/plugins  这个文件之前剪切到别的地方,又粘贴回来了,会有问题吗
回复 支持 反对

使用道具 举报

发表于 2017-12-8 17:47:51 | 显示全部楼层
yj01263431 发表于 2017-12-8 17:02
:CordovaLib:mergeDebugResources
      :CordovaLib:processDebugManifest
      :CordovaLib:processDeb ...

BaiduLocation  插件的bug
http://docs.wex5.com/wex5-app-question-list-2106/

重新替换
com.justep.cordova.plugin.baidulocation
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-28 15:22 , Processed in 0.054299 second(s), 24 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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