Fix the "sdk/platform-tools/adb:error=2, No such file or directory" approach to Android studio on Ubuntu

Source: Internet
Author: User
<span id="Label3"></p>Reprint to Http://blog.163.com/china_uv/blog/static/11713726720136931132385/the following issues may occur when you run Android studio when you first install Ubuntu14.5: error ' Cannot run program "/home/uv/ide/adt/sdk/platform-tools/adb": error=2, No such file or directory Error:<br><span style="color: #ff0000;"><span style="color: #ff0000;">[2013-05-30 03:41:32-adb] Unexpected exception ' cannot run program "/home/uv/ide/adt/sdk/platform-tools/adb": error=2, No such file or directory ' while attempting to get ADB version from '/HOME/UV/IDE/ADT/SDK/PLATFORM-TOOLS/ADB ' </span></span><span style="color: #ff0000;"><span style="color: #ff0000;">[2013-05-30 03:41:32-adb] Unexpected exception ' cannot run program "/home/uv/ide/adt/sdk/platform-tools/adb": error=2, No such file or directory ' while attempting to get ADB version from '/HOME/UV/IDE/ADT/SDK/PLATFORM-TOOLS/ADB ' </span></span><br><br>Problem:<br>Failed to get the ADB version:cannot Run program "/opt/android-sdk/platform-tools/adb": error=2<br>Reason:<br>64bit system, Android SDK only 32bit program, need to install ia32-libs, in order to Use.<br>Workaround:<span style="color: #008080;"><span style="color: #008080;"><br></span></span><pre><pre><span style="color: #0000ff;">sudo</span> <span style="color: #0000ff;">Install</span> <span style="color: #0000ff;">gcc</span>-<span style="color: #800080;">4.6</span>-base:i386 libstdc++<span style="color: #800080;">5</span>: i386 libstdc++<span style="color: #800080;">6</span><span style="color: #000000;">: i386</span><span style="color: #0000ff;">sudo</span> <span style="color: #0000ff;"> Install</span> libqt4-<span style="color: #000000;">OpenGL</span><span style="color: #0000ff;">sudo</span><span style="color: #0000ff;">install</span> libglu1-<span style="color: #000000;">Mesa</span><span style="color: #0000ff;">sudo</span> Apt-get ia32-libs-<span style="color: #000000;">multiarch</span><span style="color: #0000ff;">sudo</span><span style="color: #0000ff;">install</span> ia32-libs</pre></pre><p><p></p></p><p><p>Fix the "sdk/platform-tools/adb:error=2, No such file or directory" approach to Android studio on Ubuntu</p></p></span>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.