Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I remove the android-support-v4.jar library?

When you create a project, it comes with this library added by default:

android-support-v4.jar

Can I remove it? What happens if I remove the library? Can the app stop working in some phones?

like image 711
NullPointerException Avatar asked Feb 01 '13 16:02

NullPointerException


People also ask

What is the use of Android support library?

In addition, the Support Libraries provide additional convenience classes and features not available in the standard Framework API for easier development and support across more devices. Originally a single binary library for apps, the Android Support Library has evolved into a suite of libraries for app development.

What is Android Design Support library?

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 tabs.

What is AndroidX support library?

AndroidX is a major improvement to the original Android Support Library, which is no longer maintained. androidx packages fully replace the Support Library by providing feature parity and new libraries.

What Is Legacy library Android?

The Support Library is a static library that you can add to your Android application in order to use APIs that are either not available for older platform versions or utility APIs that aren't a part of the framework APIs. Compatible on devices running API 14 or later.


1 Answers

Can I remove it?

You can try.

What happens if I remove that library?

You will not be able to use anything supplied by it, such as the fragments backport, ViewPager, etc.

Can the app stop working in some phones?

You will get build errors first.

like image 56
CommonsWare Avatar answered Sep 17 '22 16:09

CommonsWare