How To Setup Android Studio and Android SDK, NDK on Windows

,

Hello guys, this is Yuvraj Singh and today, In this post we’re going to Setup Android Studio and Android SDK, NDK on Windows. Nowdays, Eclipse IDE is deprecated for Android Development. So, one needs to install Android Studio in his/her PC to kickstart Android Development. When Eclipse was there then one could run it on a 3 GB RAM PC. But, if you are willing to install Android Studio on a Windows PC, you need minimum 4 Gigs of RAM and 2GB storage. Also, you won’t be able to use Android Emulator on your PC because it also needs 1 Gigs of RAM. If you have 4-6GB RAM then I would recommend you use SSD(Solid State Drives)  instead of HDD(Hard Disk Drives). It would be very good to have 12 gigs of RAM and SSD for Android Development.

What happens when you don’t have minimum requirements

When you don’t have minimum requirements to run Android Studio, then these things would happen:

  1. Gradle Building will take too much time(around 5 mins) to build a debug APK and about 20-30 mins to build a release APK.
  2. Android Studio will take too much time to start(around 10 mins) which is worst.
  3. It will lag too much if you open another software like Adobe Photoshop, Google Chrome etc.
  4. It will take too much time to close. Sometimes, You will need to close it from Task Manager because it becomes unresponsive when you click on close button.
  5. Your PC may cause Overheating problems.
  6. Simply, you won’t be able to create complex applications which have greater size over 20Mb.

So, to get rid of these things you will need to upgrade your PC first. Or if you’ve all the things except RAM you can use Readyboost to boost your performance. Learn more: How To Increase RAM Of PC Using Pen Drive


System Requirements for Android Studio

Windows

  • Microsoft® Windows® 7/8/10 (32- or 64-bit) [Tested on Windows 8.1 64 bit Build 9600]
  • 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 + 1.5 GB for Android SDK and emulator system image)
  • 1280 x 800 minimum screen resolution

Mac

  • Mac® OS X® 10.10 (Yosemite) or higher, up to 10.13 (macOS High Sierra)
  • 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 + 1.5 GB for Android SDK and emulator system image)
  • 1280 x 800 minimum screen resolution

Linux

  • GNOME or KDE desktopTested on Ubuntu® 14.04 LTS, Trusty Tahr (64-bit distribution capable of running 32-bit applications)
  • 64-bit distribution capable of running 32-bit applications
  • GNU C Library (glibc) 2.19 or later
  • 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 + 1.5 GB for Android SDK and emulator system image)
  • 1280 x 800 minimum screen resolution

 

How To Install Android Studio on Windows

So, you took a look at minimum requirements for install Android Studio on Windows. Below is the step by step guide for installing Android Studio on your Windows PC

  1. Go to: https://developer.android.com/studio/index.html.

    How To Setup Android Studio and Android SDK, NDK on Windows - learn android development

    How To Setup Android Studio and Android SDK, NDK on Windows

  2. Now you’ll need to Download Android Studio. Click on DOWNLOAD ANDROID STUDIO button.
  3. Accept Terms and Conditions.
  4. Now open .exe file you downloaded.
  5. And Setup will be started within few seconds.

    How To Setup Android Studio and Android SDK, NDK on Windows - learn android development

    How To Setup Android Studio and Android SDK, NDK on Windows

  6. Click Next

    How To Setup Android Studio and Android SDK, NDK on Windows - learn android development

    How To Setup Android Studio and Android SDK, NDK on Windows

  7. Select AVD if you wanna emulate.
  8. Click Next

    How To Setup Android Studio and Android SDK, NDK on Windows - learn android development

    How To Setup Android Studio and Android SDK, NDK on Windows

  9. Enter location of Android Studio.
  10. Click Next

    How To Setup Android Studio and Android SDK, NDK on Windows - learn android development

    How To Setup Android Studio and Android SDK, NDK on Windows

  11. Check Do not create shortcuts if you don’t wanna create shortcuts on Start menu.
  12. Click Next.

 

Watch Installation Video

 


 

How to Install Android SDK Tools on Windows

 

  1. Go to https://developer.android.com/studio/index.html#downloads.
  2. Scroll down to see SDK tools.
  3. Now download SDK tools for Windows.

    How To Setup Android Studio and Android SDK, NDK on Windows - learn android development

    How To Setup Android Studio and Android SDK, NDK on Windows

  4. Unzip the downloaded file to C:\Users\YOURUSERNAME\.android\sdk.
  5. Important, Change YOURUSERNAME to your username of PC.
  6. Now, open SDK Manager.exe from the directory of SDK.
  7. You don’t need to install all the things.
  8. First, in tools install Android Studio Platform-Tools and Android Studio Build-Tools. You should install the latest one.
  9. Since, Android P is latest but I won’t recommend that to be installed. I would recommend you to install API LEVEL 27(Android Oreo). From API 27 install SDK Platform and Sources for Android SDK. If you want to emulate then you can install one of the available System Images.

    How To Setup Android Studio and Android SDK, NDK on Windows - learn android development

    How To Setup Android Studio and Android SDK, NDK on Windows

  10. Install everything from Extras except NDK Bundle, you can install NDK directly from here but sometimes it fails to download. So, we will install it manually.

    How To Setup Android Studio and Android SDK, NDK on Windows - learn android development

    How To Setup Android Studio and Android SDK, NDK on Windows

