AVD without android Studio | Android emulator without an Android Studio | Flutter Tutorial #6

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • AVD without android Studio | Android emulator without an Android Studio
    How To Install Android Emulator Without Installing Android studio
    Android emulator using command line
    flutter emulator vscode without android studio
    This video give complete guide to create and run android emulator without an Android Studio, please watch all the steps properly.
    Install the build tools:
    sdkmanager "build-tools;30.0.0"
    Install the platform:
    sdkmanager "platforms;android-30"
    Add system image:
    sdkmanager "system-images;android-30;google_apis;x86_64"
    Creating the AVD:
    avdmanager create avd --name "MyAvd" --package "system-images;android-30;google_apis;x86_64"
    List emulator in computer:
    emulator -list-avds
    Running the emulator
    emulator -avd MyAvd
    (MyAvd is the name of emulator that we have created)
    The software needed are:
    1) Open JDK 8
    2) Flutter SDK
    3) Android Command line tools
    4) VS Code
    5) HAXM
    Writing first Flutter application:
    • First Flutter App from...
    Open JDK 8:
    www.openlogic....
    Download Flutter SDK:
    docs.flutter.d...
    Download Android Command line tools:
    developer.andr...
    Download VS Code:
    code.visualstu...
    HAXM :
    www.filehorse....
    Flutter Setup Without Android Studio
    • Install Flutter withou...
    Flutter Tutorial Playlist :
    • Flutter Widgets
    Dart Tutorial Playlist :
    • Dart Tutorial

