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

目录
相关文章
|
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
895 0
|
6月前
|
XML Java Maven
Java 中的 Maven 和 Ant 的区别
【8月更文挑战第22天】
252 0
|
8月前
|
存储 SQL 关系型数据库
【BUG记录】Cause: java.sql.SQLException: Incorrect string value: '\xF0\x9F\x90\xA6' for column 'name' at row 1
在MySQL中遇到`Incorrect string value`错误通常是因为尝试插入的字符串包含不被数据库字符集支持的字符,如表情符号。错误根源是MySQL默认的utf8不支持4字节的UTF-8字符(如Emoji)。
948 1
|
8月前
|
数据采集 Java Linux
Java异常之【sun.security.validator.ValidatorException: PKIX path building failed: sun.security...】
Java异常之【sun.security.validator.ValidatorException: PKIX path building failed: sun.security...】
207 0
Java异常之【sun.security.validator.ValidatorException: PKIX path building failed: sun.security...】
### Cause: java.sql.SQLException: Field ‘id‘ doesn‘t have a default value; Field ‘id‘ doesn‘t have
### Cause: java.sql.SQLException: Field ‘id‘ doesn‘t have a default value; Field ‘id‘ doesn‘t have
|
7月前
|
SQL Java 数据库连接
Cause: java.sql.SQLException: Field ‘id‘ doesn‘t have a default value; Field ‘id‘ doesn‘t have a de
Cause: java.sql.SQLException: Field ‘id‘ doesn‘t have a default value; Field ‘id‘ doesn‘t have a de
|
9月前
|
SQL Java 数据库连接
Cause: java.sql.SQLSyntaxErrorException: ORA-00911: 无效字符
Cause: java.sql.SQLSyntaxErrorException: ORA-00911: 无效字符
88 0
|
9月前
Cause: java.sql.SQLIntegrityConstraintViolationException: Column ‘id‘ in field list is ambiguous
Cause: java.sql.SQLIntegrityConstraintViolationException: Column ‘id‘ in field list is ambiguous
270 0
|
9月前
|
Oracle Java 关系型数据库
【问题】Cause: java.sql.SQLException: 不支持的字符集 (在类路径中添加 orai18n.jar): ZHS16GBK
【问题】Cause: java.sql.SQLException: 不支持的字符集 (在类路径中添加 orai18n.jar): ZHS16GBK
|
9月前
|
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
68 0