NativeScript / NativeScript/nativescript-cli

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

未关闭
#5,304 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
JavaScript
星标
1.1k
派生
204
平均合并
1 天 9 小时
30 天内合并 PR
8

描述

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)

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

检查报告的 sdkmanager --list 失败以及附加的屏幕截图,重点关注 issue 中描述的命令行工具安装和环境变量设置。未指定任何 repository 文件或命名的测试;完成此任务需要确定一个可复现的原因,并记录针对所报告的类加载错误的、经过验证的解决方案。

由索引模型根据 Issue 内容生成。

评估

技术栈
android, flutter, java
领域
cli, mobile
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
20/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。