Unfortunately I have updated my Android studio to 3.2.4 and since then, many issues occured.
I read from the 0.57 Changelog
Android tooling has been updated to match newer configuration
requirements (SDK 27, gradle 4.4, and support library 27); building
with Android plugin 3.2 doesn't work due to the gradle scripts, so
please stay on Android Studio 3.1 for now
Now I can neither downgrade nor download version 3.1.
Old versions are available in Android Studio download archives.
Related
I'd like to upgrade the kotlin plugin bundled with Android Studio to a newer version (1.4.30), but not the latest version (1.4.31). The reason is that I think there's a bug with the latest one, but I would still like to use a version of the plugin that's relatively new instead of the one that comes bundled by default with the latest version of Android Studio (1.3.72 - almost a year old).
Is there a way to do this?
Why my android studio is keep sending message in events after updating android studio to 4.1 vesion. and not in 4.1 vesion there is also no option to create flutter project, what happend wrong with it, message is as bellow
Plugin Error
Plugin "Gradle Dependencies Helper" is incompatible (supported only in intellij IDEA).
android studion version details
Android Studio 4.1
Build #AI-201.8743.12.41.8658069, built on September 23, 2020
Runtime version:1.8.0_242-release-1644-b01 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Powered by open-source software
This plugin is currently not supported by Android Studio. You can see the plugin here https://plugins.jetbrains.com/plugin/7299-gradle-dependencies-helper/versions and clicking the most recent version shows Android Studio in 'unsupported products' list.
I had this problem too (and 2 other failings plugins), fixed it by going to
In windows 10
%USERPROFILE%\AppData\Roaming\Google\AndroidStudio4.1\plugins
and deleting the .jar file(s) and folder(s) that have the same name as the failing plugin(s).
In this case: GradleDependenciesHelperPlugin-1.14.jar.
How can I fix this issue
And also I have JDK 8
Installed flutter dart plugins
This is a known bug with Android Studio Version 4.1.
Your choices are either to downgrade to 4.0, or wait for an update. The issue is with Android Studio, not the plugins.There is no known workaround to make the plugins work until the Android Studio team fixes it.
See https://github.com/flutter/flutter/issues/67986 for details.
I have downloaded a previous version of Android Studio (3.0.1) since I must use the android gradle plugin version 3.0.1 and gradle 4.1.
The code, and the other modules it depends on, were written using Android Studio 3.2, kotlin 1.3.10 and gradle version 4.10.2
When I try to synchronize the project with the older version of Android Studio (3.0.1) or running gradlew assembleDebug it says the minimum gradle version is 4.6 even though the gradle wrapper version is 4.1 and the gradle plugin version is 3.0.1. The kotlin version for all dependencies was set on 1.2.41
This is the error:
Minimum supported Gradle version is 4.6. Current version is 4.1.
Please fix the project's Gradle settings. Fix Gradle wrapper and
re-import project Gradle settings
How can I compile such project using older the older version?
You have to use newer gradle wrapper and plugin in order to compile your project, if you want to use AS 3.2. So there is two options for you - upgrade wrapper and plugin, or downgrade AS, plugin, wrapper and kotlin in all dependencies.
I had to reinstall Android Studio and now when I try to build my projects I get this error:
org.gradle.tooling.GradleConnectionException: Could not create an instance of Tooling API implementation using the specified Gradle distribution 'http://services.gradle.org/distributions/gradle-1.9-all.zip'.: Could not create an instance of Tooling API implementation using the specified Gradle distribution 'http://services.gradle.org/distributions/gradle-1.9-all.zip'.
I tried editing system variables and Android Studio settings but nothing has seemed to work.
Andrew
This is a problem with the Android plugin v0.7.2 and will be fixed in 0.7.3. In the meantime you can force it back to 0.7.1 following the answer here:
Android Studio fails - unsupport unsupported major minor version 51.0