diff --git a/Notes/Android.mk b/Notes/Android.mk index d497a2d58af5c48f5c1cd8bbebbb1b88aa2385d8..2320277cf601ebf180e1231d48ae101d5283b141 100644 --- a/Notes/Android.mk +++ b/Notes/Android.mk @@ -6,4 +6,8 @@ LOCAL_CERTIFICATE := platform LOCAL_SRC_FILES := app-release-unsigned.apk LOCAL_MODULE_CLASS := APPS LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX) +ifneq ($(call math_gt_or_eq, $(PLATFORM_SDK_VERSION), 31),) +LOCAL_OPTIONAL_USES_LIBRARIES := androidx.window.extensions \ + androidx.window.sidecar +endif include $(BUILD_PREBUILT)