[✓] Flutter (Channel unknown, v1.10.2-pre.40, on Microsoft Windows [Version 10.0.17134.1006], locale en-US)
• Flutter version 1.10.2-pre.40 at C:\flutter\flutter
• Framework revision b4ab5cfe79 (29 hours ago), 2019-09-16 20:34:25 -0700
• Engine revision 7ea9884ab0
• Dart version 2.5.0 (build 2.5.0-dev.4.0 be66176534)
[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at C:\flutter\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = C:\flutter\sdk
• Java binary at: C:\flutter\android-studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b01)
✗ 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.
[✓] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[✓] Android Studio (version 3.3)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 34.0.1
• Dart plugin version 182.5215
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
[✓] Android Studio (version 3.5)
• Android Studio at C:\flutter\android-studio
• Flutter plugin version 34.0.4
• Dart plugin version 191.6183.88
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b01)
[✓] VS Code (version 1.38.1)
• VS Code at C:\Users\Mahmoud salah eldin\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.4.1
[✓] Connected device (2 available)
• Chrome • chrome • web-javascript • Google Chrome 76.0.3809.132
• Server • web • web-javascript • Flutter Tools
! Doctor found issues in 1 category.
when i try another url worked and get json like: http://api.mp3quran.net/api/surah?surah=1&language=en
put this link not work
link:http://qualityproject-001-site1.ctempurl.com/api/v1/Policy
note: this api built by asp.core
Flutter crash report; please file at https://github.com/flutter/flutter/issues.
command
flutter run --machine --target lib\main.dart -d chrome --track-widget-creation --start-paused
exception
NoSuchMethodError: NoSuchMethodError: The method 'toJson' was called on null. Receiver: null Tried calling: toJson()
flutter doctor