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

QQ登录

只需一步,快速开始

查看: 1330|回复: 1

[处理中3] 安卓打包出错,请问如何解决?

[复制链接]

30

主题

70

帖子

292

积分

中级会员

Rank: 3Rank: 3

积分
292
QQ
发表于 2018-4-12 11:14:51 | 显示全部楼层 |阅读模式

      E:\yz\WeX5_3.8_prepub\model\Native\j56cz\build\src\platforms\android\res\values\ssdk_strings.xml:70: Error: "ssdk_share_to_baidutieba" is not translated in "en" (English) [MissingTranslation]
       <string name="ssdk_share_to_baidutieba">嚙踝蕭嚙褕剁蕭嚙褊恬蕭?嚙窮</string>
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      E:\yz\WeX5_3.8_prepub\model\Native\j56cz\build\src\platforms\android\res\values\strings.xml:3: Error: "app_name" is not translated in "en" (English) [MissingTranslation]
          <string name="app_name">嚙瘟56?嚙瘩</string>
                  ~~~~~~~~~~~~~~~
      E:\yz\WeX5_3.8_prepub\model\Native\j56cz\build\src\platforms\android\res\values\strings.xml:4: Error: "launcher_name" is not translated in "en" (English) [MissingTranslation]
          <string name="launcher_name">@string/app_name</string>
                  ~~~~~~~~~~~~~~~~~~~~
      E:\yz\WeX5_3.8_prepub\model\Native\j56cz\build\src\platforms\android\res\values\strings.xml:5: Error: "activity_name" is not translated in "en" (English) [MissingTranslation]
          <string name="activity_name">@string/launcher_name</string>
                  ~~~~~~~~~~~~~~~~~~~~
      
         Explanation for issues of type "MissingTranslation":
         If an application has more than one locale, then all the strings declared
         in one language should also be translated in all other languages.
      
         If the string should not be translated, you can add the attribute
         translatable="false" on the <string> element, or you can define all your
         non-translatable strings in a resource file called donottranslate.xml. Or,
         you can ignore the issue with a tools:ignore="MissingTranslation"
         attribute.
      
         By default this detector allows regions of a language to just provide a
         subset of the strings and fall back to the standard language strings. You
         can require all regions to provide a full translation by setting the
         environment variable ANDROID_LINT_COMPLETE_REGIONS.
      
         You can tell lint (and other tools) which language is the default language
         in your res/values/ folder by specifying tools:locale="languageCode" for
         the root <resources> element in your resource file. (The tools prefix
         refers to the namespace declaration http://schemas.android.com/tools.)
      
      7 errors, 0 warnings
      :lintVitalRelease
      :mergeReleaseShaders
      :compileReleaseShaders
      :generateReleaseAssets
      :mergeReleaseAssets
      
      FAILURE: Build failed with an exception.
      
      * What went wrong:
      Execution failed for task ':transformClassesWithJarMergingForRelease'.
      > com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/mob/commons/authorize/a.class
      
      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
      :transformClassesWithJarMergingForRelease FAILED
      
      BUILD FAILED
      
      Total time: 1 mins 9.147 secs
      Error: cmd: Command failed with exit code 1 Error output:
      Note: Some input files use or override a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      Note: E:\yz\WeX5_3.8_prepub\model\Native\j56cz\build\src\platforms\android\JustepGetContent\src\main\java\com\justep\x5\support\chooser\FileUploadChooserActivity.java uses unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      Note: Some input files use or override a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      Note: Some input files use or override a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      Note: Some input files use unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      E:\yz\WeX5_3.8_prepub\model\Native\j56cz\build\src\platforms\android\res\values\ssdk_instapaper_strings.xml:4: Error: "ssdk_instapager_login_html" is not translated in "en" (English) [MissingTranslation]
          <string name="ssdk_instapager_login_html" formatted="false"><![CDATA[
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      E:\yz\WeX5_3.8_prepub\model\Native\j56cz\build\src\platforms\android\res\values\ssdk_strings.xml:16: Error: "ssdk_baidutieba_client_inavailable" is not translated in "en" (English) [MissingTranslation]
          <string name="ssdk_baidutieba_client_inavailable">嚙諍前嚙緲嚙踝蕭嚙褊恬蕭?嚙窮嚙踝蕭嚙踝蕭?嚙瘠嚙諄伐蕭嚙緩?嚙璀嚙豎要嚙緩?嚙褊恬蕭?嚙窮嚙羯嚙踝蕭嚙誕伐蕭</string>
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      E:\yz\WeX5_3.8_prepub\model\Native\j56cz\build\src\platforms\android\res\values\ssdk_strings.xml:65: Error: "ssdk_baidutieba" is not translated in "en" (English) [MissingTranslation]
          <string name="ssdk_baidutieba">嚙褊恬蕭?嚙窮</string>
                  ~~~~~~~~~~~~~~~~~~~~~~
      E:\yz\WeX5_3.8_prepub\model\Native\j56cz\build\src\platforms\android\res\values\ssdk_strings.xml:70: Error: "ssdk_share_to_baidutieba" is not translated in "en" (English) [MissingTranslation]
       <string name="ssdk_share_to_baidutieba">嚙踝蕭嚙褕剁蕭嚙褊恬蕭?嚙窮</string>
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      E:\yz\WeX5_3.8_prepub\model\Native\j56cz\build\src\platforms\android\res\values\strings.xml:3: Error: "app_name" is not translated in "en" (English) [MissingTranslation]
          <string name="app_name">嚙瘟56?嚙瘩</string>
                  ~~~~~~~~~~~~~~~
      E:\yz\WeX5_3.8_prepub\model\Native\j56cz\build\src\platforms\android\res\values\strings.xml:4: Error: "launcher_name" is not translated in "en" (English) [MissingTranslation]
          <string name="launcher_name">@string/app_name</string>
                  ~~~~~~~~~~~~~~~~~~~~
      E:\yz\WeX5_3.8_prepub\model\Native\j56cz\build\src\platforms\android\res\values\strings.xml:5: Error: "activity_name" is not translated in "en" (English) [MissingTranslation]
          <string name="activity_name">@string/launcher_name</string>
                  ~~~~~~~~~~~~~~~~~~~~
      
         Explanation for issues of type "MissingTranslation":
         If an application has more than one locale, then all the strings declared
         in one language should also be translated in all other languages.
      
         If the string should not be translated, you can add the attribute
         translatable="false" on the <string> element, or you can define all your
         non-translatable strings in a resource file called donottranslate.xml. Or,
         you can ignore the issue with a tools:ignore="MissingTranslation"
         attribute.
      
         By default this detector allows regions of a language to just provide a
         subset of the strings and fall back to the standard language strings. You
         can require all regions to provide a full translation by setting the
         environment variable ANDROID_LINT_COMPLETE_REGIONS.
      
         You can tell lint (and other tools) which language is the default language
         in your res/values/ folder by specifying tools:locale="languageCode" for
         the root <resources> element in your resource file. (The tools prefix
         refers to the namespace declaration http://schemas.android.com/tools.)
      
      7 errors, 0 warnings
      
      FAILURE: Build failed with an exception.
      
      * What went wrong:
      Execution failed for task ':transformClassesWithJarMergingForRelease'.
      > com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/mob/commons/authorize/a.class
      
      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
      Picked up _JAVA_OPTIONS: -Xmx1024M
   ****ERROR****: 子任? "exec" ?行失?。
   ****ERROR****: 任? "buildAndroid" ?行失?。
   ****ERROR****: ?行出?:
   ****ERROR****: ??信息: exec returned: 1
   ****ERROR****: 如不能确定具体??,可?考常???: http://bbs.wex5.com/thread-82002-1-1.html
   C:\Users\ADMINI~1\AppData\Local\Temp\1949555b-35c9-4f71-bf41-558a9d44306c\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

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36046
发表于 2018-4-12 17:27:41 | 显示全部楼层
把Native\自己的应用\log\build.log文件发一下
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-9-27 17:36 , Processed in 0.063289 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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