Wednesday, May 6, 2020

Install Android Studio in Windows 10 Step-By-Step

How to install Android Studio in Windows 10?

Windows requirements:

  • Microsoft Windows 7/8/10 (32-bit or 64-bit)
  • 3 GB RAM minimum, 8 GB RAM recommended (plus 1 GB for the Android Emulator)
  • 2 GB of available disk space minimum, 4 GB recommended (500 MB for IDE plus 1.5 GB for Android SDK and emulator system image)
  • 1280 x 800 minimum screen resolution
Once you have ensured that your operating system is compatible to Android Studio requirements, download Windows distribution file android-studio-ide-192.6392135-windows.exe from DownloadAndroid download page will automatically detects the architecture (64-bit or 32-bit) of the operating system.


Android Studio Download Page

You can also select Android Distribution package manually by clicking "DOWNLOAD OPTIONS" button.

Distribution Package List
Distribution Package List

I have downloaded directly clicking on "DOWNLOAD ANDROID STUDIO" button.

Read the terms and conditions and accept it by clicking on checkbox. Then download button gets enable.


Terms and condition for downloading Android Studio
Terms & Condition for Downloading Android Studio

Click on "DOWNLOAD ANDROID STUDIO FOR WINDOWS" button.

Installing Android Studio on 64-bit Windows 10

I launched android-studio-ide-192.6392135-windows.exe to start the installation process. The installer responded by presenting the Android Studio Setup dialog box shown in Figure 1.

Figure 1. Set up Android Studio

Click Next, following panel will appear, which provides option to decline installation of Android Virtual Device (AVD).

Install an Android AVD?
Figure 2. Install an Android AVD?

I chose to keep the default settings. After clicking Next, the Configuration Settings panel appears, which asks where to install Android Studio.

Configuration Settings Panel
Figure 3. Installation Location must have at least 500MB of free space 

I kept default installation location, and clicked Next and panel asks for creating shortcut on Start Menu.

Choose Start Menu Folder
Figure 4. Choose Start Menu Folder 


I kept default settings and clicked on Install. The following installing panel appears.
Clicking on Show Details causes the names of files being installed and another activities to be displayed.

Installation Progress
Figure 5. Shows progress of installation 

When installation finished, the Installation Complete panel appears.

Installation Complete Panel
Figure 6. Install Complete Panel

After clicking Next, the installer presents the Completing Android Studio Setup panel.
   
Complete Android Studio Setup Panel
Figure 7. Complete Android Studio Panel

To complete the installation, I left the Start Android Studio checkbox checked, and click on Finish.


Click to check: How to configure Android Studio after installation

Wednesday, April 29, 2020

How to create Spring Boot project in Spring-tool-Suite (STS) Step-By-Step

Create Spring Boot project in Spring-tool-Suite (STS)

There are two ways to create Spring Boot project either by using https://start.spring.io or IDE. So, Let's begin.
  1. Create Spring Boot project using spring tool suite or you can use https://start.spring.io:
  2. Goto File -> New -> Spring Starter Project
    Create New Spring Boot project using Spring Tool Suite
  3. Provide necessary details in https://start.spring.io or IDE such as name, type, Packaging, Java Version, Language, etc. For example:
    No Caption
    Details for creating project using STS

             
    Add Dependencies in start.spring.io and generate project
       
  4. Select Spring Boot Version, and select the dependencies required for your project. I am taking the following dependency in my project:
    • Rest Repository - Exposing Spring Data repositories over REST via Spring Data REST.
    • Spring Data JPA - Persist data in SQL stores with Java Persistence API using Spring Data and Hibernate.
    • MySQL Driver - MySQL JDBC driver.
    • Spring Boot DevTools - Provides fast application restarts, LiveReload, and configurations for enhanced development experience.
    • Spring Web Starter - Build web, including RESTful, applications using Spring MVC.
  5. Click on finish in IDE. If you are creating project start.spring.io then, generate the project as zip, extract it and import in IDE.
  6. After successful create/import project, structure will look like:
    Structure after project creation
    Enjoy learning. :)

Tuesday, April 28, 2020

How can I view the digital license of Windows 10 on PC?



Follow below steps to get digital license of Windows 10:

1. Navigate to start button.

2. Search for settings

3. Open Updates and Security

4. Click on Activation

Digital License on windows 10

Steps for finding the product key for the windows 10 PC which is activated with a digital license :
  1. Press Windows key + X
  2. Click Command Prompt (admin)
  3. Enter the following command:
wmic path SoftwareLicensingService get OA3xOriginalProductKey
4. Hit Enter
You’ll get the respective license key after the last step :)
Enjoy.