Now everything has been set up, you only need to tell Android Studio that you have installed Android SDK Manager and SDK tools. So, how will you tell that?

You can set Environment Variables realated to SDK:

 

  1. Go to Control Paneland search for System.

    How To Setup Android Studio and Android SDK, NDK on Windows - learn android development

    How To Setup Android Studio and Android SDK, NDK on Windows

  2. Select System and select Advanced System Options.

    How To Setup Android Studio and Android SDK, NDK on Windows - learn android development

    How To Setup Android Studio and Android SDK, NDK on Windows

  3. Select Environment Variables.

    How To Setup Android Studio and Android SDK, NDK on Windows - learn android development

    How To Setup Android Studio and Android SDK, NDK on Windows

  4. Create a new Variable named ANDROID_HOME and set its value to the location of SDK under System Variables.

    How To Setup Android Studio and Android SDK, NDK on Windows - learn android development

    How To Setup Android Studio and Android SDK, NDK on Windows

  5. After all of this you can click OK.


 

How to install Android NDK on Windows

Now everything has been set up to start Android development. You can now create applicatios for Android but if you want to create more complex applications or if you have need to use libraries like ffmpeg, libjpeg, libpng, openCV etc. You would need to install NDK. NDK is also helpful if you have already written some codes or libraries in C/C++ and these codes are called Native Scripts in Android development. If you are just learning Android development and working on demo apps, then typically you don’t need to install NDK. Steps for installing Android NDK are given below:


 

    1. Go to https://developer.android.com/ndk/downloads/index.html and download the stable version for Windows.
    2. Now extract r-VERSION folder from downloaded .zip file to C:\Users\YOURUSERNAME\.android\ndk.
    3. As I have previously told how to add Environment Variables, set ENV as:
      Name: NDK_PATH
      Value: C:\Users\YOURUSERNAME\.android\ndk


Everything has been set up now you can create complex Android Apps and they can also use C\C++ with JNI.

How To Get Started With Android Development

How To Increase RAM Of PC Using Pen Drive

Best Mobile Phones of 2018! Galaxy Note 8 , iPhone

Best Mobile Phones of 2018! Galaxy Note 8 , iPhone

Hello guys, In this blog post I’m gonna make a list of Best Mobile Phones of Jan-2018. It’s about 2 weeks for ending 2017. So, lets take a look at the Best Mobile Phones of Jan-2018 and flagship phones of 2017. We’ll talk about mobile phones of brands like OnePlus, Apple, Samsung etc.

 

Read more

How To Get Started With Android Development

Hello guys, In this blog post I’m gonna tell you How To Get Started With Android Development. Android is most used mobile operating system followed by IOS. Like in case of IOS app development, you need knowledge of objective C and/or swift, You will need to have pretty knowledge of JavaJava is easy to use and learn language. In this blog post I’ll also cover the best tutorials around the internet for Java and android. But remember that you can also create hybrid applications in javascript, html etc. For hybrid app development you’ll need to learn cordova/react native/phonegap etc.

So, basically you can create an android application in two ways:

  1. Hybrid

  2. Native

We need to figure out what’s the differences between these two ways of creating Android Applications.

DIFFERENCES BETWEEN NATIVE AND HYBRID APPS

Differences between native and hybrid applications
NATIVEHYBRID
These can be only developed for a single platform.You can develop cross platform applications i.e., they can run on a number of platforms like Android, IOS, Windows etc. with same code.
The time taken for development of native apps is slightly more as compared to hybrid ones.It would take very less time to create of hybrid apps.
You’ll be needed to have pretty much knowledge of Java for Android and Objective C for iOS.You’d need to learn web technologies like HTML, CSS, JS etc
You’ll need a dedicated IDE for creating native apps like Android Studio, Eclipse IDE(deprecated).You can write codes even in notepad.
Learning to create native applications is time taking but it’s very beneficial.Learning to create hybrid applications is a bit tricky.

So, a question would come in your mind i.e., What should I choose: Hybrid or Native? This question also came into my mind when I made my mind to create android applications.

