I created libs folder under android and put mdslib-3.15.0-release.aar in it and followed the instructions but failed.
So I move the libs folder to android/app, in app level build.gridle I added
dependencies {
implementation(name: 'mdslib-3.15.0-release', ext: 'aar')
}
In the project level build.gradle I followed the instruction
allprojects {
repositories {
google()
mavenCentral()
flatDir{
dirs 'libs'
}
}
}
But still cannot build,
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':mdsflutter:generateDebugRFile'.
Could not resolve all files for configuration ':mdsflutter:debugCompileClasspath'.
Could not find any matches for :mdslib:+ as no versions of :mdslib are available.
Required by:
project :mdsflutter
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.
I created libs folder under android and put mdslib-3.15.0-release.aar in it and followed the instructions but failed. So I move the libs folder to android/app, in app level build.gridle I added dependencies { implementation(name: 'mdslib-3.15.0-release', ext: 'aar') }
android { namespace "com.example.smart" compileSdk flutter.compileSdkVersion ndkVersion flutter.ndkVersion
In the project level build.gradle I followed the instruction allprojects { repositories { google() mavenCentral() flatDir{ dirs 'libs'
} But still cannot build, FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':mdsflutter:generateDebugRFile'.
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 16s Error: Gradle task assembleDebug failed with exit code 1
Need help