简体   繁体   中英

Is it safe to replace android-support-v4.jar shipped with libraries with the latest

From time to time, Google will release latest version of android-support-v4.jar

Most of the time, there are quite a number of 3rd party libraries depend on this jar file. They shipped with their own version of android-support-v4.jar.

I was wondering, is it safe for me, by just merely replace their shipped old android-support-v4.jar, with the latest android-support-v4.jar released by Google?

I tested. It seems to work with some basic test. I'm not sure is there any catches behind.

The best answer is probably, but there's no way to be sure. If Google didn't accidentally add a bug, then it will probably work. If they did, things may break. Or if the library depended on an old bug that Google fixed. Chances are you'll be safe, but you can never be sure without testing.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM