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

QQ登录

只需一步,快速开始

查看: 3183|回复: 0

[未处理] 打包问题

[复制链接]

47

主题

236

帖子

472

积分

中级会员

Rank: 3Rank: 3

积分
472
QQ
发表于 2019-9-16 10:46:15 | 显示全部楼层 |阅读模式

      See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.

      :processDebugManifest FAILED

      BUILD FAILED

      Total time: 8 mins 23.915 secs
      D:\WEX5_3.8\model\Native\锟斤拷锟斤拷test\build\src\platforms\android\AndroidManifest.xml:82:5-74 Error:
              uses-sdk:minSdkVersion 18 cannot be smaller than version 19 declared in library [:mylibBluetooth:] C:\Users\YS\.android\build-cache\8a9ce9b2d31bdcf020b57c7e0062e584be1115df\output\AndroidManifest.xml
              Suggestion: use toolsverrideLibrary="com.ethan.mylibbluetooth" to force usage

      FAILURE: Build failed with an exception.

      * What went wrong:
      Execution failed for task ':processDebugManifest'.
      > Manifest merger failed : uses-sdk:minSdkVersion 18 cannot be smaller than version 19 declared in library [:mylibBluetooth:] C:\Users\YS\.android\build-cache\8a9ce9b2d31bdcf020b57c7e0062e584be1115df\output\AndroidManifest.xml
              Suggestion: use toolsverrideLibrary="com.ethan.mylibbluetooth" to force usage

      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
   C:\Users\YS\AppData\Local\Temp\83e86726-4334-4ca9-8cfe-bd47ae5c5937\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)
      Error: cmd: Command failed with exit code 1 Error output:
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:497)
      注: 某些锟斤拷锟斤拷锟侥硷拷使锟矫或覆革拷锟斤拷锟窖癸拷时锟斤拷 API锟斤拷
      注: 锟叫癸拷锟斤拷细锟斤拷息, 锟斤拷使锟斤拷 -Xlint:deprecation 锟斤拷锟铰憋拷锟诫。
           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)
      注: D:\WEX5_3.8\model\Native\锟斤拷锟斤拷test\build\src\platforms\android\JustepGetContent\src\main\java\com\justep\x5\support\chooser\FileUploadChooserActivity.java使锟斤拷锟斤拷未锟斤拷锟斤拷锟斤拷锟津不帮拷全锟侥诧拷锟斤拷锟斤拷
      注: 锟叫癸拷锟斤拷细锟斤拷息, 锟斤拷使锟斤拷 -Xlint:unchecked 锟斤拷锟铰憋拷锟诫。
      注: 某些锟斤拷锟斤拷锟侥硷拷使锟矫或覆革拷锟斤拷锟窖癸拷时锟斤拷 API锟斤拷
      注: 锟叫癸拷锟斤拷细锟斤拷息, 锟斤拷使锟斤拷 -Xlint:deprecation 锟斤拷锟铰憋拷锟诫。
      D:\WEX5_3.8\model\Native\锟斤拷锟斤拷test\build\src\platforms\android\AndroidManifest.xml:82:5-74 Error:
              uses-sdk:minSdkVersion 18 cannot be smaller than version 19 declared in library [:mylibBluetooth:] C:\Users\YS\.android\build-cache\8a9ce9b2d31bdcf020b57c7e0062e584be1115df\output\AndroidManifest.xml
              Suggestion: use toolsverrideLibrary="com.ethan.mylibbluetooth" to force usage

      FAILURE: Build failed with an exception.

      * What went wrong:
      Execution failed for task ':processDebugManifest'.
      > Manifest merger failed : uses-sdk:minSdkVersion 18 cannot be smaller than version 19 declared in library [:mylibBluetooth:] C:\Users\YS\.android\build-cache\8a9ce9b2d31bdcf020b57c7e0062e584be1115df\output\AndroidManifest.xml
              Suggestion: use toolsverrideLibrary="com.ethan.mylibbluetooth" to force usage

      * 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
****ERROR****: 子任务 "java" 执行失败。
****ERROR****: 任务 "pack" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: -3
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html

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

本版积分规则

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

GMT+8, 2024-11-24 08:17 , Processed in 0.086063 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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