diff --git a/app/build.gradle b/app/build.gradle index 0391a368ac4..c537dbe14a0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,13 +8,14 @@ plugins { android { namespace 'io.github.muntashirakon.AppManager' compileSdk compile_sdk + buildToolsVersion "34.0.0" defaultConfig { applicationId 'io.github.muntashirakon.AppManager' minSdk min_sdk targetSdk target_sdk - versionCode 426 - versionName "3.1.3" + versionCode 427 + versionName "3.1.4" javaCompileOptions { annotationProcessorOptions { arguments = ["room.schemaLocation": "$projectDir/schemas".toString()] @@ -89,6 +90,9 @@ android { packagingOptions { exclude 'META-INF/*.version' } + buildFeatures { + aidl true + } } dependencies { diff --git a/app/src/main/res/raw/changelog.xml b/app/src/main/res/raw/changelog.xml index 4bf59f48a5b..4139f6af909 100644 --- a/app/src/main/res/raw/changelog.xml +++ b/app/src/main/res/raw/changelog.xml @@ -1,5 +1,17 @@ + + Fixed an intermittent crash in the App Info tab + Fixed disabling components in Android 14 + + [br /][b]Full list of changes:[/b] [a + href="https://github.com/MuntashirAkon/AppManager/compare/v3.1.3...v3.1.4"]v3.1.3...v3.1.4[/a] + + /dev/null && pwd -P ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum @@ -130,10 +131,13 @@ location of your Java installation." fi else JAVACMD=java - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + if ! command -v java >/dev/null 2>&1 + then + die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match the location of your Java installation." + fi fi # Increase the maximum file descriptors if we can. diff --git a/libcore/io/build.gradle b/libcore/io/build.gradle index d39b2bbd487..6996bc9dea2 100644 --- a/libcore/io/build.gradle +++ b/libcore/io/build.gradle @@ -18,6 +18,9 @@ android { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } + buildFeatures { + aidl true + } } dependencies { diff --git a/libopenpgp/build.gradle b/libopenpgp/build.gradle index d9b9bfeefdf..4a6281b3faa 100644 --- a/libopenpgp/build.gradle +++ b/libopenpgp/build.gradle @@ -16,6 +16,9 @@ android { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } + buildFeatures { + aidl true + } } dependencies { diff --git a/libserver/build.gradle b/libserver/build.gradle index 764e29e7cf4..93acda64dee 100644 --- a/libserver/build.gradle +++ b/libserver/build.gradle @@ -18,6 +18,9 @@ android { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } + buildFeatures { + aidl true + } } dependencies { diff --git a/server/build.gradle b/server/build.gradle index 222b5729beb..dfa42f2dd5a 100644 --- a/server/build.gradle +++ b/server/build.gradle @@ -7,6 +7,7 @@ plugins { android { namespace 'io.github.muntashirakon.AppManager.server' compileSdk compile_sdk + buildToolsVersion "34.0.0" defaultConfig { minSdk min_sdk diff --git a/versions.gradle b/versions.gradle index 97fcb8273dd..5fb9015706e 100644 --- a/versions.gradle +++ b/versions.gradle @@ -6,7 +6,7 @@ ext { target_sdk = 33 // Gradle plugins - agp_version = "7.4.0" + agp_version = "8.1.0" // Library dependencies androidx_core_version = "1.11.0-beta02" // Added temporarily until appcompat migrates to it