Questions tagged [android-licenses]

18 questions
165
votes
31 answers

Flutter.io Android License Status Unknown

>[!] Android toolchain - develop for Android devices (Android SDK 27.0.3) >>• Android SDK a ..\Android\sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.3 …
tdmiller
  • 2,102
  • 2
  • 13
  • 28
2
votes
3 answers

Flutter Installation Problem - Android Licenses in Flutter Doctor

I'm trying to install Flutter and can't seem to get through the part of accepting the Android licenses in flutter doctor. I keep getting this error when I try to run 'flutter doctor --android-licenses' in the command prompt. C:\Users\anach>flutter…
1
vote
6 answers

Flutter Doctor: Error when running "flutter doctor --android-licenses"

I get this error when I try to run "flutter doctor --android-licenses" and I can't figure out why. Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.UnsupportedClassVersionError:…
gag0
  • 89
  • 1
  • 7
1
vote
0 answers

Why I can't answer command prompt (It just skips to new section before I am able to type y to accept)?

I just run flutter doctor to accept android licenses but the command prompt ain't letting me answer. Here is the screenshot I took. I am genuinely confused.
1
vote
1 answer

Exception occured when run flutter doctor --android-licenses

I am a flutter beginer, while installing the android license by command "flutter --android-licenses", I have gotten the exception as follows: Failed to create settings Exception in thread "main" java.lang.IllegalArgumentException: port out of…
phancuongviet
  • 311
  • 2
  • 11
1
vote
2 answers

Flutter : can't accept android licenses

When I'm running flutter doctor, I was found 1 issue: X Android license status unknown. C:\src\flutter\bin\flutter.bat doctor --verbose [√] Flutter (Channel stable, 2.0.1, on Microsoft Windows [Version 10.0.19041.264], locale en-US) • Flutter…
Mariam Younes
  • 389
  • 6
  • 29
0
votes
1 answer

Android Studio, Flutter sdkmanager not found

So guys, there's a problem with my flutter/android studio enter image description here I don't know what is the problem, I saw a lot of solution but none of them worked. enter image description here I almost select everything, maybe it will fix that…
0
votes
1 answer

I install android SDK command-line Tools (latest) and still failed to run when I run flutter doctor --android-licenses

I install android SDK command-line Tools (latest) and still failed to run when I run flutter doctor --android-licenses[[enter image description here](https://i.stack.imgur.com/hmYGA.png)](https://i.stack.imgur.com/xcchf.png) I install android SDK…
0
votes
1 answer

Android license status unknown without Android Studio

I wanted to install flutter without Android Studio. So, I installed Android SDK manually. And when I have run "sdkmanager --licenses" and the result: ~$ sdkmanager --licenses [=======================================] 100% Computing updates... …
0
votes
1 answer

android sdk not found when trying to accept android license without the use of android studio

Im trying to learn flutter but i've stumbled uppon issues with the installation, everything worked fine until i ran flutter doctor and it states that i have to accept the android license. Please keep in mind that i am working without Android Studio…
0
votes
0 answers

flutter doctor --android-licenses issue: How to accept android SDK licenses automatically using one liner command in CI systems for flutter APK build?

We are trying to accept the android SDK licenses for the flutter using the flutter doctor --android-licenses command to accept all the licenses automatically in the CI systems for automation purposes. So, we tried some of the online suggestions and…
0
votes
1 answer

Android Studio - Unable to accept the Android Licenses

I'm having a problem accepting the Android Licenses. I've looked for well over a month for a solve and haven't found one yet. My username on my mac contains the word (Deleted) with a space before it and I'm wondering if that's causing any…
0
votes
1 answer

Flutter: Checking the licenses in platform-tools

When running flutter project, here comes the warning: Checking the license for package SDK Patch Applier v4 in E:\platform-tools_r31.0.3-windows\licenses Warning: License for package SDK Patch Applier v4 not accepted. Checking the license for…
yamato
  • 85
  • 1
  • 13
0
votes
0 answers

Can't accept Android Licenses, can't type Y/N after running flutter doctor command (flutter)

I am learning flutter and installed Android Studio for it. When I run the flutter doctor command, I get the message saying that I haven't accepted Android Licenses. But after I run flutter doctor --android-licenses command, and it tells me that I…
kandy kane
  • 75
  • 1
  • 8
0
votes
1 answer

I'm having trouble with flutter doctor not finding android licenses Android SDK Command-line Tools didn´t work

After getting this error I tried solutions I could find and installed Android SDK Command-line Tools (latest) from android studio and tried running flutter doctor again and got this error (translation: could not find or load main class).
1
2