项目加入第三方jar包后编译出错。求大神指点

自己写的java代码有需要依赖第三方jar包。我按照惯例把jar包放到android目录中的libs文件夹后开始编译apk。于是出现了下面的错误

[javac] Compiling 7 source files to C:\Users\Administrator\Desktop\bu\android-build\bin\classes
    [javac] 警告: [options] 源值1.5已过时, 将在未来所有发行版中删除
    [javac] 警告: [options] 目标值1.5已过时, 将在未来所有发行版中删除
    [javac] 警告: [options] 要隐藏有关已过时选项的警告, 请使用 -Xlint:-options。
    [javac] 注: C:\Users\Administrator\Desktop\bu\android-build\src\org\qtproject\qt5\android\bindings\QtActivity.java使用或覆盖了已过时的 API。
    [javac] 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
    [javac] 3 个警告


BUILD FAILED
C:\adt-bundle-windows-x86-20130917\sdk\tools\ant\build.xml:892: The following error occurred while executing this line:
C:\adt-bundle-windows-x86-20130917\sdk\tools\ant\build.xml:894: The following error occurred while executing this line:
C:\adt-bundle-windows-x86-20130917\sdk\tools\ant\build.xml:906: The following error occurred while executing this line:
C:\adt-bundle-windows-x86-20130917\sdk\tools\ant\build.xml:283: null returned: 1
Total time: 17 seconds


Building the android package failed!
  -- For more information, run this command with --verbose.

看了build.xml好像是冗余,我一看jar包有3.35mb大小。是不是jar包太大了?
如果是这个原因的话,怎么解决啊?或者是其他原因。
求大神指点,我弄了两天了都没有什么头绪。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值