cancel
Showing results for 
Search instead for 
Did you mean: 

Hybrid Application Toolkit installation - The "android" command is no longer available

former_member348495
Discoverer
0 Kudos

I've followed the guides and blogs from SAP regarding installation of the HAT and installing all the pre-requisites.

However, it looks like the Android SDK has removed the 'android' command that the HAT installation checks for (in favour of using the sdkmanager and Android Studio).

Unfortunately, as the "android" command doesn't work, the pre-requisite checks fail and therefore I cannot continue to install the HAT.

I've searched everywhere (both on and off the SAP website) and it seems that no one has discussed this issue before or found a resolution to this.

The full error message is from Step 3 of the Pre-requisite checks on the SAP Hybrid Application Toolkit installation page is:

The "android" command is no longer available . For manual SDK and AVD management, please use Android Studio. For command-line tools, use tools\bin\sdkmanager.bat and tools\bin\avdmanager.bat

I'm hoping that someone will be able to help me resolve this!

Thanks in advance,

David.

Accepted Solutions (1)

Accepted Solutions (1)

dominik-st
Participant
0 Kudos

Hi David

I had the same problem. I used an old version of the android tools:
- rename or remove the folder "tools" in the android sdk folder
- copy an older version of the tools to the sdk folder (I used this one: https://dl.google.com/android/repository/tools_r25.2.3-windows.zip )

After that I could run the setup, but now I got stuck while generating the cordova project 😕

Edit:
I downgraded the Android SDK Build-tools to 23.0.3 and uninstalled the Android 7.1.1 and Android 7.0 SDK-Platform. After that the installation worked

Best regards
Dominik

former_member348495
Discoverer
0 Kudos

Hi Dominik,

Many thanks for your answer - this was a totally frustrating issue for me!

Thanks for the detailed instructions - these worked perfectly for me and allowed the hybrid development prerequisite checks to complete and the installation to continue.

Kind regards,

David.

Answers (0)