Switch to LOCAL_STATIC_ANDROID_LIBRARIES
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
-appcompat_dir := frameworks/support/v7/appcompat
res_dir := app/src/main/res
nonlib_res_dir := app/src/nonlib/res
LOCAL_MODULE_TAGS := optional
-LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/$(res_dir) $(LOCAL_PATH)/$(nonlib_res_dir) $(appcompat_dir)/res
+LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/$(res_dir) $(LOCAL_PATH)/$(nonlib_res_dir)
LOCAL_SRC_FILES := \
$(call all-java-files-under, app/src/main/java) \
@@ -18,7 +17,7 @@ LOCAL_SRC_FILES := \
LOCAL_MANIFEST_FILE := app/src/androidx86/AndroidManifest.xml
-LOCAL_STATIC_JAVA_LIBRARIES := \
+LOCAL_STATIC_ANDROID_LIBRARIES := \
android-support-v4 \
android-support-v7-appcompat \
android-support-design
@@ -35,8 +34,6 @@ LOCAL_PRIVILEGED_MODULE := true
LOCAL_AAPT_FLAGS := \
--auto-add-overlay \
- --rename-manifest-package com.farmerbb.taskbar.androidx86 \
- --extra-packages android.support.v7.appcompat \
- --extra-packages android.support.design
+ --rename-manifest-package com.farmerbb.taskbar.androidx86
include $(BUILD_PACKAGE)
