Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • I think the issue here is that it conflicts with the existing sdk tools files so by moving the cmdline-tools path up solves which path files to access first and i hope others can replicate in linux environment ^_^ "avdmanager works" no need to downgrade Commented Sep 11, 2022 at 22:20
  • For MacOS user, option 1 is the simplest solution. 👍 Commented Mar 29, 2023 at 6:37
  • Hi @Nati i did what you said but now when i am running i am getting this error "Failed to find 'ANDROID_HOME' environment variable. Try setting it manually. Detected 'avdmanager' command at C:\Users\aksha\AppData\Local\Android\Sdk\cmdline-tools\latest\bin but no 'tools\bin' directory found near. Try reinstall Android SDK or update your PATH to include valid path to SDK\tools\bin directory. " Commented Oct 10, 2023 at 12:41