How to run emulator in Vs Code | AVD without Android Studio

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
foreign so in today's video we will see that how can we use this emulator without actually launching the Android Studio so guys this is basically helpful when you have limited number of resources like you have limited RAM and you are unable to run Android studio and emulator parallely so what you can do is you can simply take any type of editor like here I am having a vs code editor which is a much lightweight ID than Android studio and parallely I can work on this emulator also so let's see how to do that so the first and the basic requirement would be to install this emulator so if you don't know how to install this emulator in your Windows system then you can go and check out my other videos the link would be provided in the description so now let's see for those who have installed this emulator already so guys what we have to do is we have to Simply go to the default path wherever you this emulator is installed so if you haven't given the specific path of your installation for the emulator then what you have to do is you can follow the same uh paste as I'm doing so you can get to the default location so what you have to do is you have to go to the local test C and within that you have to go to the users and go to the user whichever you have created like minus logical and with this user what you have to do is you just simply go to the view and click on show and click on hidden items so that you can see one folder from the name that is app data within this folder go to the local and in the local you can find one folder Android within this Android you have to go inside SDK if you basically which stands for software development kit next we go to tools so guys here you can see that I've got several files and here is one file from the name emulator so with the help of this first what we need to do is we have to check that what are the emulator installed on our device so for that you can simply run the command list AP News so when you will run this command emulator list avds EBD is basically Android virtual devices you will get the list of all the virtual devices whatsoever installed on your system like on my I've got two devices pixel 3A and pixel 6 Pro so I would be using pixel 6 Pro for this tutorial so simply copy this name and open a notepad file within this notepad file uh paste this name now what you have to do is close this terminal click on this path and copy this complete path so after copying this complete path what you can do is simply click on this and click copy address now guys on the notepad type CD then give a space and paste the complete path that you have copied now come to the next line and in the next line you have to type the command mu later and then the name of the device on which you have to see your emulator and simply a prefix at the rate now guys after doing this much what you have to do is go to file click on save as and now when you are saving this file you can choose your own location whatever you want either desktop or whatever you want you have to Simply type the name of the file uh like let me uh type it mu later now when it comes to the extension what extension you have to get is B18 this basically stands for the batch file so after doing this much simply click on Save and head towards the location wherever you have saved this dot Pat file so let me add towards my location So within the name folder I say this emulator so the here is a Windows wedge file and when you will double click it uh command prompt will start like this and several things would be written on this don't focus on that and automatically your emulator will get started like this now you can simply go to the vs code and start debugging your application on your Android emulator so guys for any other videos or suggestions or any doubts if you have you can ask in the comment section contact us on Instagram or in GitHub we'll drop the links in the description thank you
Info
Channel: crazzylearners
Views: 87,432
Rating: undefined out of 5
Keywords:
Id: RHiw-NROo80
Channel Id: undefined
Length: 4min 36sec (276 seconds)
Published: Sun Dec 04 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.