enter image description here
enter image description here
Hi, all. I was trying to verify if appium is installed correctly. After running appium doctor -android, it shows error, Expecting one argument for --android-coverage. The solutions I found here are for --app. Thanks in advance.
Related
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 problems.
I run $ flutter doctor and get this result:
I run $ flutter doctor --android-licenses
And I get this error:
Error: Could not find or load main class (Deleted).Library.Android.sdk.cmdline-tools.latest
I have all the SDK tools installed and updated to the latest. What I have installed is pictured below:
I have Java 8 installed and running, as well. Not getting any errors with Java.
Could use another pair of eyes to see what I'm doing wrong.
Here is my flutter doctor -v output:
First set android sdk path by flutter config --android-sdk <path-to-your-android-sdk-path>
and run flutter doctor --android-licenses again
I've been struggling for days and couldn't solve this problem I need your help. I bought a package and tried all the commands I wanted to run first. "flutter pub get, flutter upgrade, etc.." but the error is still not resolved, please help.
enter image description here
enter image description here
i am using linux ubunto :
this is output of "echo $PATH":
when i type "flutter doctor", the terminal goes to next line stuck at this point...like i should be writing more...
"flutter doctor":
what am i missing here to get flutter command working ?!
any help would be much appreciated.
Try to re-install flutter SDK, worked for me.
I'm working on a Flutter Application Project.
For a few days I have an issue when running my application. To test it, I create another project but issue is still present.
I have this exception : Gradle task assembleDebug failed with exit code -1
Issue part 1
Issue part 2
If someone has already encountered this problem or has any idea how to solve it i am really interested.
Thanks in advance.
----- UPDATE ----
My issue came from antivirus program which removed my sdkmanager.bat.
When I was doing "flutter doctor", the license was always "not accepted" and after the command "flutter doctor --android-licenses" the sdkmanager was not found.
Solution
On Windows :
do the command Windows + R
Search msconfig
Go to Services
Hide Windows Services
And find this famous antivirus
To finish, reinstall sdk tools (I have the sdk command line tools (obsolete))
I hope this will help you.
In flutter you can generate APK using this command inside your app directory:
flutter build apk --split-per-abi
This will generate 3 apks for different architecture
I have run into this issue before. This happened to me because terms and conditions that you must accept. First, go to the terminal and run
flutter doctor
It should then show you that you have not accepted the terms, and ask you if you want to accept them now. Follow the instructions on screen and accept each one, there will be around 7. After that relaunch your IDE and it should run fine now.
To reply to your answer #Landon Stahl, I haven't issue when I order flutter doctor
Before try to run
And after try to run app I have : "Android license status unknown"
after try to run
I was working with flutter for sometimes, but suddenly it started as the device not recognized from the android studio, then i tried flutter doctor from console and below message showing, please some one help me.
try adding flutter to your path env
read here the Update your path part