I did the "Write your first Flutter app, Part 1".
There are instructions on how to do this for Java projects, but this is using Flutter and I have tried the other solutions but it does not work.
In the Project->External Libraries I have these 3 Libraries:
- Dart Packages
- Dart SDK
- Flutter for Android
Is there a way to generate .jar for a Project that has 3 libraries?
Here is the current build.gradle
buildscript {
ext.kotlin_version = '1.2.30'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
jcenter()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
task clean(type: Delete) {
delete rootProject.buildDir
}
I am using AD 3.2.1