{"id":104,"date":"2025-07-23T04:16:07","date_gmt":"2025-07-23T04:16:07","guid":{"rendered":"https:\/\/documentation.iqonic.design\/prokit-flutter\/?p=104"},"modified":"2025-07-23T04:29:12","modified_gmt":"2025-07-23T04:29:12","slug":"unsupported-gradle-version","status":"publish","type":"post","link":"https:\/\/documentation.iqonic.design\/prokit-flutter\/unsupported-gradle-version\/","title":{"rendered":"Unsupported gradle version"},"content":{"rendered":"<div class=\"nolwrap\">\n<p><strong>\ud83d\udd52 Estimated Reading:&nbsp;<\/strong>1 minutes<strong><br>\ud83d\udcc2&nbsp;Location:&nbsp;<\/strong>Common Errors \u2192 Android errors \u2192 Unsupported Gradle Version<\/p>\n\n\n\n<p>\u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u26a0\ufe0f What is This Error?<\/h3>\n\n\n\n<p>If you encounter the error message:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Unsupported Gradle version 3.x<\/strong><\/p>\n<\/blockquote>\n\n\n\n<p>It means that your current Gradle version is too old and not compatible with the version of Android Studio or the dependencies used in your project.<\/p>\n\n\n\n<p>\u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udee0\ufe0f When Does This Error Occur?<\/h3>\n\n\n\n<p>This typically happens when:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You\u2019re trying to open or run an older project with a newer version of Android Studio.<\/li>\n\n\n\n<li>The\u00a0<strong>gradle-wrapper.properties<\/strong>\u00a0file in your project is using a very old version (e.g.,\u00a0<code>3.x.x<\/code>) of Gradle that is no longer supported.<\/li>\n<\/ul>\n\n\n\n<p>\u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u2705 Solution \u2013 How to Fix This<\/h3>\n\n\n\n<p>Follow these simple steps to solve this issue:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open<strong>\u00a0<\/strong>your project in\u00a0<strong>Android Studio<\/strong>.<\/li>\n\n\n\n<li>Navigate to the\u00a0<strong>android<\/strong>\u00a0directory within your project\u2019s root directory.<\/li>\n\n\n\n<li>Wait for the project indexing process to complete in<strong>\u00a0Android Studio.<\/strong><\/li>\n\n\n\n<li>Once indexing is finished, run your application by selecting the Android module in your project and clicking on the<strong>\u00a0\u201cRun\u201d<\/strong>\u00a0button or using the appropriate keyboard shortcut.<\/li>\n<\/ol>\n\n\n\n<p>\u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd0d If the Issue Still Persists<\/h3>\n\n\n\n<p>If you\u2019re still facing the same error:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Update the Gradle Version Manually<\/strong><br>Open the following file in your project:\n<ul class=\"wp-block-list\">\n<li>android\/gradle\/wrapper\/gradle-wrapper.properties<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Replace the existing Gradle version with a supported version like:\n<ul class=\"wp-block-list\">\n<li>distributionUrl=https\\:\/\/services.gradle.org\/distributions\/gradle-7.5-all.zip<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Also Update the Gradle Plugin Version<\/strong><br>Open this file:\n<ul class=\"wp-block-list\">\n<li>android\/build.gradle<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Under\u00a0<strong>dependencies<\/strong>, update the Gradle plugin to match the new Gradle version:\n<ul class=\"wp-block-list\">\n<li>classpath \u2018com.android.tools.build:gradle:7.2.2\u2019<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>\u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udce2 Additional Help<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you\u2019re still stuck, try updating\u00a0<strong>Android Studio<\/strong>\u00a0to the latest version.<\/li>\n<\/ul>\n\n\n\n<p>\u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013<\/p>\n\n\n\n<p>\u2705&nbsp;<strong>That\u2019s it!<\/strong>&nbsp;You\u2019ve now resolved the&nbsp;<strong>Unsupported Gradle Version<\/strong>&nbsp;error and can continue working on your Android project smoothly.<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>\ud83d\udd52 Estimated Reading:&nbsp;1 minutes\ud83d\udcc2&nbsp;Location:&nbsp;Common Errors \u2192 Android errors \u2192 Unsupported Gradle Version \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 \u2013 [&hellip;]<\/p>\n","protected":false},"author":17,"featured_media":0,"parent":102,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-104","post","type-post","status-publish","format-standard","hentry","category-prokit-flutter"],"featured_image_src":null,"author_info":{"display_name":"flutteradminiq","author_link":"https:\/\/documentation.iqonic.design\/prokit-flutter\/author\/flutteradminiq\/"},"children":[],"_links":{"self":[{"href":"https:\/\/documentation.iqonic.design\/prokit-flutter\/wp-json\/wp\/v2\/posts\/104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/documentation.iqonic.design\/prokit-flutter\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/documentation.iqonic.design\/prokit-flutter\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/prokit-flutter\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/prokit-flutter\/wp-json\/wp\/v2\/comments?post=104"}],"version-history":[{"count":2,"href":"https:\/\/documentation.iqonic.design\/prokit-flutter\/wp-json\/wp\/v2\/posts\/104\/revisions"}],"predecessor-version":[{"id":106,"href":"https:\/\/documentation.iqonic.design\/prokit-flutter\/wp-json\/wp\/v2\/posts\/104\/revisions\/106"}],"up":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/prokit-flutter\/wp-json\/wp\/v2\/posts\/102"}],"wp:attachment":[{"href":"https:\/\/documentation.iqonic.design\/prokit-flutter\/wp-json\/wp\/v2\/media?parent=104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/prokit-flutter\/wp-json\/wp\/v2\/categories?post=104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/prokit-flutter\/wp-json\/wp\/v2\/tags?post=104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}