SDK location not found. Define location with an ANDROID_SDK_ROOT
Flutter Version
My version: Flutter 2.2.3 • channel stable
Lib Version
My version : assets_audio_player-3.0.3+6
Platform (Android / iOS / web) + version
Platform : Android
Describe the bug
Can't run the project because of this error :
- What went wrong: Could not determine the dependencies of task ':compileReleaseAidl'.
SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project's local properties file at '/Users/lutaayaidris/.pub-cache/hosted/pub.dartlang.org/assets_audio_player-3.0.3+6/android/local.properties'.
Small code to reproduce
N/A
I suffer I can't do anything because of this bug any improvement
I have the same problem
Hello Guys, @oooooALIooooo @huxaiphaer I fixed that by adding this do my app/build.gradle
configurations.all { resolutionStrategy { force 'androidx.core:core-ktx:1.6.0' } }
Hello Guys, @oooooALIooooo @huxaiphaer I fixed that by adding this do my app/build.gradle
configurations.all { resolutionStrategy { force 'androidx.core:core-ktx:1.6.0' } }
This worked for me! Thanks!