apk is not optimized

After compiling found himself alone maintenance module does not work,

Later discovered that generated more than normal apk small, only 500K, and run the class can not be found

Only to find that is optimized

--- a/Bluetooth/Android.mk
+++ b/Bluetooth/Android.mk
@@ -10,9 +10,9 @@ LOCAL_MODULE := mtkbluetooth.mapsapi
 include $(BUILD_STATIC_JAVA_LIBRARY)
 
 include $(CLEAR_VARS)
-
+LOCAL_DEX_PREOPT := false
 LOCAL_MODULE_TAGS := optional
-
+DONT_DEXPREOPT_PREBUILTS = true

Generated more than 1M size, it is normal

Published 168 original articles · won praise 39 · views 110 000 +

Guess you like

Origin blog.csdn.net/u010481276/article/details/104780501