r22 tools cause java.lang.VerifyError when building from ant script
2013-08-23 15:15
375 查看
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
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
相关文章推荐
- Android SDK更新到17(SDK Tools --> 17)后的悲剧: java.lang.VerifyError: com.xxx
- java.lang.VerifyError: Bad <init> method call from inside of a branch
- Caused by: java.lang.VerifyError: Cannot inherit from final class
- Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/tools/ant/launch/Launc
- 使用paoding lucene分词 ,遇到java.lang.VerifyError: Cannot inherit from final class 问题
- java.lang.VerifyError: Bad <init> method call from inside of a branch
- ProbeException: Error getting ordinal list from JavaBean. Cause java.lang.StringIndexOutOfBoundsExce
- java.lang.VerifyError: Expecting a stackmap frame at branch target
- java.lang.VerifyError异常
- 出现error:The type java.lang.Object cannot be resolved. It is indirectly referenced from required .cla
- java.lang.NoSuchFieldError: INSTANCE in HttpClient when running hadoop
- Java调用hdfs出现java.lang.VerifyError: class org.apache.hadoop.hdfs.protocol.proto异常
- 9、android开发之java.lang.verifyError(转载)
- jdk7 java.lang.VerifyError: Expecting a stackmap f
- Error parsing Mapper XML. Cause: java.lang.IllegalArgumentException: Result Maps collection already
- 关于使用v4.app.Fragment,出现“java.lang.VerifyError:”
- java.lang.VerifyError解决方案 Android
- 异常:java.lang.LinkageError: loader constraint violation: when resolving interface method
- mybatis 执行查询时报错 【Error querying database. Cause: java.sql.SQLException: Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotFoundException: Cannot find class: 】
- java.lang.VerifyError解决方案