Android adb not found

前端 未结 20 1753
半阙折子戏
半阙折子戏 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:50

    I am running Ubuntu 12.04 LTS and this command is the only thing that worked for me:

    sudo apt-get install lib32z1 lib32z1-dev
    

    Once I ran that from a command line, I was able to get the R.java file to generate (the tell-tale sign that something in your Android SDK tools installation is not quite right) by doing a Project > Clean in Eclipse.

提交回复
热议问题