Android Studio Interface
In this course, we will examine the interface of Android Studio and explore the Gradle Build system, manifest files, and resources such as strings, drawables, etc.
This course is ideal for anyone who wants to learn how to use Kotlin for developing applications on Android.
This content will take you from a beginner to a proficient user of Kotlin and so no prior experience with the programming language is required. It would, however, be beneficial to have some development experience in general.
Hello friends. So, in this lesson, we're going to install Genymotion, which is another emulator. So, android virtual devices may not work correctly on some French computers, so you can use the Genymotion emulator as a secondary device if you like. So, in this lesson, we're going to learn how to install the Genymotion emulator. If you've successfully created the android virtual device, you can skip this tutorial or you can still create and use a Genymotion emulator. Either way, you're going to learn something.
So, first up, let's open up the web browser of your choice. And I'll just type in download Genymotion in the search bar. I then hit 'Enter' on the keyboard, and go to the Genymotion's site right here. All right. So, my friends, if you pay attention here, there are Genymotion's download links for Windows, Mac, and Linux. Now, since as you might have noticed my system is Windows 64-bit, well, that's what I'm going to download for my Windows machine. So, just make sure that you download what you need for your machine.
Also, can you see there are two different options here: without VirtualBox and with VirtualBox? If you have a VirtualBox installed on your computer, you can select the without VirtualBox option from here. And since there is no VirtualBox on my computer, I'm going to choose the with VirtualBox option here, my friends, and maybe that's what you'll do as well. So, pressing the button here starts the necessary download process. Now the downloading may take some time. So, therefore, I'm just going to stop the screen recording and then pick it up when we get back.
Now, the download is complete. We will continue from where we left off, my friends. So, before proceeding with the installation process, I would like to mention one more thing. If you pay attention, here are some system requirements for using Genymotion. For example for Windows, you must have a Computer with Windows 8, Windows 8.1 or Windows 10 installed. Also, your computer must have a 64-bit operating system. And again, virtualization technology needs to be enabled, my friend. And we'll also need more than four gigs of RAM, and you can install Genymotion just by considering these system requirements and just proceed after, or maybe you already know what they are, but in any event it's always good to know. So, I click on the 'Arrow' icon here, and select the 'Show in folder' option. Yeah, so the file with the extension .exe we've downloaded is here. I'll double-click on this file with the mouse, and here the operating system will ask, "Do you allow this app to make changes to your device?" It asks the question, I answer with the press of the 'Yes' button. So, now select the installation language, that's going to have to be English. And here it shows the file path where the files will be saved. I'll press the 'Next' button again, Give us the 'Next' button again, and 'Next' again. And finally I get to the 'Install' button to press, and that's what begins the installation process. Now, this might take a little time. So, I'll just speed it up from here. So, now we get to the VirtualBox installation.
So, I'll just press the 'Next' button and I'm pressing 'Next' button again, press the 'Next' button again. So, finally I'll press a 'Yes' button from here, and now I can start the installation of VirtualBox just by clicking on the 'Install' button. Very good. So, we've successfully completed the VirtualBox installation. So, here I'll press the 'Finish' button. All right, so that installs Genymotion, all right. So, my friends, let's open the desktop and see if a shortcut for Genymotion has been created.
Whoa, look at that. As you can see a shortcut has been created for Genymotion and for VirtualBox. Let's run Genymotion. I'll press the 'Finish' button in the installation wizard. Okay, so, as you can see, Genymotion is starting up. So, in order to use Genymotion emulator, we're going to need to create an account. If you do happen to have a Genymotion account that you've created before, well, you can just enter your email and password from here. But if you don't have any Genymotion account, not to worry, we've got to create a new account just by clicking the 'Create Account' button here. And when you click this button, the register page opens. We must enter the necessary information, and just go through the fields here. So, I'm writing my email address, and I'll set in a password. And you can choose your country, and again you can select the 'Test automation for Continuous Integration' option. And this is the usage type in this field. Finally, you can choose 'Others' as company type. And after filling in the required fields, we need to check the checkboxes here.
All right. So, after accepting the necessary contract terms, there's a create button and see 'Create Account' becomes active. So, then you click this button, and then a verification link is sent to the email address that you used for registration. So, I'm hoping that I either didn't mistype it or you're not using a dummy account. So, we need to open up that email address and click on the verification link. So, I'm going to click here and as you can see, the activation process has been completed. And that was a success story.
So, now, we can start using the Genymotion emulator using the registered email address and password. So, I got to write my email address in this field again and I'll write my password in this field, press on the 'Next' button. So, here I've got to choose the 'Personal Use' option and press the 'Next' button. Now, from this page we need to accept the user license again. So, after I checked this box, I can press the 'Next' button. So, we have now completed the Genymotion installation.
Now, let's create the Genymotion emulator. So, by clicking the button here, you can access all emulators. So, from here you can choose any emulator you want. Example, let's use the Google Nexus 5 emulator. So, from here we need to select the emulator that you want, press the 'Next' button. Thus, the emulator installation begins, and again the process may take some time. So, I'm just going to stop screen recording right now. When the installation process completes, we'll continue right from where we left off.
Hey, that was quick. So, my friends, the installation process is now complete. You can now run the emulator by clicking the 'Start' button here. but before I run the emulator, I do want to show you one more thing. If you click on the three dots here, you can see some options related to the emulator. You can run the emulator by clicking the 'Start' option here, or you can rearrange the emulator by clicking the 'Edit' option here. So, if you click 'Delete' again, you can delete the emulator. You could also create another copy of your emulator by clicking on the 'Duplicate' option here. You can use the options here as many as you need. But for right now, let's just run the emulator over this, I'll choose to 'Start' option. Of course, you may encounter an error when you run the emulator for the first time. So, I want to show you this error, and a few of the solutions in a little while. But during the start of the emulator, the operating system might give you some different warnings.
Just press the 'Yes' button. So, here's an error. Now you may not have encountered this particular one, but usually when we run the emulator for the first time, this error may occur. So, to solve this error, we just need to click the link here. As you can see, this page shows the situations that can cause the error and their solution. As I mentioned earlier, virtualization technology has to be enabled on your computer. Now, if you are sure about this, you can move on and look at some of these other solutions.
You can see there are multiple solutions here. So, you've got to try them thoroughly and use the solution that is most suitable for you. This is not a course on troubleshooting, but I'll give you an example. I've implemented solution number one and that made the emulator work. So, probably many of you will run the emulator successfully when you follow this solution number one. So, I would also recommend closing and reopening Genymotion after following any of the solution.
So, this will take into account any changes that you make. As you can see my emulator works. Now let's see what we can use this emulator, and how to use this emulator in Android Studio. So, I want to open Android Studio and as you can see as soon as we were in the emulator, Android Studio automatically detects it, and the running emulators are listed right here. So, from here you can just choose the emulator that you want to run your project on. All right, my friends, that's how to install and use Genymotion emulator, which you can use instead of or alongside the android virtual device. So, use Android virtual device if you want, or Genymotion emulator if you want. The choice is entirely yours. I generally tend to use Android virtual device throughout the course, just so you know, but whatever. We'll take a short break here. See you in the next lesson.
Mehmet graduated from the Electrical & Electronics Engineering Department of the Turkish Military Academy in 2014 and then worked in the Turkish Armed Forces for four years. Later, he decided to become an instructor to share what he knew about programming with his students. He’s currently an Android instructor, is married, and has a daughter.