Wednesday, 8 May 2013

Installing Android SDK tools on Debian Wheezy

Since debian has moved to multiarch, the process for installing the android SDK on debian has become easier, but the old way (install ia32-libs) does not work anymore.

The Problem

When running tools (like the android virtual device manager) error messages appear:


sdk/build-tools/android-4.2.2/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
   
error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory


Install Step 1. Download the android SDK

You may already have done this bit, however here are full install instructions.

Download the android SDK into somewhere convenient and unzip the archive. No system permissions are required.

    unzip adt-bundle-linux-x86_64-20130219.zip

Now launch the eclipse IDE

    cd adt-bundle-linux-x86_64-20130219/
    ./eclipse/eclipse

Installing ia32-libs will no longer work as debian as moved to multiarch support.

Solution. Use Multiarch

Multiarch support makes installing libraries from the i386 distribution easy...

    sudo dpkg --add-architecture i386
    sudo aptitude update
    sudo aptitude install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386


Now launch eclipse, and everything should now work just fine.

24 comments:

  1. Yep add the multiarch as stated above but i stll get the error
    Fresh install on deb wheezy

    ReplyDelete
  2. Many MAny MANy MANY thanks! Your guide is very usefull

    ReplyDelete
  3. Nice tutorial on android technology hats-off to your effort. Your article explained the potential of android technology in coming years. Android Course in Chennai

    ReplyDelete
  4. nice blogs!!! i have to learning for lot of information for this sites...Sharing for wonderful information.
    Phonegap Training in chennai | Phonegap Training chennai | Phonegap course in chennai | Phonegap course chennai

    ReplyDelete
  5. Excellent post. Android is an open source operating system used for tablet computers and smartphones. If your are interested to develop creative mobile applications then you must learn about android OS. Its helpful for you.

    Regards..
    Android Training in Chennai




    ReplyDelete
  6. I agree with your post. Android software development kit makes the application development process lot simpler and effective. You can create best performing android application with ease. Android Training Institute in Chennai | Best Android Training in Chennai

    ReplyDelete
  7. Excellent post. Android is an open source operating system used for tablet computers and smartphones. Best Android Training in Chennai

    ReplyDelete
  8. Excellent post very usefull, Thank's for all.

    ReplyDelete
  9. Good info! Thanks for the great share sounds great to hear about the techs, newbie though, this article helps in Mobile application development in chennai

    ReplyDelete
  10. We at Colan Infotech Private Limited a Mobile application development company in chennai,
    is Situated in US and India, will provide you best service in enterprise mobile app development company and Colan Infotech has a group of exceedingly dedicated,
    inventive and creative experts with an energy for delivering exciting , helpful and stylish Web and Mobile Applications ,
    We work with customers in a wide variety of sectors.
    We design all of our websites and applications using the responsive web design approach.
    Our talented team can handle all the aspects of mobility so we are rated as
    best service provider in Mobile apps development companies in chennai.

    We solidly trust that our customers start things out and there is not a viable alternative for quality of service.
    We offer custom services to a wide range of industries by exceeding our client’s expectations. You can even interact directly with the team regarding your project,
    just as you would with your in-house team. we always desire to solicit our customer's fruitful experience with us,
    we are the top notch Mobile App Development Company in chennai and mobile app development companies in Bangalore.
    We can provide best mobile app development chennai . We can provide cutting edge technology services in Mobile application development in chennai.
    Reach us for mobile app development chennai or just call us for best mobile app developers in chennai .

    ReplyDelete

  11. We at Colan Infotech Private Limited a Mobile application development company in chennai,
    is Situated in US and India, will provide you best service in enterprise mobile app development company and Colan Infotech has a group of exceedingly dedicated,
    inventive and creative experts with an energy for delivering exciting , helpful and stylish Web and Mobile Applications ,
    We work with customers in a wide variety of sectors.
    We design all of our websites and applications using the responsive web design approach.
    Our talented team can handle all the aspects of mobility so we are rated as
    best service provider in Mobile apps development companies in chennai.

    We solidly trust that our customers start things out and there is not a viable alternative for quality of service.
    We offer custom services to a wide range of industries by exceeding our client’s expectations. You can even interact directly with the team regarding your project,
    just as you would with your in-house team. we always desire to solicit our customer's fruitful experience with us,
    we are the top notch Mobile App Development Company in chennai and mobile app development companies in Bangalore.
    We can provide best mobile app development chennai . We can provide cutting edge technology services in Mobile application development in chennai.
    Reach us for mobile app development chennai or just call us for best mobile app developers in chennai .

    ReplyDelete
  12. Thanks for the awesome share
    We at Colan Infotech Private Limited best web design company in chennai,is Situated in US and India,
    will provide you best service in qa testing services
    Design Services and Colan Infotech has a group of exceedingly dedicated, inventive and creative experts with an energy for delivering exciting ,
    helpful and stylish Web and Mobile Applications, We are one of the best software testing services company
    and of course we stepped in bangalore too we are best qa and testing services
    can provide quality assurance and testing services,
    we are the best among the software testing company india

    ReplyDelete
  13. awesome....! information.
    Click here to know more about our innovative services.
    Web Design company in Hubli | web designing in Hubli | SEO company in Hubli

    ReplyDelete
  14. Now learning IOS and Android . This topic is going to be useful For me Thanks.
    Red Hat Training in Chennai
    Best Linux Training Institute in Chennai

    ReplyDelete