Комментарии • 298

  • @FlutterTeacher
    @FlutterTeacher  2 года назад

    Open JDK 8:
    www.openlogic.com/openjdk-downloads
    Download Flutter SDK:
    docs.flutter.dev/development/tools/sdk/releases
    Download Android Command line tools:
    developer.android.com/studio?gclid=EAIaIQobChMItc6xk96d9gIVhiRgCh18oABbEAAYASAAEgLtB_D_BwE&gclsrc=aw.ds
    Download VS Code:
    code.visualstudio.com/Download
    HAXM :
    www.filehorse.com/download-intel-haxm/download/

  • @FranzJose
    @FranzJose 4 месяца назад +6

    Halfway through the video you swapped the JDK folder with the AndroidSdk which initially didnt contain the platformtools, platforms and emulator folder, which were in the JDK folder. Thats why people are having trouble with the ANDROID_SDK_ROOT path, but you are just dismissing them telling them to watch the video properly. Waste of time

    • @ultrasoundaudio7844
      @ultrasoundaudio7844 8 дней назад

      yeah, i was thinking the same. Now i fully messed up with these things.

  • @esraamrz5446
    @esraamrz5446 2 года назад +3

    Thank you very much .. You helped me in my trouble with Android Studio😭🤯🤯

  • @alizarweto8437
    @alizarweto8437 9 месяцев назад +4

    Good Morning Sir ... Sir I Have Installed Android Studio(And Made an Emulator) and VS Code ...ie. All Things Asper Your Lecture ....Sir When I create a Flutter Project in VS Code And Open it in Emulator Created In Android Studio ...It Throws An
    Error Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
    FAILURE: Build failed with an exception.
    * Where:
    Settings file 'C:\Users\aliza\OneDrive\Desktop\Flutter Learning\flutter_application_1\android\settings.gradle' line: 25
    * What went wrong:
    Error resolving plugin [id: 'dev.flutter.flutter-plugin-loader', version: '1.0.0']
    > A problem occurred configuring project ':gradle'.
    > Could not create service of type OutputFilesRepository using ExecutionGradleServices.createOutputFilesRepository().
    > Unexpected lock protocol found in lock file. Expected 3, found 0.
    * Try:
    > Run with --stacktrace option to get the stack trace.
    > Run with --info or --debug option to get more log output.
    > Run with --scan to get full insights.
    * Get more help at help.gradle.org
    BUILD FAILED in 9s
    Exception: Gradle task assembleDebug failed with exit code 1
    Exited (sigterm)
    It's my Humble Request ..Please Help Me ..I will Be Grateful To Your Support ....Please Help me ..I Try It Every Way Waste 48 Hrs ..But Did't Find Solution.... I Am Waiting For Your response...Thanks

    • @alizarweto8437
      @alizarweto8437 9 месяцев назад +1

      Please help Me ..I Am Waiting

    • @alizarweto8437
      @alizarweto8437 9 месяцев назад

      This is The Content of settings.gradle
      pluginManagement {
      def flutterSdkPath = {
      def properties = new Properties()
      file("local.properties").withInputStream { properties.load(it) }
      def flutterSdkPath = properties.getProperty("flutter.sdk")
      assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
      return flutterSdkPath
      }
      settings.ext.flutterSdkPath = flutterSdkPath()
      includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle")
      repositories {
      google()
      mavenCentral()
      gradlePluginPortal()
      }
      plugins {
      id "dev.flutter.flutter-gradle-plugin" version "1.0.0" apply false
      }
      }
      plugins {
      id "dev.flutter.flutter-plugin-loader" version "1.0.0"
      id "com.android.application" version "7.3.0" apply false
      }
      include ":app"

    • @NoobKing-xo8py
      @NoobKing-xo8py 9 месяцев назад

      ​@@alizarweto8437I also faced the same problem. Where I have to write this all

  • @Wongmc644
    @Wongmc644 2 месяца назад +1

    Quite different if a working Android studio is already installed. Followed the steps hoping to use vscode. Not only failed at the sdkmanager "xxx" steps but also messed up Android studio. Even after reinstall 3 times my existing flutter app failed to run and even the devices failed to load! Took hours to fix the virtual devices.
    Install this if no Android studio installed!

  • @DjmubaTechServices
    @DjmubaTechServices Год назад +2

    when i write this command "sdkmanager " build tools;30.0.0" i get that error "A JNI error has occurred, please check your installation " and my machine doesn't have that java you are saying to delete, how to solve this?

    • @ronnyochieng9534
      @ronnyochieng9534 Год назад +1

      yeah me too my pc doesnt recognize the command anyone help

    • @Darkness-kg8oh
      @Darkness-kg8oh Год назад +1

      yeah me to, have same issue, so how i can fix this issue?

    • @NoobKing-xo8py
      @NoobKing-xo8py 9 месяцев назад

      U have to download Java n set its path then u won't face this problem. There is an another video of him of 12 minutes ( having same title like this video ) follows those steps for Java installation rest come back to this n continue further

  • @chiomaezedi9955
    @chiomaezedi9955 Год назад +1

    Thanks for this video, really helpful. And yes, please create a video on how to change hardware configuration.

    • @FlutterTeacher
      @FlutterTeacher  Год назад +1

      Glad it was helpful.
      You are most welcome dear 🙏
      Sure I will create that video.

  • @AbdulRahman-k9g
    @AbdulRahman-k9g Месяц назад

    Nice and clean video, feels very professional.

  • @davidhaastrup429
    @davidhaastrup429 2 года назад +1

    Thank you Flutter Teacher, this video was really helpful

  • @bonggesasangsangma739
    @bonggesasangsangma739 10 месяцев назад +2

    What version should I specify ? for what, which build come on man

  • @MyspaceImg
    @MyspaceImg 9 месяцев назад +1

    Sir, I have Ryzen 5 as a professor. for this reason haxm isn"t installing. What should I do please make a video for the Ryzen users.

  • @user-nm4bi5oe1u
    @user-nm4bi5oe1u 2 года назад +3

    i install like your previous video ,i need only avd for emulator. can i use only emulator command on bin folder?/

    • @FlutterTeacher
      @FlutterTeacher  2 года назад

      I prefer to use Menu emulator. It's fast, free, lightweight and works in low range pc.
      Watch the video for Memu emulator in this channel.

  • @tarakgandhi
    @tarakgandhi 3 месяца назад

    A huge huge thanks, I admire this, god bless you

  • @devkothari645
    @devkothari645 Год назад +3

    Hey Sir, WARNING | Please update the emulator to one that supports the feature(s): Vulkan
    Can't proceed after this step Please help, It's referring to Intel HAXM.

  • @yemenbirds5556
    @yemenbirds5556 Год назад +1

    When i type in cmd first command .askmanager "build-tools;30.0.0"
    When the no. Com to 48% it broken and i get this ? an error occurred while preparing sdk package android sdk package android emalator connetion rest

  • @abdullahahmed-og3lw
    @abdullahahmed-og3lw Год назад +3

    if emulator didn't showup for you in vscode, restart vscode.

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      Yes boss!
      Or make sure you enable USB debugging in developer mode of the Emulator.

  • @aniketpianist79
    @aniketpianist79 10 месяцев назад

    Whenever I enter flutter doctor, it shows found an existing pub cache and when I follow the instructions given after that it shows same error

  • @idndotexe8441
    @idndotexe8441 11 месяцев назад +1

    Thank U Sir.. You explained it well, quickly, efficiently and easily.👍👍👍👍

    • @FlutterTeacher
      @FlutterTeacher  11 месяцев назад

      Glad you think so.
      You are most welcome dear 🙏

  • @kartik83012
    @kartik83012 2 года назад +1

    Great video, i have a question is your earlier video about installing vscode and flutter without android studio and this one, are these two same what's the difference and which one should i prefer for maximum performance on low end device.

    • @FlutterTeacher
      @FlutterTeacher  2 года назад +2

      Everybody likes to watch video that shows all steps, hence in both videos I explained all steps from scratch, that why they have few steps in common.
      Installing AVD takes around 4GB to 6GB extra memory on disk. I prefer to use real device because AVD slow downs the system even for high end devices.
      For low end device use memu emulator or use real device.
      It's your choice, I you have any other emulator or want to use real device all time then you can skip installing AVD, but flutter setup is necessary for both real device as well as AVD.

    • @kartik83012
      @kartik83012 2 года назад +1

      @@FlutterTeacher Thank you sir.

    • @skygrace4300
      @skygrace4300 Год назад +1

      Hello teacher thanks for the tut, i found LDPlayer also cool, and thought to share

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      Thanks for sharing 🙏

  • @shabanasoomro4134
    @shabanasoomro4134 Год назад +1

    I have but emulator only show black screen it is not working properly, I have installed VSCODE, FLUTTER JDK HAXM these are working only emulator is failled please give us solution of this

    • @FlutterTeacher
      @FlutterTeacher  Год назад +1

      You must power on an emulator, for this press power button of emulator for some time. And wait until it loads properly.

    • @shabanasoomro4134
      @shabanasoomro4134 Год назад

      I have try it so many times but it's not working

    • @shabanasoomro4134
      @shabanasoomro4134 Год назад

      Please give your email I will show you screenshot of these

  • @jaybee_mars
    @jaybee_mars Год назад +1

    When l run sdkmanager "build-tools;30.0.0" am getting A JNI error has occurred. What should l do

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      JNI means Java Native Interface errors.
      You might have installed Java already, please uninstall that one & follow the steps shown in the video properly with same version of software as I have used.

    • @ariramadhan2217
      @ariramadhan2217 Год назад

      same here.. have you solve that ? i've uninstalled all java from my pc and still got the same problem

  • @SEOSmartWork
    @SEOSmartWork 10 месяцев назад +1

    I install flutter from your previus vedio what i do now for AVD

    • @FlutterTeacher
      @FlutterTeacher  10 месяцев назад

      Some steps are same in both videos, you can skip those if you have done them. Just need to create AVD. Please watch the video first to get clear and then follow the required steps.

  • @anamulhoque3739
    @anamulhoque3739 2 года назад +1

    ❤️ from Bangladesh 🇧🇩

  • @Anuj.2806
    @Anuj.2806 4 месяца назад

    when i write sdkmanger "build-tools;30.0.0" it says access is denied in cmd, i checked all the folder access still i dont know whats wrong

  • @comedyinvestigationdepartm9901
    @comedyinvestigationdepartm9901 9 месяцев назад +1

    At last
    In android sdk folder
    Build tools
    Patcher
    Platform tools
    Tools
    Folders are missing...

    • @FlutterTeacher
      @FlutterTeacher  9 месяцев назад

      Please watch the video properly & follow the steps accordingly.

  • @gyan4677
    @gyan4677 2 года назад +1

    Sir give me suggestions what I use , memo emulator or Android emulator without android studio ?

    • @FlutterTeacher
      @FlutterTeacher  2 года назад +1

      Personally I like Memu, it's light weight, super fast, takes less memory, runs in low RAM & has all features that we need in an emulator.

  • @tapanmandal9165
    @tapanmandal9165 Месяц назад

    Dada baah darun

  • @AhmadRifai-ey4uo
    @AhmadRifai-ey4uo 2 месяца назад

    Thx for tutorial, i follow the instruction and it's all success. except when i try start emulator it can be connect even it's show up the GUI (with black screen) the message shows is "Unable to connect to adb daemon on port: 5037"
    Plz help me Sir. Thx very much

  • @danedward546
    @danedward546 2 года назад +2

    Hi mate , can you help me with this error ? 'sdkmanager' is not recognized as an internal or external command

    • @FlutterTeacher
      @FlutterTeacher  2 года назад

      1) There might be mistake in setting path.
      2) please use new command prompt after setting path.
      3) you may be doing mistake in folder structure.
      4) please follow ever step as it is.

    • @danedward546
      @danedward546 2 года назад

      @@FlutterTeacher Hi mate is this normal? Unable to connect to adb daemon on port: 5037

    • @FlutterTeacher
      @FlutterTeacher  2 года назад

      Stop all the things.
      from command prompt you need to first run adb start-server and then run emulator -avd

  • @NoobKing-xo8py
    @NoobKing-xo8py 9 месяцев назад +1

    Important instal normal java also to work this and set its path as well

  • @MuhammadUmarYahya24
    @MuhammadUmarYahya24 8 месяцев назад +1

    export ANDROID_HOME=/Users/jimmy/Workspace/version/ANDROID
    export PATH=$ANDROID_HOME/bin:$PATH
    sdkmanager --version
    zsh: command not found: sdkmanager
    why not found? please help me teacher
    this is My eror:
    [✗] Android toolchain - develop for Android devices
    ✗ ANDROID_HOME = /Users/jimmy/Workspace/version/Android/sdk
    but Android SDK not found at this location.

  • @onoscue
    @onoscue Год назад +1

    Excelente, me funciono muy bien, gracias

    • @FlutterTeacher
      @FlutterTeacher  Год назад +1

      Glad it has helpful.
      You are most welcome. 🙏

    • @onoscue
      @onoscue Год назад

      @@FlutterTeacher Tienes algún video donde explique como hacer para que el emulador reconozca el teclado físico, actualmente solo puedo usar el teclado virtual, gracias

  • @albedo9617
    @albedo9617 8 месяцев назад

    Is there any way to run this emulator on AMAZON LINUX 2 machine? I downloaded the linux command line tools but it doens't have emulator package

  • @phamhonghiep416
    @phamhonghiep416 9 месяцев назад +1

    Please set the JAVA_HOME variable in your environment to match the
    location of your Java installation.

    • @arnobpaul2004
      @arnobpaul2004 7 месяцев назад

      did you find the solution?

  • @hackingskillset6603
    @hackingskillset6603 2 года назад +1

    emulator -list-avds
    'emulator' is not recognized as an internal or external command,
    operable program or batch file.

    • @FlutterTeacher
      @FlutterTeacher  2 года назад

      Please follow each step exactly as shown & use same versions of software used in the video.
      Make sure to use same folder structure & set the path properly.

  • @luqmanmusa5333
    @luqmanmusa5333 2 года назад +1

    Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
    > Failed to find Build Tools revision 29.0.2
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    • @FlutterTeacher
      @FlutterTeacher  2 года назад

      I think you may not be using save version that I used in the video.

    • @luqmanmusa5333
      @luqmanmusa5333 2 года назад

      @@FlutterTeacher please what can I do about this error now sir?
      And everything was working very fine before sir

    • @FlutterTeacher
      @FlutterTeacher  2 года назад +1

      Join me on facebook, we will chat there
      facebook.com/Flutter-Teacher-101971975758924

    • @luqmanmusa5333
      @luqmanmusa5333 2 года назад

      @@FlutterTeacher okay I will jump right there as soon as possible

    • @luqmanmusa5333
      @luqmanmusa5333 2 года назад

      @@FlutterTeacher dear sir, I haven't received your humble reply to the Facebook message you requested sir

  • @news-87channel60
    @news-87channel60 2 года назад +1

    "Buld-tools;30.0.0"
    Is not recognized
    And HAXM link is expired cannot download

    • @FlutterTeacher
      @FlutterTeacher  2 года назад

      This problem occurs due wrong folder setup or invalid path.
      Please ensure both of these things properly. Follow each & every step properly & use same version of software as I used.
      The HAXM like is working file, I have just checked it again for you.

    • @johnrobert2899
      @johnrobert2899 Год назад

      Yes i too encountered this error.

  • @natnaelgetu
    @natnaelgetu Год назад +1

    Error: Could not determine SDK root.
    Error: Either specify it explicitly with --sdk_root= or move this package into its expected location: \cmdline-tools\latest\
    I am getting this error sir please help me

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      Please follow the steps exactly as shown, use same commands and software which I have used.
      Copy the commands from description.

    • @ddctechinstitute6861
      @ddctechinstitute6861 Год назад

      @@FlutterTeacher Same here followed the video accordingly

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      Is this setup worked for you?

  • @dnyaneshwarchavan6067
    @dnyaneshwarchavan6067 6 месяцев назад

    i got this error whilw downloding . please help me sir ....Warning: An error occurred while preparing SDK package Google APIs Intel x86_64 Atom System Image: Connection reset.

  • @practicalshort
    @practicalshort 5 месяцев назад

    Which version of flutter are you usinh now?

  • @uday9774
    @uday9774 Год назад

    why is it taking me too long to download sdkmaster commands that u used?

  • @vineetvishwakarma3810
    @vineetvishwakarma3810 Год назад

    Sir I followed your previous video "Flutter Setup Without Android Studio" and I am bit confused which steps I need to take ?? or I have to repeat the whole set of instruction from the beginning please help 😅😅

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      If you have installed Flutter properly, then you don't need to follow all steps, just go for steps of creating AVD

  • @aslammarathumpalli3747
    @aslammarathumpalli3747 Год назад +1

    Mam, my platform-tools folder is missing...! . Any issue?

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      To solve this problem, I request you to watch the video carefully and follow the instruction.

  • @luqmanmusa5333
    @luqmanmusa5333 2 года назад +2

    Thank you so so so so so much. It's working perfectly fine now

  • @hirenmehta1068
    @hirenmehta1068 4 месяца назад

    why i we should download vs code, jdk 8, flutter sdk again ?

  • @adeobama9ja
    @adeobama9ja 2 года назад

    I got the following:
    Multiple devices found:
    Chrome (web) • chrome • web-javascript • Google Chrome 103.0.5060.114
    Edge (web) • edge • web-javascript • Microsoft Edge 103.0.1264.44
    [1]: Chrome (chrome)
    [2]: Edge (edge)
    Please choose one (To quit, press "q/Q"):
    As you can see, only 2 devices are listed and the emulator isn't one of them. However, the emulator loaded but with the following:
    Detected ADB
    Could not automatically detect an ADB binary. Some emulator functionality will not work until a custom path to ADB is added. This can be done in Extended Controls (...) > Settings > General tab > 'Use detected ADB location
    Please, any way around this?

    • @FlutterTeacher
      @FlutterTeacher  2 года назад

      Have you enabled developer mode and USB debugging inside AVD?

  • @nasportsrelease5123
    @nasportsrelease5123 Год назад

    I installed all things properly flutter doctor also showing correct.. But when i want to open with commond of emulator-avd MyAvd ... the emulater not opening... wht?

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      Please tell me the error that you are getting.

  • @bennguyen1313
    @bennguyen1313 Год назад

    It seems one has to manually download/install quite a bit if using only the command-line tools. Wouldn't installing Android Studio install all the needed tools, platforms, etc (HAXM, OpenLogic's OpenJDK8, sdkmanager's build-tools, etc)?
    For example, 'flutter doctor' shows everything is ok, but when I create a new flutter project in VS Code, I don't see any device listed at the bottom , so it only builds for desktop! Is it possible to connect an actual (developer mode enabled) Android device and build/run on that?
    I'm ultimately interested in creating a windows desktop app that can access hardware.. any tips? Not much info on dart:ffi nor platform-channels :(

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      To use Flutter desktop we need to install Visual studio. And follow all steps in this video, that's it.

  • @pravallikachevuru4767
    @pravallikachevuru4767 Год назад

    Hi how to run and install avd or Android emulator from gitlab ci pipeline for react native application.
    Ps: iam new to gitlab any help please

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      I am really sorry, but I have no idea about it. & I don't know react native.

  • @saifhatem4039
    @saifhatem4039 Год назад +1

    Thanks ❤️❤️
    But i have a question when I click on the power button give me this error "Resetting for cold boot emulation engine failed"
    What can I do please 😭😭😭

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      You are most welcome dear!
      This link may help to solve your problem. If it remains unsolved, let me know it, we need to try by another way.
      lormenyoh.medium.com/resetting-for-cold-boot-emulator-engine-failed-fixed-8d8aaffd1c7c

    • @saifhatem4039
      @saifhatem4039 Год назад

      @@FlutterTeacher unfortunately it doesn't work 🥲

    • @saifhatem4039
      @saifhatem4039 Год назад +1

      @@FlutterTeacher I want to ask you a question....
      If I can't solve this problem, its okay if i run it on "" chrome web"" instead of the mobile emulator?????????
      And I will be able to upload the program on Google play ???

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      Yes you can use chrome for testing your apps.
      If you are using Google Chrome to run app means you are working on Flutter web. So some phone functions may not be supported.
      Why don't you use Menu emulator? video for that is available in Flutter playlist

    • @saifhatem4039
      @saifhatem4039 Год назад +1

      @@FlutterTeacher Ok I Will try it after coming back from my colleague ❤️❤️❤️
      Really Thank you for your help ❤️❤️❤️

  • @DhaarmicK
    @DhaarmicK 10 месяцев назад

    I did the exact steps u said in the previous video" install Flutter without Android Studio". now I am trying to install avd but it is showing me this error - 'sdkmanager' is not recognized as an internal or external command,
    operable program or batch file.
    I made no mistake in setting a path or creating a variable.
    If I want to restart all the processes from scratch how do I delete or uninstall the cmd tool and flutter SDK and how do I remove paths and variables?

    • @Hulk_bhuvanesh
      @Hulk_bhuvanesh 7 месяцев назад

      same problem for me. how to resolve

    • @FlutterTeacher
      @FlutterTeacher  7 месяцев назад

      It's problem with paths. Please follow steps in video exactly with same version of software used, link is there in description.

  • @surajnegi6669
    @surajnegi6669 2 года назад +1

    navigation buttons not working in emulator otherwise emulator is working fine

    • @FlutterTeacher
      @FlutterTeacher  2 года назад

      Thanks 🙏
      It might happens due to low system configuration.

  • @Random_Variableee
    @Random_Variableee 9 месяцев назад

    what do i do if i have amd processor as haxm is only for intel processors ig

  • @mrprogrammer5928
    @mrprogrammer5928 Год назад

    PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT
    Please Help

  • @rozi.berutu
    @rozi.berutu Год назад

    Hi friends, after following the video tutorial that you provided. I got an error when running the emulator. The error that appears is Failed launch MyAvd: Error: Emulator didn't connect within 60 seconds. Please help guys. Thanks.

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      Have you installed HAXM?
      This may be a reason for an error.

  • @NoobKing-xo8py
    @NoobKing-xo8py 9 месяцев назад

    In the end when i run the code its showing me build failed with an exception..... but when i runner it on chrome, its works completely fine. what to do now ?!

  • @shabanasoomro4134
    @shabanasoomro4134 Год назад

    Sir I have follow these tutorials and download and install all these software everything is going perfect except emulator, emulator opened but not working only black screen shown any help for me

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      Have you turn on the emulator by long pressing the power button??

  • @faysalhasan4215
    @faysalhasan4215 11 месяцев назад

    hello sir. hope I am getting a fast reply. I did everything you have shown yet I got this error message when tried to open MyAvd:
    PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT

    • @FlutterTeacher
      @FlutterTeacher  11 месяцев назад +1

      This issue is related to invalid path setting, please setting the paths as shown in video. I have seen lots of user won't watch the video completely & they neither follow the steps well.
      Please uninstall of setup data you installed & delete the path, Start reinstallation, use same version of software as I used, (link in the description) & set the paths properly.
      All the best!

    • @faysalhasan4215
      @faysalhasan4215 11 месяцев назад +1

      @@FlutterTeacher alright. although I have followed you thoroughly, I am gonna try again.

  • @geenews6207
    @geenews6207 Год назад

    if i want to to skip avd part and use real device then should i miss HAXM or command line tools?

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      If you don't want AVD, then you don't need XAXM.
      Just install Flutter by watching "Install Flutter" video on this change and run app on real device.

  • @000learningzone
    @000learningzone Год назад

    A JNI error has occurred, please check your installation and try again

  • @user-kc6bw1qm3m
    @user-kc6bw1qm3m 8 месяцев назад

    [ERR] PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT
    what shall I do

    • @FlutterTeacher
      @FlutterTeacher  8 месяцев назад

      Please follow all steps properly. This error occurs due to invalid path setup.

  • @deathkitten7030
    @deathkitten7030 2 года назад

    So I followed all steps, but HAXM doesn't want to install, but did realized that it says no on VMX supported. is there a way to fix it or try to get it to say yes? I'm still new to programming and I do love the videos ^^

    • @FlutterTeacher
      @FlutterTeacher  2 года назад

      This link might help you
      superuser.com/questions/1592743/how-to-enable-vmx

    • @FlutterTeacher
      @FlutterTeacher  2 года назад

      stackoverflow.com/questions/20019231/vt-not-supported-when-installing-haxm

  • @ALpHa--PRiMe
    @ALpHa--PRiMe Год назад

    Hey man, is Simple Visual Studio download required for Flutter to run on VS Code because flutter doctor says android sdk tool chain, jdk and other things are checked but it has '!' sign on visual studio in flutter doctor

    • @FlutterTeacher
      @FlutterTeacher  Год назад +1

      Visual studio is required only when you want to use Flutter for Windows

    • @ALpHa--PRiMe
      @ALpHa--PRiMe Год назад +1

      @@FlutterTeacher oh ok thanks for letting me know 👍

    • @FlutterTeacher
      @FlutterTeacher  Год назад +1

      You are most welcome dear.

  • @zaki_khan_official
    @zaki_khan_official Год назад

    I have installed android studio electric ell 2022.211 version. flutter doctor says every thing is okay, while creating AVD I select the desire goolge API but at the end it generates an error stating that HXAM is out of date reinstall latest version. while the latest version now a days is 7.8.0. and is installed but still creating virtual device the HXAM out dated occurs and creation terminates. please help me out.

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      Uninstall all the softwares you have installed & delete the paths for all Flutter softwares.
      Follow the instructions in this video, use same version of software that I have used.
      I am sure your problem will solve.

    • @zaki_khan_official
      @zaki_khan_official Год назад

      @@FlutterTeacher the software you have used are older. after installing the softwares that you have suggested, will it be possible to upgrade to latest version once all steps got succeeded ?

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      Yes! you can.

    • @zaki_khan_official
      @zaki_khan_official Год назад +1

      @Flutter Teacher thank you for your inTime and valuable instructions. The problem was resolved by enabling vertulization from the BIOS setup and Windows hyper V.

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      Glad your problem is solved.

  • @gopalsinghrathore1346
    @gopalsinghrathore1346 3 месяца назад

    how to do the same in macbook

  • @azarelgarcia1917
    @azarelgarcia1917 Год назад

    man can you help me with this error 'sdkmanager' is not recognized as an internal or external command,
    operable program or batch file.

    • @FlutterTeacher
      @FlutterTeacher  Год назад +1

      It happens because of invalid path settings.
      Please watch the video properly and follow the instructions exactly as shown.

  • @arollfotso9584
    @arollfotso9584 2 года назад

    When I run my application with the command flutter run -d chrome,my app is establishing connection with chrome,but the browser is blank and i cant see any content in browser,in the console it throws the following error : Failed to restore Chrome preferences: FileSystemException: readSync failed, path = 'E:\MyApps\first_app\.dart_tool\chrome-device\Default\optimization_guide_prediction_model_downloads\354af8e8-b82b-4c7b-b79b-7dbb35c7792c\global-entities_names_filter' (OS Error: Erreur de données (contrôle de redondance cyclique).
    , errno = 23)

  • @arollfotso9584
    @arollfotso9584 2 года назад

    i extracted flutter and command line-tools since yesterday but now i want to rename it into flutterSDK and androidSDK but the computer is saying that it is already open some where that i can't rename it.

    • @FlutterTeacher
      @FlutterTeacher  2 года назад

      Ok, use same name for path & other places as required.

    • @arollfotso9584
      @arollfotso9584 2 года назад +1

      @@FlutterTeacher ok sir

  • @JordanLopez_
    @JordanLopez_ Год назад

    I followed your video of how to install flutter without android studio, how do i then proceed with this one over here

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      No, you are almost done, only follow specific part of AVD.

  • @vaibhavaggarwal7803
    @vaibhavaggarwal7803 Год назад

    Sir if we are using memu emulator then what's the use of haxm ?
    And is haxm is also used as emulator ?

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      HAXM is not an emulator.
      HAXM is Intel's Hardware Accelerated Execution Manager, which is a virtualization engine for computers running Intel CPUs.
      For using Memu emulator I think HAXM is not necessary.

    • @vaibhavaggarwal7803
      @vaibhavaggarwal7803 Год назад +1

      @@FlutterTeacher ok thanks 👍

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      You are most welcome dear 🙏

  • @capstoneproject1441
    @capstoneproject1441 2 года назад

    Hi ? why after i enter "emulator -avd MyAvd"
    then when the emulator show up and loading then this "attach debugger or ESC to cancel" pop up

    • @FlutterTeacher
      @FlutterTeacher  2 года назад

      Can you please upload screen shot on my facebook page

    • @mchalwn
      @mchalwn Год назад

      @@FlutterTeacher how I can fix it? i got this too

  • @pranaykoley8285
    @pranaykoley8285 Год назад

    platform-tools folder not created after doing all steps, now in the cmd, there showing missing platform-tools. Please help

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      It's my humble request, please follow all steps exactly as it is shown in the video. Pause the video and follow the steps.
      Use same version of softwares as I have used.

    • @muhammadaminulakbar4420
      @muhammadaminulakbar4420 Год назад +1

      sdkmanager "platform-tools"

  • @hammoudayoussef2435
    @hammoudayoussef2435 Месяц назад

    how to reset all off this

  • @arollfotso9584
    @arollfotso9584 2 года назад

    good morning sir this is what i had when creating my avd in the cmdline "cannot add library vulkan-1.dll: failed"

    • @FlutterTeacher
      @FlutterTeacher  2 года назад

      Please join me on facebook. I will solve your problem by joining you.

  • @AhmedMostafa-so2jp
    @AhmedMostafa-so2jp Год назад +2

    thank you

  • @hammoudayoussef2435
    @hammoudayoussef2435 Месяц назад

    what about git ?

  • @shystriker
    @shystriker 2 года назад

    When I used the sdkmanager "system-image....
    My download was stuck at 71%

    • @FlutterTeacher
      @FlutterTeacher  2 года назад

      Usually it happens due to slow internet or low system configuration.

  • @x-lufias69
    @x-lufias69 Год назад

    I use AMD processor. what should I install instead of HAXM?

    • @FlutterTeacher
      @FlutterTeacher  Год назад +1

      You cannot install HAXM on a system that uses a AMD CPU. It was written by Intel to work only on Intel CPUs.
      Alternatives to HAXM for AMD users include Microsoft’s Hyper-V platform (comes with Windows 10 and some versions of older Windows releases), Kernel-based Virtual Machine manager (KVM) on Linux.

  • @aditideshpande1266
    @aditideshpande1266 Год назад

    It's showing me package path is not valid and system image has null path

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      I request you to delete all paths you had set.
      Retry the process, follow the instructions properly, use same version of software that I have used. Link is in the description.

  • @9bati
    @9bati Год назад

    it does not run with me when i make emulator MyAvd

    • @9bati
      @9bati Год назад

      could u help

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      Tell me what error you are getting or the actual problem that you are facing.
      you can share screenshot of problem in the facebook account. bit.ly/3DjZ83B

  • @MuhammadUmarYahya24
    @MuhammadUmarYahya24 8 месяцев назад +1

    please help me, you my hero

  • @adalovelace7291
    @adalovelace7291 Год назад

    i have an error when i try yo install build_tools he tell me : a JNI error has accured ,please check your installation and try again

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      JNI means Java Native Interface errors.
      You might have installed Java already, please uninstall that one & follow the steps shown in the video properly with same version of software as I have used.

    • @adalovelace7291
      @adalovelace7291 Год назад

      @@FlutterTeacher okey lemme try this time again and so please sir can u make another vid about run flutter on real device" phone" for low ram

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      @@adalovelace7291 Watch this video ruclips.net/video/yxif9Tj8fDE/видео.html

  • @MrCrisVIP
    @MrCrisVIP Год назад +1

    the best.

  • @aryeh2361
    @aryeh2361 Год назад

    Unable to connect to adb daemon on port when trying to launch on command promt

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      Open Command Prompt as administrator and type
      adb start-server

  • @kavindividushani7057
    @kavindividushani7057 Год назад

    I can't power on my emulator. please help me. it shows message like "Resetting for cold boot"

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      Try following solutions
      1)
      Start - Turn windows features on or off - (checking) Hyper-V - Reboot
      Hyper-V "lets you create and run a software version of a computer, called a virtual machine. Each virtual machine acts like a complete computer, running an operating system and programs." - Microsoft docs
      NB I also installed android emulator components like HAXM for Visual Studio 2022 Community, but this didn't fix problem on it's own.
      2)
      Restart your PC/Laptop.
      Now launch the ADV, please wait, it may take time if your system is slow.

    • @kavindividushani7057
      @kavindividushani7057 Год назад +1

      @@FlutterTeacher you are really awesome. I really appreciate you. Other youtubers don't reply comments when we put them after the video posted and passed long time. But you reply every comments and solve every questions. Really appreciate it. You are doing great job. And thank you for the solution. I'll try it ❤

    • @FlutterTeacher
      @FlutterTeacher  Год назад +1

      If your problem won't solve, join me on facebook.
      Many many for for appreciating my work. 🙏

  • @shabanasoomro4134
    @shabanasoomro4134 Год назад

    I have try but my command is not running in cmd what I have to do

    • @FlutterTeacher
      @FlutterTeacher  Год назад +1

      Can you please tell me error, that you are getting??

  • @ogunekunsegun6047
    @ogunekunsegun6047 Год назад

    I am getting this error "Cannot find avd system path. Please define ANDROID_SDK_ROOT"

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      Please follow the steps exactly as shown, use same commands and software which I have used.
      Copy the commands from description.

    • @ogunekunsegun6047
      @ogunekunsegun6047 Год назад

      @@FlutterTeacher I've done that the app is not running just a blank screen on the emulator it seems it required a upgrade

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      If you are running app first time in VS Code, it will take long time depending on your system configuration & internet speed.

  • @Bruno-ob9og
    @Bruno-ob9og Год назад

    I'm getting this error. Warning: Failed to find package 'system-images;android-30;google_apis;x86 64'

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      You missed last underscore, the command is
      sdkmanager "system-images;android-30;google_apis;x86_64"

  • @ppl_call_me_tima
    @ppl_call_me_tima 6 месяцев назад +1

    thanku bhai

  • @mohdhaikalrozhan6237
    @mohdhaikalrozhan6237 Год назад

    Error: A JNI error has occurred, please check your installation and try again

    • @mohdhaikalrozhan6237
      @mohdhaikalrozhan6237 Год назад

      I got this error when i run sdkmanager "build-tools;30.0.0"

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      Please watch the video properly and follow all steps exactly as shown in the video. Use same version of software that I have used.

  • @mehmoodahmed3511
    @mehmoodahmed3511 Год назад

    in andoid sdk i vae not found plateform tools then what i do?

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      It's my humble request to watch the video properly and follow each step exactly as it is shown in the video.
      Use same version of softwares as I have used in the video.
      This error occurrs due to wrong folders placement or invalid path settings.

  • @SoftEra4U
    @SoftEra4U 6 месяцев назад

    Sir is pe to commands to nhi lag rahi hai?

    • @FlutterTeacher
      @FlutterTeacher  6 месяцев назад

      Which command are you talking, where it is not coming

  • @HangugoSupporter
    @HangugoSupporter Год назад

    hello sir. how to open emulator project close affter

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      Watch this video
      How to Open Android Emulator from VS code ruclips.net/video/bLvUowQQLPs/видео.html

  • @muhammadmoqeetazaz1553
    @muhammadmoqeetazaz1553 Год назад

    my emulator starts and shows black screen

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      Please wait for some time.
      If it still shows black screen, long press power button of emulator.

  • @geenews6207
    @geenews6207 Год назад

    what if i don't want AVD and want to run on real device?

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      Connect the real device, VS Code will detect it. Select that device and run the project. 😀

    • @geenews6207
      @geenews6207 Год назад

      ​@@FlutterTeacher Do i need to install HAXM for real device?

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      No!

  • @suchitajangali6400
    @suchitajangali6400 Год назад

    We can create flutter app by using python language without using Android studio

    • @rutujjainvlogs1432
      @rutujjainvlogs1432 Год назад +1

      Flutter required dart language

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      Yes, you don't need to install it separately. It's included in Flutter installation.

  • @newagedresses5911
    @newagedresses5911 Год назад

    can u also make a video for macos as well please

  • @speedtnt7591
    @speedtnt7591 Год назад

    Hello there, are these the latest versions?
    Install the build tools:
    sdkmanager "build-tools;30.0.0"
    Install the platform:
    sdkmanager "platforms;android-30"
    Add system image:
    sdkmanager "system-images;android-30;google_apis;x86_64"

    • @FlutterTeacher
      @FlutterTeacher  Год назад +1

      No!
      These versions are best which work without Android studio and Visual Studio.

  • @000learningzone
    @000learningzone Год назад

    Hello sir

  • @yeshiwasephrem
    @yeshiwasephrem Год назад

    please make a video for hardware configuration

    • @FlutterTeacher
      @FlutterTeacher  Год назад

      Can you please explain, exactly what do want?