• 9
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191

Backtrace:

File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

flutter doctor --android-licenses does not work

when I run flutter doctor I noticed license status is unknown.

[?] Flutter (Channel stable, v1.0.0, on Microsoft Windows [Version 10.0.17763.253], locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    X Android license status unknown.
[?] Android Studio (version 3.3)
[?] IntelliJ IDEA Ultimate Edition (version 2018.3)
[!] VS Code (version 1.30.2)
[!] Connected device
    ! No devices available

! Doctor found issues in 3 categories.

I found that in order to resolve the license I need to run this command flutter doctor --android-licenses. when I run that I get the following error:

The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
A newer version of the Android SDK is required. To update, run:
C:\Users\myusername\AppData\Local\Android\sdk\tools\bin\sdkmanager --update

So I then tried running C:\Users\myusername\AppData\Local\Android\sdk\tools\bin\sdkmanager --update I received the below error:

'E\AppData\Local\Android\Sdk\tools\bin\' is not recognized as an internal or external command,
operable program or batch file.
Error: Could not find or load main class com.android.sdklib.tool.sdkmanager.SdkManagerCli

I looked everywhere online and could not find any answer. I am new to flutter and do not know how to resolve this problem. Any help would be great thanks!

Open Command Prompt and access into Android SDK directory, then execute above command.

sdkmanager --update
  • 1
Reply Report
    • I get the same error: 'EAppDataLocalAndroidSdk oolsin' is not recognized as an internal or external command, operable program or batch file. Error: Could not find or load main class com.android.sdklib.tool.sdkmanager.SdkManagerCli I also tried adding the sdkmanager location to my path... Same error.
      • 1
    • I have used the Android SDK with Android Studio. Does this mean it is installed? If so do you know where Android Studio default install location is?