winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

Android Studio - GT instead of LT?

Open SATO1414 opened this issue 3 years ago • 1 comments

Brief description of your issue

I have Android Studio installed (Dolphin - 2021-3) as well as a couple of the pre-release (canary/beta) versions (Eel and Flamingo). They are all completely up-to-date based in the built-in update process. However, starting this week, I see that "WinGet Upgrade" is saying Android Studio needs to be updated. However, I see that there is a GreaterThan sign instead of a LessThan sign, so I think the WinGet database is incorrect regarding Android Studio.

From my Windows Admin command line: Name Id Version Available Source

Android Studio Google.AndroidStudio > 2021.3.1.16 2021.3.1.17 winget

Looking at Windows 10->Settings->Apps, I see a "2022.2" version of Android Studio.

Steps to reproduce

Open a Windows Administrator command prompt, issues the "winget upgrade" command.

Expected behavior

Have it not list Android Studio as being out of date.

Actual behavior

It complains about canary/beta versions of Android Studio.

Environment

Windows Package Manager v1.3.2691
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.2130
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2691.0

SATO1414 avatar Oct 22 '22 05:10 SATO1414

You will see a ">" symbol when marketing versions are being used for packages. These are often used when the version reported in the registry and displayed via Windows Apps & Features is not what is used publicly to describe the version of the package.

See the example for the .NET SDK in the blog.

You may have a newer version of the software on your machine than what is in the repository with respect to the "2022.2" version.

denelon avatar Oct 25 '22 15:10 denelon