• Money

Errors I faced while developing my first Hello World android app

Recent Articles




It was Febuary 21 when I decided to develop my first android app. I have good programming knowledge for languages like C, C++, PHP, HTML and VB. 

Most of the programming languages start with a "hello world" program. While changing languages only thing that changes is syntax of the language. Generally concepts remain same.So what I thought was that It would take half an hour at max to develop my first programs. But to my surprise It took lot more than that due to various errors I faced.

I am listing below a few of them and how I got rid of them so that any new user like me would not face these errors or could resolve them if he/she faces it by resolutions mentioned below.

1) First of all I downloaded the android studio software and installed it

2) Then I created the hello world app using steps mentioned in the following tutorial





https://developer.android.com/training/basics/firstapp/creating-project.html

3) Now the main challenge was to run it in the android emulator to check whether its working correctly or not. So I went to run menu and pressed the option "Run app". It showed the error "HAX Kernel module is not installed". I googled a lot the finally I found solution by downloading and installing HAXM through the following link.

https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager-end-user-license-agreement

4) Then the errors changed to "Intel X86 emulator accelerator (HAXM installer) VT/NX not enabled".Since most modern CPUs support virtualization natively, the reason you received such message can be because virtualization is turned off on your machine. For example, that was the case on my VAIO laptop – the factory setting for hardware virtualization was "Disabled". So, go to your machine's BIOS and enable virtualization.To do that, restart your machine. Press F2. Goto BIOS. Make Virtualization Enabled. Press F10. Start windows. 

5) The last error I faced was "The memory needed by this VM exceeds the driver limit". For resolution of this error, please follow step mentioned in following video





[youtube width=”800″ height=”500″]https://www.youtube.com/watch?v=ydHxs3l_MSs[/youtube]

Finally after resolution of the above error the emulator showed up and I took a sigh of relief.

So to summarize my first android app experience was a bit horrible but I hope it would not be the case with the readers.

Hope this article will prove helpful to android app newbees.
[divider scroll_text=”Back To Top”]

 





 








World’s Most Bizzare Resort with Underwater Hotel Room...

Welcome to the The Manta Resort with Underwater Room. Situated at remote island of Pemba - an island part of the Zanzibar archipelago just...

Sydney Storm: Incredible Tsunami Cloud | Shocking Footage...

Timelapse footage from Twitter users Will Reid and Hugo Vann show an amazing bank of storm clouds moving in towards Sydney, Australia on Friday....

Respect your parents. They passed school without GOOGLE

They Held Our Hand When We Were Kids. It’s Our Turn To Do The Same Some parents and children tell each other "I love you"...

Why Is Poland the Most Religious & Conservative...

When talking about Poland, “religion” often means “Catholicism”. About 90% of Poles are Roman Catholics, although this number may be overestimated as the statistics...

Does God Hate Homosexuals? | LGBT: Let God...

Is God Homophobic? A Gay dude meets God and finds out.  Finally a video that serves tight slaps to fanatics who twist religion to propagate their...

8 Pics Of Most Daring Photographer Kim Wolhuter...

He could have run, but she would've caught up pretty fast. Instead, one photographer remained calm as he allowed a mother cheetah to approach...