Android SDK 和 ADT R17 发布 - 开源中国社区
Android SDK 和 ADT R17 发布
红薯 2012年03月22日

Android SDK 和 ADT R17 发布

红薯 红薯 发布于2012年03月22日 收藏 4 评论 8

有免费的MySQL,为什么还要买? >>>  

Google 今天发布了 Android SDK 工具和Eclipse 开发插件 R17 版本,该版本包含很多构建系统、模拟器方面的 bug 修复,同时也引入一些新特性。

特别是在 Windows 和 Mac 虚拟模式下支持 AOSP x86 Android 构建,另外模拟器支持多点触摸的操作。

完整的改进记录如下:

  • Added check for Android API calls that require a version of Android higher than the minimum supported version. You can use the new @TargetApiannotation to specify local overrides for conditionally loaded code. For more information, read here.
  • Added over 40 new Lint rules for a total of over 80, including checks for performance, XML layouts, manifest and file handling. For a full list read here.
  • Added ability to suppress Lint warnings in Java code with the new @SuppressLint annotation, and in XML files with the new tools: namespace prefix and ignore attribute. For more information, read here.
  • Improved HTML and XML reporting and Eclipse integration. For more information, read here.

构建系统包括 Eclipse 和 Ant 方面的改进:

  • Added strict dependency support for 3rd party Jar files. You can read more information here.
  • Added support for custom views with custom attributes in libraries. Layouts using custom attributes must use the namespace URIhttp://schemas.android.com/apk/res-auto instead of the URI that includes the app package name. This URI is replaced with the app specific one at build time.
  • Added a feature that allows you to run some code only in debug mode. Builds now generate a class called BuildConfig containing a DEBUG constant that is automatically set according to your build type. You can check the (BuildConfig.DEBUG) constant in your code to run debug-only functions such as outputting debug logs.

模拟器改进:

  • Thanks to contributions to AOSP from Intel, the emulator now supports running x86 system images in virtualization mode on Windows and Mac OS X. This allows the emulator running at near native speed. The drivers are available through the SDK Manager. Read more here.
  • After adding webcam support and sensor emulation, we are adding experimental support for Multi-Touch input through a tethered Android device. (Read more here)

最后是一些更新的支持库的改进:

  • ShareCompat provides easy helper classes for both sending and receiving content for social sharing apps.
  • NavUtils and TaskStackBuilder provide cross-version support for implementing the Android Design guidelines for navigating within your app including the action bar’s “Up” button.
  • NotificationCompat.Builder provides a compatibility implementation of Android 3.0′s Notification.Builder helper class for creating standardized system notifications.
  • A new Library Project adds support for GridLayout back to API level 7 and higher.
下载地址 here.
本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:Android SDK 和 ADT R17 发布
分享
评论(8)
最新评论
0

引用来自“fneg”的评论

坑爹啊!外部导入的jar文件和Builder path添加的其他项目都不能一起打包到apk里面了

同样出现7楼问题了呀,悲催啊
0
坑爹啊!外部导入的jar文件和Builder path添加的其他项目都不能一起打包到apk里面了
0
安装完后Eclipse崩溃了
0
期望多修复一些bug
0
用上了加速之后,模拟器的操作延迟的确有所降低。
0
马上跟进
0
更新了,嘿嘿
0
This allows the emulator running at near native speed.
顶部