颤振错误sdkmanager错误!!! Windows 10

时间:2020-03-06 10:49:08

标签: android flutter visual-studio-code error-handling

AndroidStudio已更新,所有内容均已更新。我认为错误来自此处C:\ Users \ lanet \ AppData \ Local \ Android \ sdk \ tools \ bin \ sdkmanager,因为当我在那儿等待时,无法创建此文件夹建议。谢谢

C:\ Users \ lanet> flutter医生-v [√] Flutter(频道稳定,v1.12.13 + hotfix.8,在Microsoft Windows [版本10.0.18363.592],区域设置为tr-TR)

• Flutter version 1.12.13+hotfix.8 at C:\src\flutter
• Framework revision 0b8abb4724 (3 weeks ago), 2020-02-11 11:44:36 -0800
• Engine revision e1e6ced81d
• Dart version 2.7.0

[!] Android工具链-为Android设备开发(Android SDK版本29.0.3)

• Android SDK at C:\Users\lanet\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
X Android license status unknown.
  Try re-installing or updating your Android SDK Manager.
  See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed instructions.

[√] Android Studio(3.6版)

• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] VS代码(1.42.1版)

• VS Code at C:\Users\lanet\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.8.1

[!]已连接的设备

! No devices available

!医生发现了2类问题。

C:\ Users \ lanet> flutter doctor --android-licenses

找不到Android sdkmanager工具(C:\ Users \ lanet \ AppData \ Local \ Android \ sdk \ tools \ bin \ sdkmanager)。

尝试重新安装或更新您的Android SDK,

访问https://flutter.dev/setup/#android-setup以获取详细说明。

1 个答案:

答案 0 :(得分:0)

  1. 仅从https://www.5balloons.info/multi-page-step-form-in-laravel-with-validation/向下滚动并下载命令行工具。

  2. 将下载的文件(工具)放在以下位置:

    @extends('layouts.app')
    
    @section('content')
        <h1>update - Step 1</h1>
        <form action="/form/update-step1" method="post">
            @csrf
            <div class="form-group">
                <label for="name">First Name</label>
                <input type="text" value="{{ old('first_name', $user->first_name ?? null) }}" class="form-control" name="name">
            </div>
    
            @if ($errors->any())
                <div class="alert alert-danger">
                    <ul>
                        @foreach ($errors->all() as $error)
                            <li>{{ $error }}</li>
                        @endforeach
                    </ul>
                </div>
            @endif
            <button type="submit" class="btn btn-primary">Continue</button>
        </form>
    @endsection
    
  3. 关闭android studio,然后再次打开android studio。然后检查更新。

  4. 打开命令行并通过:

    C:\Users\ABC\AppData\ABC\Android\Sdk
    
  5. 并按 y 接受。

  6. 跑扑医生你应该很好。