I installed Android Studio 2.3.1 on Linux 32bit machine (Kali Linux). It is successfully installed. When I tried to create an application, the following errors appeared:
When I start to run an application on the external device, it will generate the following error
Error message: Unable to detect adb version, adb output: /home/elsi/Android/Sdk/platform-tools/adb: 1: /home/elsi/Android/Sdk/platform-tools/adb: Syntax error: ")" unexpected
I tried the following solution on the terminal
elsi@kali-Rolling:~/Android/Sdk/platform-tools$ adb kill-server
elsi@kali-Rolling:~/Android/Sdk/platform-tools$ adb start-server
- daemon not running. starting it now on port 5037 *
- daemon started successfully *
elsi@kali-Rolling:~/Android/Sdk/platform-tools$ adb devices
List of devices attached
793532E2034CF208 device
These are the current versions of Android SDK and Gradle version installed:
compileSdk version 25, buildTools version 25.0.3.
Still, the problem is not fixed. When I created a virtual device (emulator) to run the program, it also generates an error saying HAXM requires a genuine Intel processor. I tried to search for some solutions on the Internet, but Kali Linux does not support this processor, therefore, I installed KVM, and other required packages are not supported as well.
Please, I need a serious solution for the above problems.