I recently encountered an incomprehensible problem when installing the Android Development Environment on Ubuntu64bit. After installing the AndroidSDK, run the adb command in terminal (path already set ), the path cannot be found, as follows: bash:/home/kangqi/android/android-sdk-linux_x86/platform-tools/adb: Nosuchfileordirectory
I recently encountered an incomprehensible problem when installing the Android Development Environment on Ubuntu 64bit. After installing the Android SDK, run the adb command in terminal (path already set ), the path cannot be found, as shown below:
Bash:/home/kangqi/android/android-sdk-linux_x86/platform-tools/adb: No such file or directory
At last, I saw a foreign guy who had encountered the same problem on google and solved the problem perfectly. I would like to repeat the Chinese translation here. Source: Jayway Team Blog
The problem is that there is no 32-bit lib for Android in 64-bit ubuntu. You can download the getlibs tool to obtain the 32-bit library. After installation, run the following command in the platforms/android-1.6/tools directory:
Getlibs aapt
Then, the 32-bit package program of the corresponding library will be installed, and the final result will be OK.
Hope to help you
In addition:
Install a 32-bit Library
Because it is a 64-bit ubuntu and does not install a 32-bit library, the android simulator cannot be created,
Enter the sudo apt-get install ia32-libs in the terminal, which may fail to be installed, update it with sudo apt-get update, and try again several times.