Android Studio complaining Gradle version is too low - android-studio

Android Studio is complaining that Gradle version is too low
Failed to apply plugin 'com.android.internal.version-check'.
> Minimum supported Gradle version is 7.2. Current version is 7.0.
But when I check my Gradle version in Project Structure it's clearly v7.2
I have checked for Android Studio updates and there are none.
I have invalidated caches and restarted
I have rebooted system and started Android Studio
So why is Android Studio complaining and how do I remedy
Android Studio details
Android Studio Bumblebee | 2021.1.1 Patch 2
Build #AI-211.7628.21.2111.8193401, built on February 17, 2022
Runtime version: 11.0.11+0-b60-7590822 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.3.1
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Registry: external.system.auto.import.disabled=true, ide.images.show.chessboard=true
In Project explorer in the .gradle folder there are multiple version folders.

You should try File ->Invalidate caches / Restart.
Two files change when gradle version is changed
build.gradle
classpath 'com.android.tools.build:gradle:7.1.2'
gradle-wrapper.properties
distributionUrl=https://services.gradle.org/distributions/gradle-7.2-all.zip
You can check these two files whether they are changed according to new version

Related

Android Studio Bumblebee | 2021.1.1 Patch 1 Generate Signed Bundle / APK wizard does not open

I have upgraded to Android Studio Bumblebee | 2021.1.1 Patch 1, and noticed that after a number of successful builds on my stagingRelease apk the Generate Signed Bundle / APK wizard does not open
this the version of android studio i am using
Android Studio Bumblebee | 2021.1.1 Patch 1
Build #AI-211.7628.21.2111.8139111, built on February 1, 2022
Runtime version: 11.0.11+0-b60-7590822 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 10.15.7
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 12
Registry: external.system.auto.import.disabled=true, debugger.watches.in.variables=false
Non-Bundled Plugins: org.jetbrains.kotlin (211-1.6.10-release-923-AS7442.40)
none of the actions i have tried have rectified this issue
i have tried closing and reopening android studio
invalidating caches and restarting
what is the solution to this issue?

How to successfully Restart App Inspection in Android Studio Bumblebee

Im trying this version of Android Studio
Android Studio Bumblebee | 2021.1.1 Beta 4
Build #AI-211.7628.21.2111.7905991, built on November 11, 2021
Runtime version: 11.0.11+0-b60-7590822 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 10.15.7
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 12
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: org.jetbrains.kotlin (211-1.6.0-release-798-AS7442.40)
I realise its a Beta release, however Im having difficulty with the App Inspection tool.
Its fine at the start of the day, once I have stopped it and attempt to restart it consistently fails.
Ive tried closing and reopening Android Studio, restarting Android Studio, invalidating cache and restarting Android Studio, clear file system cache and local history and restarting Android Studio
none of these actions can resolve the error state of
Could not launch inspector androidx.sqlite.inspection: Inspector with the given id androidx.sqlite.inspection already exists. It was launched by project MyProject
Is there an approach I should be taking to resolve this issue?

Installing Kotlin Plugin 1.4.31 causes Android Studio to not highlight syntax errors for a single file

Syntax error highlighting isn't working for a single file in my project. I've tried:
Restart Android Studio
Restart Computer
Invalidate Caches and Restart
Clean and Rebuild Project
Sync Project with Gradle Files
Make sure I am not in Power Save Mode
Run Analyze -> Inspect Code on the file in question (no errors found)
I don't see any plugin errors when starting up Android Studio
If I make a syntax error in any other file, the offending piece of code is underlined immediately in red. When I build, the build fails because of the syntax errors.
Android Studio Info:
Android Studio 4.1.2
Build #AI-201.8743.12.41.7042882, built on December 19, 2020
Runtime version: 1.8.0_242-release-1644-b01 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1246M
Cores: 4
Registry: ide.new.welcome.screen.force=true, external.system.auto.import.disabled=true
Non-Bundled Plugins: com.thoughtworks.gauge, org.intellij.plugins.markdown, com.intellij.marketplace, org.jetbrains.kotlin
Reported as a bug here: https://issuetracker.google.com/issues/181717941
This is fixed by File -> Manage IDE Settings -> Restore Default Settings
It can be reproduced by installing the new Kotlin plugin

Plugin "Gradle Dependencies Helper" is incompatible (supported only in intellij IDEA). but why

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.

New install of Android Studio 3.2.1 create basic project error

Android Studio 3.2.1
Build #AI-181.5540.7.32.5056338, built on October 9, 2018
JRE: 1.8.0_152-release-1136-b06 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
When installing Android studio and then creating a basic project with a basic Activity this is what happens, look at the pictures:
Invalidating cache and Restart in the File menu makes no changes.
I uninstall Android Studio making sure all folders are gone like C:\Users\user.AndroidStudio3.2
Installing a fresh copy Android Studio 3.2.1 but still this error
ERROR OUTPUT
DUBLICATE MENU ITEMS
MISSING AVD and SDK
MAKE MAKE
Under Build, click on Build APK(s). If you do not have APKs installed, install them. There is Generate APK under Build too. Check your Gradle files for any added repositories you need to use. Also check that you have installed SDK of your choice.

Resources