Android OS Forum banner
1 - 5 of 5 Posts

·
Developer
Joined
·
194 Posts
Update:If you've tested the script, there may have been some problems with the script executing the final part of the code. It should now launch ./android update adb properly.

I've been working on a script for a little while now that will automatically install the Android SDK, Android NDK, Eclipse, ia32-libs, and just recently got it to finish setting up ADB with maybe one or two clicks. I made the script so that it would be easier for everyone that wanted to use ADB, but was also not sure how to go about the process of installing it. I've been testing it successfully on 32- and 64-bit Linux Mint 11 and would like to expand my testing to other Debian based systems like Ubuntu because I'm fairly confident that it will work with 11.04 and possibly other versions as well. If it doesn't work though, I would like to know where it is erroring out so that I can have a chance to expand this script to Ubuntu at least.

What my script does:

Scans the Android SDK and NDK websites for the latest versions and installs them to /usr/local/android-sdk and /usr/local/android-ndk respectively. It then installs ia32-libs on 64-bit systems for compatibility (apt-get). Next, it installs downloads and installs Eclipse from the repository(apt-get). It will then set up an environment in /etc/bash.bashrc for the location /usr/local/android-sdk/platform-tools so that you can access adb from any location. Finally it launches android update adb and asks for the user to accept the terms and agreement to download "Android SDK Platform-tools." Once this is done, restart terminal and try using adb.

Step by step tutorial and the most up-to-date script is available here.

I am trying to keep the Dropbox and GitHub links together, but the Dropbox one may fall behind on minor updates if I'm doing some testing.
 

·
I just shoot lasers here
Joined
·
183 Posts
Hi Tahl!
I'd be interested in helping with your scripts IE: testing and writing :android-smile:
PM me or email!
 

·
Developer
Joined
·
194 Posts
Discussion Starter · #5 ·
This thread is outdated btw.. check out the linux forums post for a 32-bit and 64-bit .deb script

Check this out:

http://rootzwiki.com/showthread.php...pse-and-ADB-Auto-Installer-(Ubuntu-Linux-Mint)

I appreciate you tweeting this, but if anything I need feedback for that other thread =)

I'd also love to use take a look at your script Nicandris and see if there's anything I can cannibalize and add to my script in the future (some ideas I've wanted to touch on in the future are add some menu options, possibly the ability to add SBFing for users, SDK/NDK update options without deleting/updating the .deb)
 
1 - 5 of 5 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top