NativeScript / NativeScript/nativescript-cli
Error: Could not find or load main class com.android.sdklib.tool.sdkmanager.SdkManagerCli
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
Hi i am trying to install flutter and getting an error when i type sdkmanager --list in the command prompt .I have added the environment variables correctly.I am attaching the screenshots that shows this problem and also the environment variables i am using and my directory structure.I am trying to install command line tools only and not android studio.How can i solve this error?




Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the reported sdkmanager --list failure and the attached screenshots, focusing on the command-line tools installation and environment-variable setup described in the issue. There are no repository files or tests named; done would require identifying a reproducible cause and documenting a verified resolution for the reported class-loading error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, flutter, java
- Domain
- cli, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100