Open chandruyadav1995 opened 5 days ago
BetterPlayer doesnt currently support the newest gradle version. But you can quickly fix it yourself:
Go to your Pub/Cache folder where flutter caches your packages, look for betterplayer and the build.gradle file.
Then add:
namespace = "com.jhomlala.better_player"
right before
compileSdkVersion 31
full code example:
...
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
namespace = "com.jhomlala.better_player"
compileSdkVersion 31
compileOptions {
...
This should resovle the problem
History check Yes Describe the bug FAILURE: Build failed with an exception.
*Example code used the code as per the code block
Flutter doctor Please add flutter doctor output here.
Better Player version
Smartphone (please complete the following information):
Additional context