Android ADB can not start on ubuntu 14.04 LTS or C

2020-07-18 05:42发布

Android ADB can not start on ubuntu 14.04 LTS. It shows following error:

Unable to detect adb version, adb output /home/k13/Android/sdk/platform-tools/adb: 1: /home/k13/Android/sdk/platform-tools/adb: Syntax error: ")" unexpected

Android AVD cannot Launch given following error:

Cannot launch AVD in emulator. Output: Android/sdk/tools/emulator: 1: Android/sdk/tools/emulator: Syntax error: Unterminated quoted string

Android ADB can not start on ubuntu 14.04 LTS.

enter image description here

Cannot launch AVD in emulator

enter image description here

2条回答
时光不老,我们不散
2楼-- · 2020-07-18 06:17

This happens with the Android Studio new update if your system is 32-bit. You can downgrade this update, Follow these steps:

1.Download this arch. : https://dl-ssl.google.com/android/repository/platform-tools_r23.0.1-linux.zip 2.Go to your Android SDK folder

3.Remove old /platform-tools

4.Insert downloaded from link above

Hope this help you.

查看更多
我只想做你的唯一
3楼-- · 2020-07-18 06:22

export ANDROID_EMULATOR_FORCE_32BIT=true

Alternative way to resolve this error

install Genymotion in your Ubuntu

查看更多
登录 后发表回答