Search code examples
androidandroid-sdk-tools

Installing Android SDK Components


Help me with getting started with Android Studio... I have just installed Android studio Bundle (nearly 850 mb). Than I installed some SDK components as shown in pic... enter image description here

After I start android studio and compile default source code I get this: enter image description here

Then when I execute it it shows this: enter image description here

How do I get Proper Out put?


Solution

  • It is striking through ActionBarActivity Class because this class is deprecated. AppCompatActivity is used instead since version 22.1.0. More infos here : http://developer.android.com/tools/support-library/index.html and here : http://android-developers.blogspot.com/2015/04/android-support-library-221.html

    For the output on your emulator, it takes time to start and emulate as android. You should be patient. :) Personnaly, I've never succeeded in running the android emulator on my Windows machine. I always got output just like you. But when I installed android studion on my Linux machine, it just took me something like 2-5 minutes the first time I launched it. So you know now what you have to do. :)