开发者

Android Development - Installation gone wrong?

开发者 https://www.devze.com 2023-03-23 21:42 出处:网络
I followed a tutorial to install Eclipse and the Android development files onto an Ubuntu (Lucid) installation and Iv a feeling things are not quite right.

I followed a tutorial to install Eclipse and the Android development files onto an Ubuntu (Lucid) installation and Iv a feeling things are not quite right.

The tutorial can be found here.

The problem seems to be that because everything was installed into the /opt folder I am unable to load any of the sample files because of course they are read only, and I'm unsure about how safe it would be to run Eclipse as root.

My thoughts were to remove all of the Androi开发者_StackOverflow中文版d files and start again and set the location in my /home folder somewhere, but I am unable to find any information on actually removing it (Or if this is in fact the best thing to do).


Here's what you need to do:

  1. Install the latest java JDK.
  2. Within eclipse, install the android ADT plugin http://developer.android.com/sdk/eclipse-adt.html
  3. Download and install the android sdk http://developer.android.com/sdk/index.html
  4. Run the AVD manager (in the android sdk) to install the platform components. (this can be ran from within eclipse)
  5. In eclipse, go to preferences/android and set the SDK path.
  6. Create an android application!

Good luck!

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号