- First tried Android Studio on Win 7
- DUMB FACT #1: The Android Developer Network has Samples available for Android Studio ONLY, however then you go to their Training and its based on using Eclipse instead?
- So, I decided to go with Eclipse instead of Android Studio since its more versatile for programming outside of Android as well.
- I wanted to install on a Linux platform so I can also learn Linux in spare time and knockout 2 birds with one stone, since its the platform of choice for hacking, security assessments, etc.
- Outcome: Ubuntu 13.10 Desktop with Eclipse IDE with ADT.
Installation
- Install Ubuntu 13.10 Desktop on a virtual machine
- I want to install it on a USB stick because then I can maximize the hardware support rather than using partial hardware via a virtual machine running via Windows.
- Then, I went to About This Computer and checked for updates and I installed all the updates.
![]() |
| About This Computer displays updates |
- Then, I went to this link to XXXX to setup IDE environment. They LIED and said all you need to do is install the bundle and you're ready to go. They forgot to add JDK to their setup so if you don't have JDK installed, you have to install that first.
- The next thing I learned is that if you have 1 JDK installed, then you may experience problems trying to install another JDK over it. I installed OpenJDK 7 and then tried to install Oracle JDK 7 and kept experiencing errors. In the end, I went with OpenJDK 7 because it was already installed, however I will come back to this article XXXX to determine what is the difference between them from performance, security, etc.
- I installed OpenJDK 7
- Ran the Android SDK Manager and choose all of 4.4 and some other stuff, I will come back to this later.
- Added a ~.bash_aliases to store my custom PATH additions.
- Ran AVD
- Ran Eclipse and ran Install Updates and it errors about lacking privileges.
- Looked up this article
- changing permissions on the directories with Eclipse and Android SDK
- Ran Eclipse and it gave me an adb error
- Restarted Eclipse and it came up fine!


No comments:
Post a Comment