


Here is the error message with the fix suggestion given by the Flutter SDK. | then update E:\flutter_apps\geodata\android\adle: │ │ Your project requires a newer version of the Kotlin Gradle plugin. Run with -info or -debug option to get more log output. Run with -stacktrace option to get the stack trace. Error Message: FAILURE: Build failed with an exception.Įxecution failed for task ':fluttertoast:compileDebugKotlin'. This error occurs, when you have an older version of kotlin at adle. Now you get a file folder in that folder and can easily read the apk's xml files.If you are getting "your project requires a newer version of the kotlin gradle plugin" error while running your Flutter app, see the solution below to solve this error in Flutter. Now run command like apktool if framework-res.apk (if you don't have it get it here)and nextĪpktool d myApp.apk (where myApp.apk denotes the filename that you want to decode) apk file which you want to decodeĭownload the latest version of apktool AND apktool install window (both can be downloaded from the same link) and place them in the same folder xml files are still unreadable, so continue. At this stage you get the java source but the.

Save all of these class files (In jd-gui, click File -> Save All Sources) by src name. You now have the 2jar file in the same folder.ĭownload java decompiler, double click on jd-gui, click on open file, and open 2jar file from that folder: now you get class files. Then write d2j-dex2jar x (for mac terminal or ubuntu write. Now open command prompt and change directory to that folder (or NEW FOLDER). zip file in the same folder (or NEW FOLDER).ĭownload dex2jar and extract it to the same folder (or NEW FOLDER). At this stage you are able to see drawables but not xml and java files, so continue. rename from filename.apk to filename.zip) and save it. Simple way: use online tool, upload apk and get source code. PluginsFile.withReader('UTF-8') ĭef flutterSdkPath = properties.getProperty("flutter.sdk")Īssert flutterSdkPath != null, "flutter.sdk not set in local.properties"Īpply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_adle" This is the working file adle: include ':app'ĭef flutterProjectRoot = ()ĭef pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins') In my specific case moor_ffi was not built and also the shared library libsqlite was not included in the apk. Using an old version of the file everything works.

I've found that the problem is related to adle
