diff options
-rw-r--r-- | docs/README.Android.md | 4 | ||||
-rw-r--r-- | tools/android/packaging/Makefile.in | 2 | ||||
-rw-r--r-- | tools/android/packaging/build.gradle | 10 | ||||
-rw-r--r-- | tools/android/packaging/gradle/wrapper/gradle-wrapper.properties | 2 | ||||
-rw-r--r-- | tools/android/packaging/xbmc/build.gradle.in | 14 |
5 files changed, 16 insertions, 16 deletions
diff --git a/docs/README.Android.md b/docs/README.Android.md index a2d4d14ea7..80c7577987 100644 --- a/docs/README.Android.md +++ b/docs/README.Android.md @@ -94,8 +94,8 @@ Before Android SDK can be used, you need to accept the licenses and configure it cd $HOME/android-tools/android-sdk-linux/tools/bin ./sdkmanager --licenses ./sdkmanager platform-tools -./sdkmanager "platforms;android-26" -./sdkmanager "build-tools;25.0.3" +./sdkmanager "platforms;android-28" +./sdkmanager "build-tools;28.0.3" ``` ### 3.3. Set up the Android toolchain diff --git a/tools/android/packaging/Makefile.in b/tools/android/packaging/Makefile.in index 07776ce320..05b38a7820 100644 --- a/tools/android/packaging/Makefile.in +++ b/tools/android/packaging/Makefile.in @@ -163,7 +163,7 @@ java: res package: libs python java @echo "Gradle build..." ANDROID_HOME=$(SDKROOT) ./gradlew assemble$(BUILD_TYPE)Unsigned - @cp xbmc/build/outputs/apk/xbmc-$(BUILD_TYPE_LC)Unsigned-unsigned.apk images/@APP_NAME_LC@app-debug-$(CPU)-unaligned.apk + @cp xbmc/build/outputs/apk/$(BUILD_TYPE_LC)Unsigned/xbmc-$(BUILD_TYPE_LC)Unsigned-unsigned.apk images/@APP_NAME_LC@app-debug-$(CPU)-unaligned.apk apk-sign: @echo "Signing..." diff --git a/tools/android/packaging/build.gradle b/tools/android/packaging/build.gradle index 6832158cc7..725fb5c07a 100644 --- a/tools/android/packaging/build.gradle +++ b/tools/android/packaging/build.gradle @@ -6,7 +6,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:2.3.3' + classpath 'com.android.tools.build:gradle:3.5.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -17,10 +17,8 @@ allprojects { repositories { jcenter() google() + maven { + url "https://maven.google.com" + } } } - -task wrapper(type: Wrapper) { - gradleVersion = '4.1' //version required -} - diff --git a/tools/android/packaging/gradle/wrapper/gradle-wrapper.properties b/tools/android/packaging/gradle/wrapper/gradle-wrapper.properties index 9960ba8997..fa7b9da133 100644 --- a/tools/android/packaging/gradle/wrapper/gradle-wrapper.properties +++ b/tools/android/packaging/gradle/wrapper/gradle-wrapper.properties @@ -3,5 +3,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip diff --git a/tools/android/packaging/xbmc/build.gradle.in b/tools/android/packaging/xbmc/build.gradle.in index afe96a795c..49a18040a6 100644 --- a/tools/android/packaging/xbmc/build.gradle.in +++ b/tools/android/packaging/xbmc/build.gradle.in @@ -1,12 +1,12 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 26 - buildToolsVersion "25.0.3" + compileSdkVersion 28 + buildToolsVersion "28.0.3" defaultConfig { applicationId "@APP_PACKAGE@" minSdkVersion 21 - targetSdkVersion 26 + targetSdkVersion 28 versionCode @APP_VERSION_CODE_ANDROID@ versionName "@APP_VERSION@" } @@ -35,7 +35,9 @@ android { jniLibs.srcDirs = ['lib'] } } - + packagingOptions{ + doNotStrip '**.setup' + } } project.afterEvaluate { @@ -44,6 +46,6 @@ project.afterEvaluate { dependencies { // New support library to for channels/programs development. - compile 'com.android.support:support-tv-provider:26.0.1' - compile 'com.google.code.gson:gson:2.8.0' + implementation 'com.android.support:support-tv-provider:28.0.0' + implementation 'com.google.code.gson:gson:2.8.0' } |