From 9a4c4e4a1a72faccb63d78636f1fbe3d03c85ed5 Mon Sep 17 00:00:00 2001 From: Alexey Kuznetsov Date: Tue, 8 Dec 2020 01:09:00 +0300 Subject: [PATCH] enable legacy sdcard access --- app/build.gradle | 4 ++-- app/src/main/AndroidManifest.xml | 1 + build.gradle | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 7a6ec12..1760234 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'com.android.application' apply plugin: 'com.github.axet.dxplugin' android { - compileSdkVersion 25 + compileSdkVersion 29 buildToolsVersion '28.0.3' defaultConfig { @@ -54,6 +54,6 @@ android { dependencies { testImplementation 'junit:junit:4.12' implementation 'com.github.axet:android-audio-library:1.0.178' // implementation project(':android-audio-library') - implementation ('com.github.axet:wget:1.6.1') { exclude group: 'org.json', module: 'json' } + implementation ('com.github.axet:wget:1.7.0') { exclude group: 'org.json', module: 'json' } assets('com.google.android.exoplayer:exoplayer:2.7.3') { exclude group: 'com.android.support' } } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 8bb58f8..c078dde 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -19,6 +19,7 @@ android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" + android:requestLegacyExternalStorage="true" android:roundIcon="@mipmap/ic_launcher" android:supportsRtl="true" android:theme="@style/RecThemeLight"> diff --git a/build.gradle b/build.gradle index 8e6ffc2..9696088 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.0.2' classpath 'com.github.axet:gradle-android-dx:0.0.4' } }