If you just wanna create an application for your website which doesn’t interact with mobile phone much, I would recommend going through Hybrid. But, If you’re creating applications for services like social media, games etc. They’ll need to be faster. So, In this case I’ll recommend you going through Native creation.

Now, It’s time to create your application. I guess you got the right answer for that question now. So, Here I have best tutorials around the globe for android development.

.
.

FOR NATIVE

  1. Official Android development tutorial Getting Started | Android Developers
  2. Tutorialspoint Android Tutorial
  3. Udacity Android Development for Beginners | Udacity
  4. Codeschool Learn Android | Code School

FOR HYBRID

You have many options for going through hybrid application creation like Apache Cordova, Adobe Phonegap, React native etc.

For Cordova

  1. Tutorialspoint Cordova Tutorial
  2. Lynda Learning Apache Cordova – Lynda.com
  3. Official Documentation Apache Cordova

For Phonegap

  1. Obviously, Tutorialspont PhoneGap Tutorial
  2. Lynda Learning PhoneGap Build – Lynda.com
  3. CodeSunder A Complete PhoneGap Tutorial (Beginners to Advanced)

For React Native

  1. Tutorialspoint React Native Tutorial
  2. Official facebook doc. Learn the Basics · React Native – Facebook Code
  3. React Native doc. Best Courses to learn React Native and React
  4. Udemy Build React Native Apps for Android and iOS | Udemy

So, you’ve been watching Tutorialspoint everywhere, that’s because I’m using this website for a long time to learn. I’ll highly recommend you taking its tutorials. Quora and Stackoverflow are always here to help you getting out of problems in development of Android applications. But, what if you don’t like written tutorials, Here are some best youtube channels which provide best android tutoring.

Best Youtube Channels to Learn Android Development

  1. The New Boston
  2. Android Developers
  3. Derek Banas
  4. Udacity
  5. Udemy
  6. Devslopes

These are the six best Youtube channels to learn android development from. I’ll recommend you watching both video and written tutorials about android development.

This blog post isn’t written completely yet. Sorry for the early posting. This was due to a technical problem.

Does NASA really has 91 GBPS Internet Connection? -Myths cleared

Hello guys, Today In this blog post I will clear the myths of the viral message on social media i.e., NASA has 91Gbps internet connection  blah blah. Actually, the reason for making this blog post is that today I was just watching my facebook news feed and suddenly got a picture about 91 Gbps internet connection of NASA from Laughing Colours. I laughed for a while, while watching its comments. In its comments, people were too serious about this and a person was planning to go there to play and download games. Read more

Buying likes with SocioBlend (Review)

,

Hello guys this is Yuvraj Singh and today in post I’ll be reviewing Socioblend. Guys, have you ever heard people buying likes and followers through many websites. It sounds pretty cool but some of us ignore it by just saying that this is not legitimate or real. They are not completely false but there is a website which is offering likes, followers and other stuff for cheap prices and they are also promising that the likes, followers etc. sent by them would be real.

Read more

Sad story behind Made In India.

Hey guys this is Yuvraj Singh and today in this blog post I’m gonna make you clear about the myths of Make In India. We often see the sticker of Made In India on many gadgets like mobile phones, speakers etc. But many of us don’t know the truth behind Made In IndiaRead more

iPhone 8 and iPhone 8 Plus Review

Hello guys the new Apple iPhone 8 is now launched for approx. $909(₹60000). It runs on the latest IOS 11. It is the first iPhone to come with wireless charging. If you love clicking photos then this iPhone is best for you because Apple has improved its camera. The difference between iPhone 8 and 8 plus is that iPhone 8 plus comes with 5.5 inches retina display and dual rear camera while iPhone 8 has 4.7 inches retina display with a rear camera. So lets take a look at this iPhone. Read more

How to get 1k-100m followers on Instagram?

As we all know, nowadays getting followed by thousands of people is dream of everyone. Some are using bots to get 50-100 followers per hour and some are getting organic followers by following others. So, In this post I’m gonna tell you How to get 1k-100m followers on Instagram? There are many ways to get followers but I’ll explain only few of them.

Read more

Top 10 Renowned Companies/Websites Using WordPress

,

Here is the list of Top 10 Renowned Companies/Websites Using WordPress.

As we all know WordPress is the best blogging platform and best for startups as well. So, here is the list of top 10 renowned companies/websites using WordPress.

Read more

How To Increase RAM Of PC Using Pen Drive

,

Welcome again guys, today in this tutorial you will learn How To Increase RAM Of Your PC Using PenDrive? There are many websites which are claiming that this trick will increase your RAM memory. But, it would never increase your RAM, it’ll just cache your contents in a pendrive. So your computer gets faster. Now,

Read more