support library目录解释说明内容

 

ExifInterface Support Library这个也是一个独立依赖的类,不需要第三方的包

Exif tags store information such as the orientation, date and time, camera information, and the location directly in a JPEG or RAW file. The ExifInterface class unbundles support for reading Exif information from JPEG and raw (DNG, CR2, NEF, NRW, ARW, RW2, ORF, PEF, SRW and RAF) formatted files, and setting the Exif information on JPEG image files.

The Gradle build script dependency identifier for this library is as follows:

com.android.support:exifinterface:28.0.0

 

Vector Drawable Library这个包会依赖很多的support包,但是不是很多有

 

Provides support for static vector graphics.

The Gradle build script dependency identifier for this library is as follows:

com.android.support:support-vector-drawable:28.0.0 

 

v4 Support Libraries:v4依赖包,这个是我们最经常用的app包了

 These libraries include the largest set of APIs compared to the other libraries, including support for application components, user interface features, accessibility, data handling, network connectivity, and programming utilities. 

For complete, detailed information about the classes and methods provided by the v4 support libraries, see the android.support.v4 package in the API reference.包括的组件包括下面几个aar包的使用。

(v4 compat library、v4 core-utils library、v4 core-ui library、v4 media-compat library、v4 fragment library)

 

Note: Prior to Support Library revision 24.2.0, there was a single v4 support library. That library was divided into multiple modules to improve efficiency. For backwards compatibility, if you list support-v4 in your Gradle script, your APK will include all of the v4 modules. However, to reduce APK size, we recommend that you just list the specific modules your app needs.

v4包是 现在已经拆分了,可以分为好几个包使用,这样的好处是减少apk的大小,可以把不需要的包直接干掉,不要放到v4里面使用。

 

v7 appcompat library   :这个包以来v4 的包

These libraries provide specific feature sets and can be included in your application independently from each other.

 

Design Support Library主要包含谷歌的material design效果的控件,这个包依赖多个安卓的包

所以会造成app的大小增加了很多,

The design package provides APIs to support adding material design components and patterns to your apps.

The Design Support library adds support for various material design components and patterns for app developers to build upon, such as navigation drawers, floating action buttons (FAB), snackbars, and tab

The Gradle build script dependency identifier for this library is as follows:

  

 

Annotations Support Library这个包是单独依赖的,不会依赖任何support的包,只会依赖

一个java的注解库,所以不会造成app的大小增大很多。

The Annotation package provides APIs to support adding annotation metadata to your apps.

The Gradle build script dependency identifier for this library is as follows:

com.android.support:support-annotations:28.0.0

 

posted on 2019-03-31 15:03  tistar  阅读(478)  评论(0编辑  收藏  举报