diff --git a/app/build.gradle b/app/build.gradle index 3e495edf..5af8b0f1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,7 +9,7 @@ android { defaultConfig { minSdkVersion 26 - targetSdkVersion 26 + targetSdkVersion 28 } buildTypes { @@ -50,6 +50,7 @@ gradle.projectsEvaluated { } } +// http://www.31mins.com/android-studio-build-system-application/ preBuild.doLast { def imlFile = file(project.name + ".iml") diff --git a/app/src/main/Android.mk b/app/src/main/Android.mk index b83908e9..28df4ae6 100644 --- a/app/src/main/Android.mk +++ b/app/src/main/Android.mk @@ -16,19 +16,20 @@ LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/sysconfig LOCAL_SRC_FILES := $(LOCAL_MODULE) include $(BUILD_PREBUILT) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \ + commons-io:../../libs/commons-io-2.6.jar +include $(BUILD_MULTI_PREBUILT) + include $(CLEAR_VARS) LOCAL_PACKAGE_NAME := Backup LOCAL_MODULE_TAGS := optional LOCAL_REQUIRED_MODULES := permissions_com.stevesoltys.backup.xml whitelist_com.stevesoltys.backup.xml LOCAL_PRIVILEGED_MODULE := true LOCAL_PRIVATE_PLATFORM_APIS := true +LOCAL_CERTIFICATE := platform LOCAL_STATIC_JAVA_LIBRARIES := commons-io LOCAL_SRC_FILES := $(call all-java-files-under, java) LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res include $(BUILD_PACKAGE) - -include $(CLEAR_VARS) -LOCAL_MODULE_TAGS := optional -LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \ - commons-io:../../libs/commons-io-2.6.jar -include $(BUILD_MULTI_PREBUILT) \ No newline at end of file diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 0a6050ca..7e5e1297 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -7,7 +7,7 @@