Android adb not found

前端 未结 20 1769
半阙折子戏
半阙折子戏 2020-11-28 01:18

When I run my android app from eclipse, I get this error.

Unexpected exception \'Cannot run program \"/home/antz/Development/adt-bundle-linux/sdk/platform-t         


        
20条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-28 01:58

    You have to install the 32 bit glibc:

    in Fedore 64 bit machine

    # yum install glibc.i686
    

    This removes the misleading 'no such file or directory' message when trying to execute a 32 bit binary. With that the 64 bit Fedora system is capable of executing 64 bit binaries.

    This also removes the misleading 'not a dynamic executable' message of ldd when calling ldd on a 32 bit dynamic executable.

    Now you have to install missing 32 bit libraries the binaries under adt-bundle-linux/sdk/platform-tools are linked against:

    # yum install zlib.i686 libstdc++.i686 ncurses-libs.i686 libgcc.i686
    

    Thats it.

提交回复
热议问题