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 more