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

QQ登录

只需一步,快速开始

查看: 3263|回复: 15

[结贴] 打包问题

[复制链接]

10

主题

46

帖子

88

积分

初级会员

Rank: 2

积分
88
QQ
发表于 2016-12-28 11:48:01 | 显示全部楼层 |阅读模式
我看打包遇到这个问题的很多但是找不到出现这个问题的原因和解决方法,能不能给解决一下
1482896745(1).jpg

10

主题

46

帖子

88

积分

初级会员

Rank: 2

积分
88
QQ
 楼主| 发表于 2016-12-28 11:48:17 | 显示全部楼层
自顶
回复

使用道具 举报

1

主题

6163

帖子

2095

积分

金牌会员

Rank: 6Rank: 6

积分
2095
QQ
发表于 2016-12-28 11:55:59 | 显示全部楼层

楼主  发完整的报错日志  这个看不出来
回复 支持 反对

使用道具 举报

发表于 2016-12-28 11:56:11 | 显示全部楼层
这个错误信息是在太少了!建议报错信息发全一些!

也可以把打包的过程描述详细些!
模式 几 ?
平台案例打包正常吗?
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

10

主题

46

帖子

88

积分

初级会员

Rank: 2

积分
88
QQ
 楼主| 发表于 2016-12-28 13:47:21 | 显示全部楼层
liangyongfei 发表于 2016-12-28 11:56
这个错误信息是在太少了!建议报错信息发全一些!

也可以把打包的过程描述详细些!

我把截图每步截图都发上来
QQ图片20161228134301.png
QQ图片20161228134431.png
QQ图片20161228134436.png
回复 支持 反对

使用道具 举报

10

主题

46

帖子

88

积分

初级会员

Rank: 2

积分
88
QQ
 楼主| 发表于 2016-12-28 13:49:03 | 显示全部楼层
mosquito93 发表于 2016-12-28 13:47
我把截图每步截图都发上来

就这些了

QQ图片20161228134440.png
QQ图片20161228134445.png
QQ图片20161228134449.png
QQ图片20161228134453.png
QQ图片20161228134456.png
QQ图片20161228134500.png
QQ图片20161228134503.png
QQ图片20161228134506.png
回复 支持 反对

使用道具 举报

10

主题

46

帖子

88

积分

初级会员

Rank: 2

积分
88
QQ
 楼主| 发表于 2016-12-28 13:49:54 | 显示全部楼层
liangyongfei 发表于 2016-12-28 11:56
这个错误信息是在太少了!建议报错信息发全一些!

也可以把打包的过程描述详细些!

步骤已经全部上传
回复 支持 反对

使用道具 举报

发表于 2016-12-28 13:50:45 | 显示全部楼层
mosquito93 发表于 2016-12-28 13:47
我把截图每步截图都发上来

你的WeX5 版本看上去还是低版本的!并不是最新的!
这几个步骤没什么问题!
模式1打包需要注意:http://docs.wex5.com/wex5-app-question-list-2004/
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

10

主题

46

帖子

88

积分

初级会员

Rank: 2

积分
88
QQ
 楼主| 发表于 2016-12-28 13:55:42 | 显示全部楼层
   Running command: cmd "/s /c "F:\WeX5_V3.4\model\Native\娉板ソ璧歍est\build\src\platforms\android\cordova\build.bat --release --gradleArg=--offline""
   ANDROID_HOME=F:\WeX5_V3.4/tools/adt-sdk
   JAVA_HOME=F:\WeX5_V3.4/java/jre1.8
   Running: F:\WeX5_V3.4\model\Native\娉板ソ璧歍est\build\src\platforms\android\gradlew cdvBuildRelease -b F:\WeX5_V3.4\model\Native\娉板ソ璧歍est\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline
   :preBuild
   :preReleaseBuild
   :checkReleaseManifest
   :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
   :preDebugBuild
   :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
   注: 某些输入文件使用或覆盖了已过时的 API。
   注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
   :CordovaLib:compileDebugJava
   :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
   :prepareMeLeolinShortcutBadger112Library
   :prepareReleaseDependencies
   :compileReleaseAidl
   :compileReleaseRenderscript
   :generateReleaseBuildConfig
   :generateReleaseAssets UP-TO-DATE
   :mergeReleaseAssets
   :generateReleaseResValues
   :generateReleaseResources
   F:\WeX5_V3.4\model\Native\泰好赚Test\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
   :mergeReleaseResources
   :processReleaseManifest
   F:\WeX5_V3.4\model\Native\泰好赚Test\build\src\platforms\android\build\intermediates\res\release\xml\config.xml:9: 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 ':processReleaseResources'.
   > com.android.ide.common.internal.LoggedErrorException: Failed to run command:
           F:\WeX5_V3.4\tools\adt-sdk\build-tools\22.0.1\aapt.exe package -f --no-crunch -I F:\WeX5_V3.4\tools\adt-sdk\platforms\android-22\android.jar -M F:\WeX5_V3.4\model\Native\泰好赚Test\build\src\platforms\android\build\intermediates\manifests\full\release\AndroidManifest.xml -S F:\WeX5_V3.4\model\Native\泰好赚Test\build\src\platforms\android\build\intermediates\res\release -A F:\WeX5_V3.4\model\Native\泰好赚Test\build\src\platforms\android\build\intermediates\assets\release -m -J F:\WeX5_V3.4\model\Native\泰好赚Test\build\src\platforms\android\build\generated\source\r\release -F F:\WeX5_V3.4\model\Native\泰好赚Test\build\src\platforms\android\build\intermediates\res\resources-release.ap_ --custom-package com.tyjf.thz -0 apk --output-text-symbols F:\WeX5_V3.4\model\Native\泰好赚Test\build\src\platforms\android\build\intermediates\symbols\release
   Error Code:
           1
   Output:
           F:\WeX5_V3.4\model\Native\泰好赚Test\build\src\platforms\android\build\intermediates\res\release\xml\config.xml:9: 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.
   :processReleaseResources FAILED
   
   BUILD FAILED
   
   Total time: 30.483 secs
   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
   
   F:\WeX5_V3.4\model\Native\娉板ソ璧歍est\build\src\platforms\android\cordova\node_modules\q\q.js:126
                       throw e;
                       ^
   Error code 1 for command: cmd with args: /s /c "F:\WeX5_V3.4\model\Native\娉板ソ璧歍est\build\src\platforms\android\gradlew cdvBuildRelease -b F:\WeX5_V3.4\model\Native\娉板ソ璧歍est\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://wex5.com/cn/bbs/thread-82002-1-1.html
回复 支持 反对

使用道具 举报

发表于 2016-12-28 14:02:11 | 显示全部楼层
mosquito93 发表于 2016-12-28 13:55
Running command: cmd "/s /c "F:\WeX5_V3.4\model\Native\娉板ソ璧歍est\build\src\platforms\android\ ...

看上去是打包APP的时候 某个cordova参数 没有填写导致的!
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-23 07:29 , Processed in 0.110811 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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