From 75c736709dd064107e37db028baac9710f59b714 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Mon, 7 Feb 2022 01:11:55 +0100 Subject: build: Use d8 instead of dx dx have been removed in android build tools >30.0.3 in favor of d8. Lift the version constraint on the build tools. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 10f7fb4..7a8f7f8 100644 --- a/Makefile +++ b/Makefile @@ -105,4 +105,4 @@ _build/classes.dex: $(JAVA_FILES) $(R_FILE) -classpath $(ANDROID_PLATFORM)/android.jar:$(EXTRA_JARS) \ -sourcepath $(SRC_DIR):$(GEN_DIR) \ $^ - $(ANDROID_BUILD_TOOLS)/dx --dex --output="$@" $(OBJ_DIR) $(subst :, ,$(EXTRA_JARS)) + $(ANDROID_BUILD_TOOLS)/d8 --output $(@D) $(OBJ_DIR)/*/*/* $(subst :, ,$(EXTRA_JARS)) -- cgit v1.2.3