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

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.


  • Get RSS Feed

1 Answer

  • Oct 12, 2018 at 05:31 AM

    Set Environment variables :


    + 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