r22 tools cause java.lang.VerifyError when building from ant script

简介: android SDK r22 改进点Changes:Changed the structure of the SDK by adding a new build tool SDK Comp...

android SDK r22 改进点

Changes:
  • Changed the structure of the SDK by adding a new build tool SDK Component, which is based on the existing platform-tools component. This change decouples the build tools versions from the IDE versions, allowing updates to the tools without requiring an IDE update.
  • Updated tools to allow libraries to share the same package name as the applications that use them.
  • Updated draw9patch tool to allow easier changing of markers.
  • Added new Lint checks, including checks for layout consistency, RelativeLayout siblings, Parcel creator, JavaScript interfaces, Service casting, quantity strings, manifest typos, orientation tags in layouts, overlapping names for 9-patches and images, and class existence checks.
  • Updated build tools to sign applications using the BouncyCastle library instead of relying on Sun JVM specific APIs.
  • Released some of the Android tools into Maven Central to assist third-party tool developers. The following tools are available in the repository: manifest-merger, common/sdk_common, ddmlib, dvlib, layoutlib_api,sdklib, and lint.
  • Added an experimental Gradle build export feature for moving projects into the Android Studio environment or for setting up command-line builds with Gradle.
所以会造成部分人使用ant的一键打包脚本报错,需要到JDK目录下删除老版本的 BouncyCastle 库

 JAVA_HOME\JDK\jre\lib\ext
 JAVA_HOME\jre6\lib\ext

https://groups.google.com/forum/#!topic/adt-dev/W8t8iGGY3fk

目录
相关文章
|
8月前
|
Java 编译器 数据库连接
Cause java.sql.SQLDataException Unsupported conversion from LONG to java.sql.Timestamp
Cause java.sql.SQLDataException Unsupported conversion from LONG to java.sql.Timestamp
339 0
|
25天前
|
SQL Java 数据库连接
Cause: java.sql.SQLSyntaxErrorException: ORA-00911: 无效字符
Cause: java.sql.SQLSyntaxErrorException: ORA-00911: 无效字符
12 0
|
29天前
Cause: java.sql.SQLIntegrityConstraintViolationException: Column ‘id‘ in field list is ambiguous
Cause: java.sql.SQLIntegrityConstraintViolationException: Column ‘id‘ in field list is ambiguous
18 0
|
1月前
|
Oracle Java 关系型数据库
【问题】Cause: java.sql.SQLException: 不支持的字符集 (在类路径中添加 orai18n.jar): ZHS16GBK
【问题】Cause: java.sql.SQLException: 不支持的字符集 (在类路径中添加 orai18n.jar): ZHS16GBK
|
3月前
|
SQL 搜索推荐 关系型数据库
Mysql报Cause: java.sql.SQLException: Incorrect string value: ‘\xE5\xA4\x96‘...for column username
Mysql报Cause: java.sql.SQLException: Incorrect string value: ‘\xE5\xA4\x96‘...for column username
25 0
|
5月前
|
Java 数据库连接 数据库
解决Cause: java.lang.IllegalArgumentException: invalid comparison: java.util.Date and java.lang.String
解决Cause: java.lang.IllegalArgumentException: invalid comparison: java.util.Date and java.lang.String
|
9月前
|
XML 关系型数据库 MySQL
Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotFoundException:
Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotFoundException:
|
11月前
|
XML Java 数据库连接
Mybatis提示Cause: java.lang.IllegalArgumentException: invalid comparison: java.util.Date and java.lan
Mybatis提示Cause: java.lang.IllegalArgumentException: invalid comparison: java.util.Date and java.lan
170 0
|
11月前
|
SQL Java 数据库连接
Mybatis:Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource
Mybatis:Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource
|
XML Java 数据库连接
最详细!The XML location is ‘file [D:XXXXXX/mybatis-conf.xml] Cause: java.lang.NullPointerException
最详细!The XML location is ‘file [D:XXXXXX/mybatis-conf.xml] Cause: java.lang.NullPointerException
164 1
最详细!The XML location is ‘file [D:XXXXXX/mybatis-conf.xml] Cause: java.lang.NullPointerException