Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

difference between static and normal java libraries in android make file

Tags:

android

Can LOCAL_STATIC_JAVA_LIBRARIES be used instead of LOCAL_JAVA_LIBRARIES in Android.mk file? Build cook book (http://pdk.android.com/online-pdk/guide/build_cookbook.html#mkVars) doesn't give information about LOCAL_STATIC_JAVA_LIBRARIES. what is the difference between static and regular java libraries.

like image 835
Suresh Avatar asked Jun 24 '10 07:06

Suresh


1 Answers

LOCAL_STATIC_JAVA_LIBRARIES are used for libraries which will be clubbed with your library or jar. Similar to lib.a. LOCAL_JAVA_LIBRARIES are used for libraries which won't be clubbed with your jar. Similar to lib.so. For LOCAL_JAVA_LIBRARIES platform should provide its implementation else it would crash.

like image 137
Naveen Singh Avatar answered Nov 06 '22 07:11

Naveen Singh