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

QQ登录

只需一步,快速开始

查看: 1812|回复: 4

[结贴] wex5 打包报错,求解决方法

[复制链接]

51

主题

161

帖子

381

积分

中级会员

Rank: 3Rank: 3

积分
381
QQ
发表于 2017-3-10 10:15:10 | 显示全部楼层 |阅读模式
wex5 打包报错,求解决方法,报错如下

51

主题

161

帖子

381

积分

中级会员

Rank: 3Rank: 3

积分
381
QQ
 楼主| 发表于 2017-3-10 10:15:44 | 显示全部楼层
开始......
   
保存配置信息:
   
编译UI资源:
   
清除编译环境:
   
复制模版工程:
   
复制工程:
   
复制插件:
   
复制WWW资源:
   
更新工程信息:
   
增加插件:
   使用到的插件: [cordova-plugin-screen-orientation, cordova-plugin-camera, cordova-plugin-device, cordova-plugin-whitelist, cordova-plugin-splashscreen, cordova-plugin-app-preferences, com.justep.cordova.plugin.app.utils, cordova-plugin-crosswalk-webview, cordova-plugin-device, cordova-plugin-x-toast, de.appplant.cordova.plugin.background-mode, cordova-plugin-inappbrowser, cordova-plugin-app-version, cordova-plugin-camera, com.justep.cordova.plugin.weixin.v3, cn.jpush.phonegap.JPushPlugin, cordova-plugin-network-information, cordova-plugin-screen-orientation]
   开始准备插件参数......
   插件 "com.justep.cordova.plugin.weixin.v3" 参数如下:
        weixin_partner_id:??????????
        weixin_api_key:??????????
   插件参数准备完成
   开始安装插件......
   Installing "cordova-plugin-screen-orientation" for android
   Installing "cordova-plugin-screen-orientation" for ios
   Installing "cordova-plugin-camera" for android
   Installing "cordova-plugin-camera" for ios
   Installing "cordova-plugin-device" for android
   Installing "cordova-plugin-device" for ios
   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 "cordova-plugin-crosswalk-webview" for android
   The module "ConfigParser" has been factored into "cordova-common". Consider update your plugin hooks.
   The module "xml-helpers" has been factored into "cordova-common". Consider update your plugin hooks.
   Installing "cordova-plugin-crosswalk-webview" for ios
   Installing "de.appplant.cordova.plugin.background-mode" for android
   Dependent plugin "cordova-plugin-device" already installed on android.
   Installing "de.appplant.cordova.plugin.background-mode" for ios
   Dependent plugin "cordova-plugin-device" already installed on ios.
   Installing "cordova-plugin-app-version" for android
   Installing "cordova-plugin-app-version" for ios
   Installing "com.justep.cordova.plugin.weixin.v3" for android
   The module "ConfigParser" has been factored into "cordova-common". Consider update your plugin hooks.
回复 支持 反对

使用道具 举报

51

主题

161

帖子

381

积分

中级会员

Rank: 3Rank: 3

积分
381
QQ
 楼主| 发表于 2017-3-10 10:16:13 | 显示全部楼层
你不会了解 发表于 2017-3-10 10:15
开始......
   
保存配置信息:

D:\justep\wex5\model\Native\褰遍櫌365\build\src\platforms\android
   D:\justep\wex5\model\Native\褰遍櫌365\build\src\platforms\android
   Installing "com.justep.cordova.plugin.weixin.v3" for ios
   Installing "cn.jpush.phonegap.JPushPlugin" for android
   Installing "cn.jpush.phonegap.JPushPlugin" for ios
   插件安装完成
   
创建源代码工程:
   
android应用环境准备:
   
ios应用环境准备:
   
生成android应用包:
   Running command: cmd "/s /c "D:\justep\wex5\model\Native\褰遍櫌365\build\src\platforms\android\cordova\build.bat --release --gradleArg=--offline""
   ANDROID_HOME=D:\justep\wex5/tools/adt-sdk
   JAVA_HOME=D:\justep\wex5/java/jre1.8
   Running: D:\justep\wex5\model\Native\褰遍櫌365\build\src\platforms\android\gradlew cdvBuildRelease -b D:\justep\wex5\model\Native\褰遍櫌365\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline
   embedded
   WARNING [Project: :] Current NDK support is deprecated.  Alternative will be provided in the future.
   WARNING [Project: :] Current NDK support is deprecated.  Alternative will be provided in the future.
   WARNING [Project: :] Current NDK support is deprecated.  Alternative will be provided in the future.
   WARNING [Project: :] Current NDK support is deprecated.  Alternative will be provided in the future.
   org.xwalk:xwalk_core_library:15+
   :preBuild
   :preArmv7ReleaseBuild
   :checkArmv7ReleaseManifest
   :preX86ReleaseBuild
   :CordovaLib:compileLint
   :CordovaLib:copyReleaseLint UP-TO-DATE
   :CordovaLib:preBuild
   :CordovaLib:preReleaseBuild
   :CordovaLib:checkReleaseManifest
   :CordovaLib:preDebugBuild
   :CordovaLib:preDebugTestBuild
   :JustepGetContent:compileLint
   :JustepGetContent:copyReleaseLint UP-TO-DATE
   :JustepGetContent:preBuild
   :JustepGetContent:preReleaseBuild
   :JustepGetContent:checkReleaseManifest
   :JustepGetContent:preDebugBuild
   :JustepGetContent:preDebugTestBuild
   :JustepGetContent:prepareComAndroidSupportAppcompatV72220Library
   :JustepGetContent:prepareComAndroidSupportSupportV42220Library
   :JustepGetContent:prepareReleaseDependencies
   :JustepGetContent:compileReleaseAidl
   :JustepGetContent:compileReleaseRenderscript
   :JustepGetContent:generateReleaseBuildConfig
   :JustepGetContent:generateReleaseAssets UP-TO-DATE
   :JustepGetContent:mergeReleaseAssets
   :JustepGetContent:generateReleaseResValues
   :JustepGetContent:generateReleaseResources
   :JustepGetContent:mergeReleaseResources
   :JustepGetContent:processReleaseManifest
   :JustepGetContent:processReleaseResources
   :JustepGetContent:generateReleaseSources
   注: 某些输入文件使用或覆盖了已过时的 API。
   注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
   :JustepGetContent:compileReleaseJava
   :JustepGetContent:extractReleaseAnnotations
   :JustepGetContent:mergeReleaseProguardFiles
   :JustepGetContent:processReleaseJavaRes UP-TO-DATE
   :JustepGetContent:packageReleaseJar
   :JustepGetContent:compileReleaseNdk
   :JustepGetContent:packageReleaseJniLibs UP-TO-DATE
   :JustepGetContent:packageReleaseLocalJar UP-TO-DATE
   :JustepGetContent:packageReleaseRenderscript UP-TO-DATE
   :JustepGetContent:packageReleaseResources
   :JustepGetContent:bundleRelease
   :CordovaLib:prepareAndroidJustepGetContentUnspecifiedLibrary
   :CordovaLib:prepareComAndroidSupportAppcompatV72220Library
   :CordovaLib:prepareComAndroidSupportSupportV42220Library
   :CordovaLib:prepareReleaseDependencies
   :CordovaLib:compileReleaseAidl
   :CordovaLib:compileReleaseRenderscript
   :CordovaLib:generateReleaseBuildConfig
   :CordovaLib:generateReleaseAssets UP-TO-DATE
   :CordovaLib:mergeReleaseAssets
   :CordovaLib:generateReleaseResValues
   :CordovaLib:generateReleaseResources
   :CordovaLib:mergeReleaseResources
   :CordovaLib:processReleaseManifest
   :CordovaLib:processReleaseResources
   :CordovaLib:generateReleaseSources
   注: 某些输入文件使用或覆盖了已过时的 API。
   注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
   :CordovaLib:compileReleaseJava
   :CordovaLib:extractReleaseAnnotations
   :CordovaLib:mergeReleaseProguardFiles
   :CordovaLib:processReleaseJavaRes UP-TO-DATE
   :CordovaLib:packageReleaseJar
   :CordovaLib:compileReleaseNdk
   :CordovaLib:packageReleaseJniLibs UP-TO-DATE
   :CordovaLib:packageReleaseLocalJar UP-TO-DATE
   :CordovaLib:packageReleaseRenderscript UP-TO-DATE
   :CordovaLib:packageReleaseResources
   :CordovaLib:bundleRelease
   :prepareAndroidCordovaLibUnspecifiedReleaseLibrary
   :preArmv7DebugBuild
   :preX86DebugBuild
   :CordovaLib:copyDebugLint UP-TO-DATE
   :CordovaLib:checkDebugManifest
   :CordovaLib:prepareDebugDependencies
   :CordovaLib:compileDebugAidl
   :CordovaLib:compileDebugRenderscript
   :CordovaLib:generateDebugBuildConfig
   :CordovaLib:generateDebugAssets UP-TO-DATE
   :CordovaLib:mergeDebugAssets
   :CordovaLib:generateDebugResValues
   :CordovaLib:generateDebugResources
   :CordovaLib:mergeDebugResources
   :CordovaLib:processDebugManifest
   :CordovaLib:processDebugResources
   :CordovaLib:generateDebugSources
   :CordovaLib:compileDebugJava
   注: 某些输入文件使用或覆盖了已过时的 API。
   注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
   :CordovaLib:extractDebugAnnotations
   :CordovaLib:mergeDebugProguardFiles
   :CordovaLib:processDebugJavaRes UP-TO-DATE
   :CordovaLib:packageDebugJar
   :CordovaLib:compileDebugNdk
   :CordovaLib:packageDebugJniLibs UP-TO-DATE
   :CordovaLib:packageDebugLocalJar UP-TO-DATE
   :CordovaLib:packageDebugRenderscript UP-TO-DATE
   :CordovaLib:packageDebugResources
   :CordovaLib:bundleDebug
   :prepareAndroidJustepGetContentUnspecifiedLibrary
   :prepareComAndroidSupportAppcompatV72220Library
   :prepareComAndroidSupportSupportV42220Library
   :prepareOrgXwalkXwalk_core_library154438413Library
   :prepareArmv7ReleaseDependencies
   :compileArmv7ReleaseAidl
   :compileArmv7ReleaseRenderscript
   :generateArmv7ReleaseBuildConfig
   :generateArmv7ReleaseAssets UP-TO-DATE
   :mergeArmv7ReleaseAssets
   :createXwalkCommandLineFileArmv7Release
   :generateArmv7ReleaseResValues
   :generateArmv7ReleaseResources
   D:\justep\wex5\model\Native\影院365\build\src\platforms\android\build\intermediates\exploded-aar\android\JustepGetContent\unspecified\res\drawable\camera_ok.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
   :mergeArmv7ReleaseResources
   :processArmv7ReleaseManifest
   D:\justep\wex5\model\Native\影院365\build\src\platforms\android\build\intermediates\res\armv7\release\xml\config.xml:53: error: Error: No resource found that matches the given name (at 'value' with value '??????????').
   
   D:\justep\wex5\model\Native\影院365\build\src\platforms\android\build\intermediates\res\armv7\release\xml\config.xml:54: error: Error: No resource found that matches the given name (at 'value' with value '??????????').
   
   
   FAILURE: Build failed with an exception.
   
   * What went wrong:
   Execution failed for task ':processArmv7ReleaseResources'.
   > com.android.ide.common.internal.LoggedErrorException: Failed to run command:
           D:\justep\wex5\tools\adt-sdk\build-tools\22.0.1\aapt.exe package -f --no-crunch -I D:\justep\wex5\tools\adt-sdk\platforms\android-22\android.jar -M D:\justep\wex5\model\Native\影院365\build\src\platforms\android\build\intermediates\manifests\full\armv7\release\AndroidManifest.xml -S D:\justep\wex5\model\Native\影院365\build\src\platforms\android\build\intermediates\res\armv7\release -A D:\justep\wex5\model\Native\影院365\build\src\platforms\android\build\intermediates\assets\armv7\release -m -J D:\justep\wex5\model\Native\影院365\build\src\platforms\android\build\generated\source\r\armv7\release -F D:\justep\wex5\model\Native\影院365\build\src\platforms\android\build\intermediates\res\resources-armv7-release.ap_ --custom-package com.oristartech.pcp -0 apk --output-text-symbols D:\justep\wex5\model\Native\影院365\build\src\platforms\android\build\intermediates\symbols\armv7\release
   Error Code:
           1
   Output:
           D:\justep\wex5\model\Native\影院365\build\src\platforms\android\build\intermediates\res\armv7\release\xml\config.xml:53: error: Error: No resource found that matches the given name (at 'value' with value '??????????').
          
           D:\justep\wex5\model\Native\影院365\build\src\platforms\android\build\intermediates\res\armv7\release\xml\config.xml:54: error: Error: No resource found that matches the given name (at 'value' with value '??????????').
          
   
   
   * Try:
   Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
   :processArmv7ReleaseResources FAILED
   
   BUILD FAILED
   
   Total time: 1 mins 11.208 secs
   
   D:\justep\wex5\model\Native\褰遍櫌365\build\src\platforms\android\cordova\node_modules\q\q.js:126
                       throw e;
                       ^
   Error code 1 for command: cmd with args: /s /c "D:\justep\wex5\model\Native\褰遍櫌365\build\src\platforms\android\gradlew cdvBuildRelease -b D:\justep\wex5\model\Native\褰遍櫌365\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline"
   ERROR building one of the platforms: Error: cmd: Command failed with exit code 1
   You may not have the required environment or OS to build this project
   Error: cmd: Command failed with exit code 1
****ERROR****: 子任务 "exec" 执行失败。
****ERROR****: 任务 "buildAndroid" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: exec returned: 1
****ERROR****: 如不能确定具体问题,可参考常见问题: http://wex5.com/cn/bbs/thread-82002-1-1.html
回复 支持 反对

使用道具 举报

1

主题

6163

帖子

2095

积分

金牌会员

Rank: 6Rank: 6

积分
2095
QQ
发表于 2017-3-10 10:21:01 | 显示全部楼层
你不会了解 发表于 2017-3-10 10:16
D:\justep\wex5\model\Native\褰遍櫌365\build\src\platforms\android
   D:\justep\wex5\model\Native\ ...

http://docs.wex5.com/wex5-app-question-list-2001/
回复 支持 反对

使用道具 举报

51

主题

161

帖子

381

积分

中级会员

Rank: 3Rank: 3

积分
381
QQ
 楼主| 发表于 2017-3-13 13:46:52 | 显示全部楼层
半导体 发表于 2017-3-10 10:21
http://docs.wex5.com/wex5-app-question-list-2001/

已解决
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-19 06:32 , Processed in 0.066267 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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