Nov 15, 2012

Android: Building my first app (on debian linux)

To build my first app, i followed the tutorial given by developer.android.com. (before you can start, you have to set up your developement tools)
  1. Start eclipse
  2. type CTRL-N
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  

  10. And after hitting finish, eclipse looked like this:
  11. At this point the tutorial recommends to look at some files and directories (look http://developer.android.com/training/basics/firstapp/running-app.html), but here i will skip this and go straight to running my app
  12. To run inside an emulator click on the Virtual Device Manager (eclipse):

  13. So i tried to build a new virtual device:
  14. But this failed with:
    [2012-11-08 20:23:12 - SDK Manager] Unable to find a 'userdata.img' file for ABI armeabi to copy into the AVD folder.
  15. Therefor this link gave a solution:
    Click on Android SDK Manager
  16. After the successful installation, the drop down "CPU/ABI" showed some content:
  17. Now the virtual device is there....
  18. But choosing start i got this error:

Ok. No direct rendering enabled on my debian laptop....
So after running though all this steps, my summary is:

  • Looks quite good.
  • Before you start, you should use the Android SDK Manager
    (eclipse --> Window --> Android SDK Manager)
  • Do not use a linux device without direct rendering

No comments:

Post a Comment