Closed thusimon closed 2 years ago
I just had the same issue and solved by doing the following:
In file android\build.gradle
change gradle version to 7.0.2 and ext.kotlin_version to 1.5.21 as below:
buildscript {
ext.kotlin_version = '1.5.21'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
In file android\gradle\wrapper\gradle-wrapper.properties
change distributionUrl as the following:
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip
I hope this helps...
@postacik
I tried, but I get this error anyway. It looks like it won't fetch the third party repos for me. If I fetch them manually it works though.
/Users/admin/.pub-cache/hosted/pub.dartlang.org/flutter_sequencer-0.4.3/android/third_party/oboe
does not contain a CMakeLists.txt file.
CMake Error at CMakeLists.txt:22 (ADD_SUBDIRECTORY):
The source directory
/Users/admin/.pub-cache/hosted/pub.dartlang.org/flutter_sequencer-0.4.3/android/third_party/sfizz
does not contain a CMakeLists.txt file.
Thanks a lot guys, I didn't encounter @jugamir 's issue, I just tried @postacik 's update, it builds successfully now:)
Hi Team, I added latest version
flutter_sequencer: ^0.4.3
in dependency and run the app in vscode, but I got these errorsThe error occurs in this line
apply plugin: 'com.android.library'
. I am not sure how to configure theenablePrefab
I am on the Android studio version 2020.3.1. Any ideas to solve this? Thanks a lot!