audioplayer
audioplayer copied to clipboard
A problem occurred configuring root project 'audioplayer'
how can i resolve this problem. i get this error when i try to run this command:
flutter run --release
A problem occurred configuring root project 'audioplayer'. No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
Same problem...
iSame problem, can't build a release apk with audioplayer, without audioplayer it works fine. It works fine in Debug mode.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'audioplayers'.
> SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s
The plugin audioplayers could not be built due to the issue above.
Same problem
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'audioplayer'.
> Failed to notify project evaluation listener.
> org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String;)V
I have the same problem. After updating Flutter and reboot my pc.
* What went wrong:
Execution failed for task ':shared_preferences:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
C:\Users\santi\.gradle\caches\transforms-2\files-2.1\0a271e99b6771ad4a84318244d532fb7\core-1.0.0\res\values\values.xml:57:5-88:25: AAPT: error: resource android:attr/fontVariationSettings not found.
C:\Users\santi\.gradle\caches\transforms-2\files-2.1\0a271e99b6771ad4a84318244d532fb7\core-1.0.0\res\values\values.xml:57:5-88:25: AAPT: error: resource android:attr/ttcIndex not found.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 4m 16s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 257,8s (!)
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve
the incompatibility.
Building plugin audioplayers...
Running Gradle task 'assembleAarRelease'...
Running Gradle task 'assembleAarRelease'... Done 6,5s
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'audioplayers'.
> SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 6s
The plugin audioplayers could not be built due to the issue above.```
Try to set ANDROID_HOME environment variable . https://stackoverflow.com/questions/28296237/set-android-home-environment-variable-in-mac/40217509
Use audioplayers instead. https://github.com/luanpotter/audioplayers This is the alive version of this library.
Getting same problem. How did you solve ?
The above solution of changing it to audioplayers worked for me.
Getting same problem. How did you solve ?
Use this: https://github.com/luanpotter/audioplayers
Getting same problem. How did you solve ?
Use this: https://github.com/luanpotter/audioplayers
This doesn't solve the problem for me. Seems newer versions don't even work in debug mode
I am still facing the same problem, Please could someone help me out
The above solution of changing it to audioplayers worked for me.
same for me please give some suggestions
Having the same problem
I've solve this problem by changing compileSdkVersion and targetSdkVersion to the latest Android version in you build.gradle:app. Hope it will work for you too
I encountered the same problem, and it turns out that the mobile I was testing on didn't have Developer Mode and file-sharing on. Turning them on fixed it.
having this issue
Same problem
FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'audioplayer'. > Failed to notify project evaluation listener. > org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String;)V
so, how to solved the problem ?