NativeScript / NativeScript/nativescript-cli

Error: Could not find or load main class com.android.sdklib.tool.sdkmanager.SdkManagerCli

Open
#5,304 6 comments 0 reactions 0 assignees View on GitHub

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?

Screenshot (5251)
Screenshot (5252)
Screenshot (5253)
Screenshot (5254)

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.