Skip to Content
avatar image
Former Member

Hybrid Application Toolkit (HAT) setup build error

Hi All.

I am setting up SAP HAT locally on my windows system.

I am getting an error in step 3 of section 3 i.e “Build the companion app”.

I followed blog to set up

https://blogs.sap.com/2015/07/13/how-to-install-hybrid-application-toolkit-hat-on-windows-part-1-of-3/

Software versions are Java 8, HAT 1.28.4, node 5.4.1. cordova 6.5

Help me to resolve the issue in below images. I configured all the environmental variables as well.

in npm console

error-1.jpg (61.0 kB)
error-2.jpg (79.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Perhaps not install the Android SDK in a user's home directory, but in it's own directory, example ANDROID_HOME=d:\android\sdk\. I could see read/write issues when installed in user's home directory.

    -kevin

  • Get RSS Feed

1 Answer

  • 3 days ago

    Set Environment variables :

    + ANDROID_HOME: SDK PATH

    + PATH:

    Append path from Android Sdk folder for - platform tools, tools and gradle folder

    For example:

    %ANDROID_HOME%;D:\Android\Sdk\platform-tools;D:\Android\Sdk\tools;D:\2017\Android\Android Studio\gradle\gradle-4.6\bin

    Add comment
    10|10000 characters needed characters exceeded