You cannot directly run jar files in android as android runs on Dalvik Virtual Machine , whereas to run jar files you will need Java Runtime Environment which has Java Virtual Machine .
Read moreHow do I import a jar into Flutter?
Open the plugin project in your IDE. After that add the third-party jars to the Java classpath. In IDE, click Project Structure/Modules/Select pluginName_android / Dependencies tab/Green PlusSign/jars or directories. Later select the individual jars or the whole folder.25 Eyl 2021
Read moreHow do I import a JAR file?
Your answer
Read moreHow do you clean gradle in Flutter?
Just Follow Below Steps.
Read moreWhere is gradle file in Flutter?
B. gradle file. For full-Flutter apps, these edits are done in your Flutter project’s /android/ directory .
Read moreHow do I change gradle in Flutter?
open your project and then go to : File->Settings->Build, Execution, Deployment->Build Tools-> Gradle . Add the path of your Gradle in The Android Studio as shown bellow.
Read more