RSS Mobile
 
tumblr:~ blog$ /usr/bin/alex --fortune

 


2 Settembre, 2011
text

How to build Android adb on ARM

Thanks to Google I’ve just found searching in many Forum threads the way to build adb on ARM arch.
Just download sources with git (apt-get install git-core on debian-like system):

$ git clone git://android.git.kernel.org/platform/system/core.git system/core
$ git clone git://android.git.kernel.org/platform/build.git build
$ git clone git://android.git.kernel.org/platform/external/zlib.git external/zlib
$ git clone git://android.git.kernel.org/platform/bionic.git bionic

Now edit build/core/main.mk and comment out the parts labelled
# Check for the correct version of java
and
# Check for the correct version of javac
Since adb doesn’t need Java, these checks are unnecessary.
Also edit build/target/product/sdk.mk and comment out the “include” lines after
# include available languages for TTS in the system image
This avoids having to download language files that aren’t needed for adb. 

Save this Makefile as system/core/adb/Makefile : https://gist.github.com/958335
Then just run:
cd system/core/adb; make

Then you can copy and use your adb binary.
That’s all! If you have any problems search your distro’s packages repository to install needed packages!
:-) 
URL:
http://lackingrhoticity.blogspot.com/2010/02/how-to-build-adb-android-debugger.html
http://stackoverflow.com/questions/5904765/build-android-adb-for-arm-processor
HomeWebsite Homepage RSSTake the RSS! ArchiveLook at Blog Archives
MailMeSend me an eMail MailgpgTake my gpg key
Skype
Add me to Your Skype Account
ChatChat with Me! WorksLook my Works FlickLook my Picasa Photo Album!
YoutubeLook my Videos on Youtube! del.icio.usLook my bookmarks on del.icio.us! TechnoratiAdd to Technorati Favorites!
VimeoHDMy HD Videos on Vimeo! GoogleGo to Google! MTV-nomafieGo to MTV nomafie!


Visualizza il profilo di Alessandro Arrichiello su LinkedIn