Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

com.android.support:support-v4 question #12

Open
unit-002 opened this issue Feb 27, 2021 · 0 comments
Open

com.android.support:support-v4 question #12

unit-002 opened this issue Feb 27, 2021 · 0 comments

Comments

@unit-002
Copy link

according to android support library package here
https://developer.android.com/topic/libraries/support-library/packages

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. 

com.android.support:support-compat:28.0.0
com.android.support:support-core-utils:28.0.0
com.android.support:support-core-ui:28.0.0
com.android.support:support-media-compat:28.0.0
com.android.support:support-fragment:28.0.0

For using the new version, I am confused as to what module to use? since I am also using the latest gradle version.
Should I still use all the module like this:

com.android.support:support-v4:28.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant