microsoft / microsoft/winget-cli

Android Studio - GT instead of LT?

Open
#2,623 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the report with winget upgrade for the Google.AndroidStudio package using the listed Windows Package Manager environment. Trace how the package's installed and available versions are compared; done means the current Android Studio installation is not incorrectly listed as outdated.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.