Skip to content

Conversation

@whizkee
Copy link
Contributor

@whizkee whizkee commented Mar 20, 2020

In newer versions of Android Studio, you need to explicitly install the Obsolete Android SDK's tools before you can set the path variable.

Platforms affected

All

Motivation and Context

When following the current docs, you are instructed to set a path variable for android sdk tools.
If you are doing a fresh install of the latest android studio, you will not have the android sdk tools directory.

Closes #1065

Description

Added short instructions about how to show obsolete packages and install android sdk tools.

Testing

  • Performed a fresh install of Android Studio 3.6.1; the tools directory was not created
  • Installed Android SDK Tools after revealing obsolete packages ; the directory was created

Checklist

  • I've run the tests to see all new and existing tests pass
  • I added automated test coverage as appropriate for this change
  • Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
  • If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)
  • [xx] I've updated the documentation if necessary

In newer versions of Android Studio, you need to explicitly install the Obsolete Android SDK's `tools` before you can set the path variable.
@breautek
Copy link
Contributor

You can modify your PR description to add the keyword: "Closes #1065"

I think we should also confirm that the non-obsolete "Android SDK Command-line Tools" will work in place of using the obsolete package. If so, I'd favour the documentation stating that "Android SDK Command-line Tools" should be installed.

@NiklasMerz NiklasMerz linked an issue Apr 3, 2020 that may be closed by this pull request
@NiklasMerz NiklasMerz mentioned this pull request Apr 3, 2020
5 tasks
@NiklasMerz
Copy link
Member

I added the issue to linked issues and linked a duplicate PR.

Copy link
Member

@timbru31 timbru31 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor formatting improvements.

breautek and others added 2 commits August 5, 2020 00:59
Co-authored-by: Tim Brust <github@timbrust.de>
Co-authored-by: Tim Brust <github@timbrust.de>
@breautek
Copy link
Contributor

breautek commented Aug 5, 2020

Reviewing this, I no longer see Android SDK Tools (Obsolete). Is this still valid?

Screenshot from 2020-08-05 01-02-19

Copy link
Member

@erisu erisu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor suggestions.

@erisu
Copy link
Member

erisu commented Aug 7, 2020

@breautek uninstall and reinstall the Android SDK Tools and you will see (Obsolete). It not always written with (Obsolete).

@erisu erisu merged commit 63b8aff into apache:master Aug 7, 2020
purplecabbage pushed a commit that referenced this pull request Oct 15, 2020
Co-authored-by: Tim Brust <github@timbrust.de>
Co-authored-by: Norman Breau <norman@normanbreau.com>
Co-authored-by: エリス <erisu@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Android SDK Command-line Tools

5 participants