OSDN Git Service

Fix building errors on Android 7.0 multiwindow-oreo nougat-x86 oreo-x86 android-x86-7.1-r1 android-x86-7.1-r2 android-x86-7.1-r3 android-x86-7.1-r4 android-x86-7.1-r5 android-x86-8.1-r1 android-x86-8.1-r2 android-x86-8.1-r3 android-x86-8.1-r4 android-x86-8.1-r5 android-x86-8.1-r6
authorChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 24 Aug 2016 19:04:56 +0000 (03:04 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 24 Aug 2016 19:04:56 +0000 (03:04 +0800)
The new rules require that we explicitly specify the
static java library is uninstallable.

Android.mk

index 137e0f9..bef486a 100644 (file)
@@ -5,5 +5,6 @@ include $(CLEAR_VARS)
 LOCAL_MODULE := googleanalytics
 LOCAL_SRC_FILES := lib/libGoogleAnalyticsServices.jar
 LOCAL_MODULE_CLASS := JAVA_LIBRARIES
+LOCAL_UNINSTALLABLE_MODULE := true
 
 include $(BUILD_PREBUILT)