How to install Hybrid Application Toolkit (HAT) on Windows (part 3 of 3)
Introduction to part 3
This is the final part of this blog.
The entire blog has been split in 3 parts:
Link | Content |
---|---|
Part1 | Install JDK, Android SDK and Apache ANT |
Part2 | Install NodeJS, Cordova, Kapsel, Git, Plugman and configure environment variables |
Part3 | Install HAT and test it |
All the prerequisites should have been successfully installed at this point if you have followed the previous two parts.
In this final part we are going to see the following things:
- Download HAT
- Setup HAT
- Run HAT and test its connectivity with SAP Web IDE
- Deploy your first Kapsel app to local Hybrid App Toolkit
Download HAT
Hybrid Application Toolkit can be downloaded for free from the SAP Store at this link.
As you already did for Kapsel, you just need to register, wait for the download links to be sent by email and download the product.
1) Once downloaded the package you should have a file named SAP_HAT_local. Right click on it and Extract All
2) Extract the file directly in the root of your C drive. A subfolder will be automatically created for you.
3) If you want you can rename this folder to something else, like for example to “hat”
Setup HAT
It’s time now to start your Hybrid Application Toolkit installation.
1) Open your HAT folder and double click on the setup.cmd file. It’s the one with Type=Windows Command Script
2) The installation process is launched. The setup script looks for another components, which we have not yet installed, but that the script automatically installs by itself. This component is “bower“. It’s a sort of tool which allows the script to easily install other missing libraries
3) It might happen that you are behind a proxy in your company and you have forgot to configure it for any of Npm, Git and Plugman tools. No worries! You can specify your proxy settings here and the HAT setup will manage all the needed configurations for you. The proxy must be entered in the form <http|https>://<host>:<port> (i.e. http://proxy:8080). This is what I’m doing right now.
If you are not behind a firewall, this step, of course, will not be required. If you want to manually configure Bower’s proxy you can follow the procedure shown in the Appendix to this part.
4) After all the required packages have been all successfully installed by bower, the main page of HAT setup is opened. HAT setup is web based, so it’s all managed by some web pages on a temporary web server automatically created by Node.js. This is how the main page looks like: it also reminds you to check if you have correctly matched all the basic prerequisites. Since we are good so far, we just need to click on the Check All button and all the other prerequisites will be checked by the script, which will also take care of installing all other missing things
5) Since we have already installed some components and configured all the environment variables, the first page of checks should go forward very smooth
6) Again you might get an error like this complaining that you are probably behind a proxy and you need to configure it. This time is for Gradle: you have here the chance to configure it during the installation. Just click on the first text box
7) A popup window appears and here you need to enter your proxy settings in the same format you did previously. Then click on Set
8) The values are automatically set in the system
9) Go to the top left corner of the page and click again on the Check All button
10) The setup will restart, but this time you should pass that Gradle configuration test without any problem. When all the tests on the first page have been successfully completed a popup appears to inform you that you are going to be automatically redirected in a few seconds to the next page. If you are in hurry or tired to wait you can simply click on Next Step
11) In this second page, at step 3, you are requested to provide the link to your SAP Web IDE instance (i.e. https://webide-<your_account>.dispatcher.hanatrial.ondemand.com/). You can enter of course more than one, but for this H2G we are fine with just one single link. In particular, here I’m using my SAP Web IDE from the HANA Trial Landscape. Once you have copied the link in the text box, simply click on Save
12) Here you can specify the path to the custom Cordova plugins folder. At moment we don’t want to use any custom plugins so you can press Skip to skip this step
13) In the next step you are requested to provide a password for the local keystore, which is going to be created on your machine in order to host all the passwords required for HAT. Just enter twice the password you have chosen and click on Generate
14) Click on Yes, if you get the User Access Control popup
15) You are redirected now to page 3. At step 2 you need to provide some information regarding the Companion app. Fields are already pre-filled for you, so you can leave the proposed values and click on Save. The only thing that you have to specify are the custom Cordova plugins that you want to include in the companion app if any. We don’t have any of them in this guide.
16) The Companion app is getting built. You need to wait a little bit depending on your hardware’s power
17) When this process ends you are invited to close the page because setup completed successfully!
Run HAT and test its connectivity with SAP Web IDE
1) Open your HAT folder and double click on the run.cmd file
2) Enter your keystore password (the one you have previously defined)
3) HAT starts to listen on port 9010.
4) This port can be changed, of course, but you will need to edit the config.json file in the HAT folder and then put the same port number in SAP Web IDE under Tools –> Preferences –> Hybrid Application Toolkit. In this screen you can also test HAT connectivity by clicking on the Test Connection button.You should get the message that the connection is available
NOTE: If you are using Firefox it might happen that the connectivity is not working at the first attempt: this because of the https protocol on localhost. So you might get the following error:
What you have to do is just to add the https://localost:9010 site to your browser exceptions by following the steps listed in the APPENDIX to this part under the chapter Fix HAT connectivity issue with Firefox.
Deploy your first Kapsel app to local Hybrid App Toolkit
You are ready now to deploy your first Kapsel application to your local Hybrid App Toolkit
1) Open SAP Web IDE and create a new Kapsel app (if you don’t have one yet) based on one of the Kapsel templates
2) Right click on the name of the project and choose Project Settings
3) Configure project settings according to your needs. In particular since you are on a Windows platform you can only specify Android as deployment platform. When you have finished click on Save
4) Right click on the name of the project and choose Deploy –> Deploy to local Hybrid App Toolkit
3) The application is downloaded from the Cloud and “mobilised” by HAT. You can follow the process in the background by opening the SAP Web IDE console window through the menu View –> Console
4) When the process finishes, you get a completion message; click on OK to close it
5) If you go on your file system, you should have a subfolder named SAPHybrid under your user folder. This subfolder contains another subfolder for each project you have deployed to your local HAT. In this case I have just one project
6) You can now run the deployed application on your device/emulator.
Congratulations! You have successfully installed and tested your Hybrid Application Toolkit!
APPENDIX
How to configure proxy for Bower
1) Create a new file named “.bowerrc” under the path C:\Users\<your_user>
2) Add to this file the following lines containing your proxy information
{
"proxy":"http://proxy:8080",
"https-proxy":"http://proxy:8080"
}
Fix HAT connectivity issue with Firefox
1) Open another page on your browser and enter the URL address https://localhost:9010
2) Click on I Understand the Risks –> Add Exception
3) Click on Confirm Security Exception
4) You get this message. Don’t ask me why it mentions “Chrome” even though you are on Firefox
5) Retest your connection now, it should be fine
Hello,
I followed all steps as mentioned in part,2 . But when I run HAT check I get error in 3. Android SDK
ERROR:
Android SDK is not installed!
The Android SDK is available at http://developer.android.com/sdk/index.html#Other.
After installation completes, include the Android SDK's tools and platform-tools directories in your PATH environment variable. If the SDK is still not detected in the PATH variable, restart the computer and try again..
I have installed Android SDK and ran all steps as mentioned in part 1 .
can you please help what else could be the reason for Hat not to recognize Android SDK.
Regards
Arun
Arun,
you need also to properly configure system variables and add the paths to Android tools and platform tools to the system path variable as explained in the second part of this guide.
Regards,
Simmaco
Hi Simmaco,
i did follow the part2 . have updated the env. variable.
i checked again everything is as documented in part 2.
what else could be the issue ?
Regards
Arun
Arun,
what do you get if you open a terminal window and you run the command "android"?
Could you please attach here a screen shot reporting the package you have installed in the Android SDK manager?
Regards,
Simmaco
Thanks Sammaco , I adjusted my env Variable with my windows user and it worked fine.
Hi Simmanco,
there might also be an additional proxy setting necessary for gradle. The settings described in https://scn.sap.com/thread/3796540 help me to solve some errors I got in Step 5 of the installation check.
Maybe you could also add this information to the blog.
Christian
I started with an empty Windows 8.1 32 bit VM. All went good except for npm problems related to node.js 10.3. I eventually found node.js 10.39 and that problem went away.
Later on I got an error during the companion app build. Google play service 7.3.0 cannot be found/installed. I tried to install it with Android SDK Manager. But from there I can not choose a version. Latest Android SDK is required. I installed it and afterwards google play service. Still I cannot build companion app.
That is the error:
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_debugCompile'.
> Could not find com.google.android.gms:play-services-gcm:7.3.0.
Searched in the following locations:
https://repo1.maven.org/maven2/com/google/android/gms/play-services-gcm/7.3.0/play-services-gcm-7.3.0.pom
https://repo1.maven.org/maven2/com/google/android/gms/play-services-gcm/7.3.0/play-services-gcm-7.3.0.jar
file:/C:/Program Files/Android/android-sdk/extras/android/m2repository/com/google/android/gms/play-services-gcm/7.3.0/play-services-gcm-7.3.0.pom
file:/C:/Program Files/Android/android-sdk/extras/android/m2repository/com/google/android/gms/play-services-gcm/7.3.0/play-services-gcm-7.3.0.jar
Required by:
:android:unspecified
Hi Rene,
I faced the same problem. The trick is to install the Google Play services and the Google Repository using the Android SDK manager. After this, the setup completed without an error.
Christian
Sorry to all for my late answer, I've upgraded the guide to the latest HAT version 1.8.2.
Regards,
Simmaco
What version of the SMP SDK are you downloading? I've tried 3.10.1 and 3.9.6 so far and both times, when I run the setup.cmd script to start up HAT and then run the "Check all" I get the following error:-
Solved this myself - it is now working with 3.9.6, I just needed to reinstall the Kapsel SDK with npm install -g D:\KapselSDK\cli which I'd forgot to redo earlier.
Hello,
I followed the steps and installed all the prerequisites.
Cordova: 5.1.1
HAT: 1.9.3
npm: 1.4.28
git: 2.6.1.windows 1
SDK: SP10
now when i execute setup.cmd, it checks for the pre requisites, install bower, all ok but after that it closes.
When i tried to execute again it just checks the pre requisites, display bower version 1.6.3 and closes , nothing happens.
I verified with the admin for proxy but we are not using that.
I can't understand, what i am doing wrong?
Hi Niketa,
are you able to catch any error when the installation closes? Could you please zip the "logs" folder under your "hat" installation and send it to me? Maybe you can put it somewhere (Dropbox) and I can download it from there.
Regards,
Simmaco
Hi Simmaco,
This is the link for logs folder : https://www.dropbox.com/s/bw4wlwcmq0xfh9w/logs.zip?dl=0
No error is shown. I have checked my firewall settings for access to chrome and its provided.
I've written my email address as a comment to the Dropbox storage. Can you contact me directly by email?
Regards,
Simmaco
Hi Simmaco,
Surely no issues.
Hi Niketa
I am facing the same issue that you were facing. Did you find the relevant solution?
Thanks and Regards
Parth
Please create a new Discussion marked as a Question. Comments to a Blog (or Document) is not the right vehicle for asking questions as the results are not easily searchable. Once your issue is solved, a Discussion with the solution (and marked with Correct Answer) makes the results visible to others experiencing a similar problem. If a blog or document is related, put in a link.
NOTE: Getting the link is easy enough for both the author and Blog. Simply MouseOver the item, Right Click, and select Copy Shortcut. Paste it into your Discussion. You can also click on the url after pasting. Click on the A to expand the options and select T (on the right) to Auto-Title the url.
Thanks, Mike (Moderator)
SAP Technology RIG
Hi,
Thank you very much for your valuable guide.
I'm almost done. But I stuck up at Level 3 "Build Hybrid Companion App" -> "Build the companion app" step.
Please check the below screenshot and help me out.
Chandu Va
Can you post your query in a new thread? Provide more info like HAT version, cordova, nodejs, android sdk + tools etc
Regards,
JK
Hi Simmaco,
I followed this installation guide in my laptop(Windows7). I am getting below attached error in the 5th step. Can you help?
Hi Simmaco,
I followed your blog, but stopped here. It has been keeping checking Java SDK for more than one hour . Could you give me some advices?
Hi, could you please check if in the command window that opens in the background you have any particular error or warning?
Regards,
Simmaco
Hi, Simmaco,
Is the information helpful?
Hi, it seems not really helpful. Anyway could you please check if in the Chrome inspector console window there is any error? If you don't know how to do it you can contact me privately and I can help you.
Regards,
Simmaco
Hi Simmaco,
Chrome console
I tried to debug, I found something wierd.
It never stop at line 496 or line 514, I found the caution in the below picture
Regards and thanks a lot
The problem with "favicon" is not really a big issue. Could you please contact me privately (send me a private email) so that I can schedule with you a session in order to get a closer look to the problem ?
Regards,
Simmaco
Hi Simmaco,
I reinstalled the chrome, it is OK now.
Thank you a lot.
Hi Simmaco,
i am getting this error while importing Certificate, i don't know how to import server certificate .please kindly guide me .
Hi Prakash,
it seems that you haven't the propers right on your machine. I see the ACCESS_DENIED error. Could you please also try with another more powerful account, just to see if you have the same error?
Regards,
Simmaco
Hi,
I am getting error in the last step ( Building of Companion App ).
Error Screenshot is attached.
It seems it is unable to reach to some files because of peer authentication failed. (highlighted error). Have checked , there is no proxy issue.
Regards,
Navin
Hi Navin,
could you please perform the following steps and let me know the result?
1) go inside the folder “C:\SAP\SAP_HAT\WebIdeCompanion\companionapp”
2) Delete completely the subfolder “CompanionApp”
3) Open the Windows Command Prompt and navigate to the folder “C:\SAP\SAP_HAT\WebIdeCompanion\companionapp”
4) Here run the command “node create_companion_app.js”
Let me know if you get errors even when building this companion app manually
You can also send me a direct message.
Regards,
Simmaco
Hi Simmaco,
I am getting error executing “node create_companion_app.js” command. Error is posted.
Regards, Navin
It's strange, it seems that the file "create_companion_app.js" is not present in this folder. Could you please verify?
I suggest you to write me through direct messages in order to not flood this post.
Regards,
Simmaco
Hi Simmaco,
the HAT worked very fine on my computer. Overnight, I got the error code 1. I started the setup again and got the same problem as Navin. After that, I tried your 4 steps. Then i got this error:
It's exactly the same error as you find during the setting up process. It's not an isolated problem, since a work colleague has encountered the very same problem. Last week there was no issue with the HAT, but now it isn't working anymore, even though there were no changes since then.
We use the SAP HAT version 1.22.2
cordova 6.1.1
kapsel version 3.1.1
node 5.4.1
npm 3.3.12
Could you please help us figure out what is happening?
Best Regards,
Kevin
Hi,
Just Following your Blog and installed HAT but encountered the same Problem even tried your proposed solution by using cmd prompt ,
Hi,
I am using this blog and having same Problem.Can you please post the solution.
Hi,
I don't have proxy installed in our corporate network, so what should be maintained in the gradle.properties files ?
Thanks,
Rumeshbabu S
You can simply switch the proxy off by opening a Terminal window, going in your HAT installation directory and running the command "proxy off": this will completely disable the proxy for all the HAT components, Gradle included.
Regards,
Simmaco
Hi,
Thanks,
Still getting the same proxy issue after running that command "proxy off"
,
Regards,
Rumeshbabu S
This is strange! Try to manually delete the C:\Users\rsomaska\.gradle\gradle.properties file and see if the error occurs again.
Regards,
Simmaco
No luck after deleting that file also. run the "proxy off" cmd under the installed HAT directory.
Is there any other way to install the same ?
Thanks,
Rumeshbabu S
Hi Rumeshbabu,
could you please contact me privately so that we do not flood this blog post?
In the meantime I have another test for you.
The above commands simply create a very basic cordova app for you, just an “HelloWorld” app.
Regards,
Simmaco
Hi,
Sorry not able to send you direct message,
Got the following after executing the command, cordova build
C:\Users\rsomaska\AppData\Local\Temp\hello>cordova build
Running command: cmd "/s /c "C:\Users\rsomaska\AppData\Local\Temp\hello\platform
s\android\cordova\build.bat""
ANDROID_HOME=D:\Android_SDK
JAVA_HOME=C:\Program Files\Java\jdk1.7.0_79
Running: C:\Users\rsomaska\AppData\Local\Temp\hello\platforms\android\gradlew cd
vBuildDebug -b C:\Users\rsomaska\AppData\Local\Temp\hello\platforms\android\buil
d.gradle -Dorg.gradle.daemon=true
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not resolve com.android.tools.build:gradle:1.0.0+.
Required by:
:android:unspecified
> Failed to list versions for com.android.tools.build:gradle.
> Unable to load Maven meta-data from https://repo1.maven.org/maven2/co
m/android/tools/build/gradle/maven-metadata.xml.
> Could not GET 'https://repo1.maven.org/maven2/com/android/tools/bu
ild/gradle/maven-metadata.xml'.
> peer not authenticated
Thanks,
Rumeshbabu S
Hi SIMMACO ,
I am getting error
Cordova project creation is complete.
The android for Cordova is added.
Cordova build platform: android done.
ERROR:
Cordova search plugin failure: you must configure the HTTP(S) proxy correctly. Please try Click .
If it does not work, you can:
1. Plugman
plugman config set proxy http://proxy.company.com:8080
plugman config set https-proxy http://proxy.company.com:8080
2. or set the environment variables, e.g.
Set the environment variable: e.g. http://proxy.company.com:8080
Set the environment variable: e.g. http://proxy.company.com:8080
i set all given steps but Still getting the same error.
Thanks,
Shiv
Hi Shiv,
1) which version of HAT are you going to install?
2) are you behind a proxy?
3) did you try by running the command "proxy on" in the HAT installation folder?
Regards,
Simmaco
Hi
thanks for reply Sinnaco..
1) which version of HAT are you going to install?
Ans: SAP_HAT_local-1.13.4
2) are you behind a proxy?
Ans:No,but i set proxy http://proxy:8080 (for all)
3) did you try by running the command "proxy on" in the HAT installation folder?
Ans: yes.i tried both way. still same error.
Shiv,
if you are NOT behind a proxy, why are you trying to set a proxy for all? You don't need to do it and in your case the command that you have to run is "proxy off".
Regards,
Simmaco
Hi,
First of all thanks for this blog, really helped!
I have a problem here, I am not able to run my projects on my android device, every time it runs, it shows a blank screen.
It shows build successful and an app is created on my device, but only a blank screen appears. What do you think the problem might be?
Thanks,
Sanjo Thomas
Hi Simmaco,
When I am running my app getting the below error.
Application Error - The connection to the server was unsuccessful. (file:///android_asset/www/index.html).
I am using HAT 1.16.1 in local, in WEBIDE it is having HAY 1.17.2
Could you please help me to get out of this error
Thanks
Abhinanda
Hi Abhinanda,
could you please download and install the latest version of local HAT from the store which is 1.17.2 and check if the error persists?
Regards,
Simmaco
Hi Simmaco,
I have installed the HAT 1.17.2, but still the same error.
Thanks
Abhinanda
1) Where exactly are you having this error?
2) Are you testing it on the emulator or on a real device? Is this connected to the network?
3) Which steps did you take for creating the application? Could you please send it to me so that I can give a closer look? You can contact me also in private with a DM.
Regards,
Simmaco
Hi Simmaco,
Thanks for your reply.
1. I have imported the app from the file system in the webide( it is a developed app, and working fine).
2. I have deployed the app into local HAT.
3. Then try to run the app on the emulator, I donot have external device for testing the app.
First time i have done this HAT installation, the app is running one the web, but whenever I am testing it on HAT it is gi
ven error
Thanks
Abhinanda
1) Did you check if the emulator is able to go on internet?
2) You said you imported the app in WebIDE. Maybe this app needs to be adapted and configured to be run on the device. For example if this app is connected to a backend you need to add the Logon Manager Kassel plugin to the app, otherwise you won't be able to connect.
I need the app in order to help you further.
Regards,
Simmaco
Hi Abhinanda ,
I have the same issue , can you please tell me if you have found the solution
Hi,
I have followed your blog to setup the HCPms environment on my Windows(64 bit, Windows 10) machine and installed following software's successfully:
After doing every steps when i am trying to run the HAT, it's giving me following error:
only error i am getting at point no. 5 in the below screenshot.
Please let me know why i am getting this error.
cordova add android platform error!
Regards
Subodh
Hi Subodh,
could you please verify if you are also having errors while doing the steps listed here https://cordova.apache.org/docs/en/latest/guide/cli/ ?
If yes, it means that your problem is more likely related to Cordova setup and not to HAT.
Try to create the sample application and to add the platforms.
Furthermore, the error you receive can help us to understand the nature of the problem.
Another thing: if you are behind a proxy you need to revert back all the settings as if you are without a proxy. Then go into the HAT installation folder and run the command "proxy.cmd on" to automatically set the proxy to ON. This will do everything for you.
Regards,
Simmaco
Hi Simmaco,
I have followed the steps which you have provided but while adding the platform i am getting the error: failed to fetch platform android@~5.1.0
Regards
Subodh
Subodh,
this means that your issue is not depending on HAT, but more likely on the proxy configuration so you must try to fix it first.
Could you please confirm that you ran the "proxy.cmd on" command in the HAT installation folder first?
Do you have the ability to test the "cordova platform add" command in a different network, without the proxy, like for example at home?
Regards,
Simmaco
Hi Simmaco,
Thanks for your help so far.
Yes i ran the proxy.cmd first and then i tried to add the platform but no luck.
I tried the same machine from home network also but it gave the same issue.
Regards
Subodh
Subodh,
at this point I think that it's possible that your proxy configuration is a little messed up. You should try to go one by one in the configuration of any of the components of HAT installation and fix there the proxy settings.
Let's start with npm. Could you please
1) run "proxy.cmd off" in the HAT installation folder
2) run "npm config list"
3) show me the result?
Regards,
Simmaco
Hi Simmaco,
Please find the result below:
Regards
Subodh
The only difference I see here with mine is the fact that you are using the "registry" line. Could you please try to comment that line by putting a ";" before it and see what happens?
Is it fine for you to continue our discussion in private? Maybe we can also have a SAP Connect session so that I can give a closer look to your problem. You can drop me a direct message and I can send you my email.
Regards,
Simmaco
i am unable to procedure with this step
i had downloaded and pasted the zip file.,still i get this error.
please help me with this issue..
Could please check if you are behind a proxy or not?
Regards,
Simmaco
i have this error for proxy tunneling ...
I think that your proxy is not properly configured. For me it's not easy to help you remotely. The only thing I can suggest is to go inside the HAT installation folder and run the command "proxy.cmd on" in order to easily switch on the proxy for all the required components.
Let's try and let me know, even in private with a direct message.
Regards,
Simmaco
Hi Simmaco,
I did the same, please find the result in below screenshot. Kindly suggest further steps to make it run.
Regards
Subodh
Hi Subodh, I think you should ping me in private so that we can exchange our contacts and have a remote session together. I don't have any further advise to give you. Normally this it really straightforward, there is some wrong configuration with your machine. Could you confirm that you are administrator of your machine?
Regards,
Simmaco
project name is not listed in drop down list
sir, its running ...
last but not least sap logon (GUI) is not running ...
Hi Simmaco,
I have encountered a problem, do you know, what went wrong here?
Sanjo,
I would need more information regarding this error: where did you get it? In which phase (Installation, execution)? Does this happen for a specific app?
You can write me in private(best way) since you have my contact!
Regards,
Simmaco
Hi,
I am getting the below error after installing the app on the actual device.
err_file_not_found (file:///android_asset/www/webapp/index.html)
Thanks for the great article series. I was able to run it on NodeJS 7 just by skipping the version validation used in the C:\sap-hat\setup\scripts\win\check_env.cmd. Basically I removed all the "go to end_err" condition... 😛
Hello Simmaco,
I followed all your steps. Now I have created a demo application using Northwind.
I have done so far:
- Created a Demo SAP UI 5 Master Detail Kapsel Application
- Used Northwind to get some data
- Deploy -> Hybrid App Toolkit (Local Add-on) -> Prepare Hybrid Project.
The Deploy finished OK, but when I try to run on Local Device -> Android Device, it gives me an error: The run command execute failure reason: No Target found!
Regards,
Oscar
Hello Simmaco,
Thankyou for the detailed blog.
Everything working fine during the installation process expect i am getting during creating of companion app.
Can you please share your details so that i can send you the error, It would be a great help.
Regards,
Ravi
Hi Simmaco,
I have followed your blog to setup the HCPms environment on my Windows(64 bit, Windows 7) machine and installed following software’s successfully:
Everything working fine during the installation process,but getting error in the last step ( Building of Companion App ).
Error Screenshot is attached.

Please let me know why i am getting this error.
Regards
Kapil
Did you ever find a solution to this issue?
Hi Simmaco,
I have followed the blog and able to install all.
Now i am facing the problem while setting the HAT. Below is the error screen shot. Please help me on this.
And i tried below steps :
1) go inside the folder “C:\SAP\SAP_HAT\WebIdeCompanion\companionapp”
2) Delete completely the subfolder “CompanionApp”
3) Open the Windows Command Prompt and navigate to the folder “C:\SAP\SAP_HAT\WebIdeCompanion\companionapp”
4) Here run the command “node create_companion_app.js”
Getting below error:
Regards,
Srilaxmi.
Hi Srilaxmi,
I am also facing the same error. Please give me the solution if you found the answer.
Looking forward to your reply.
Regards
Charan
Hi Simmaco,
Please help me on this. I haven't get any clue to resolve the issue.
Hello Simmaco,
I have followed both the previous parts of this blog series (1 & 2) and made the below installations on my machine in the same sequence with no issues so far.
JDK8, Android SDK, Apache Ant, SAP Kapsel Plugin, set the environment variables JAVA_HOME, ANT_HOME, KAPSEL_HOME, ANDROID_HOME and PATH, GIT Client, Node.js, Kapsel CLI, Apache Cordova 5.2.0 and Plugman.
Now when I run the setup.cmd file from the extracted SAP_HAT folder I can see that initially the Node.js, npm and bower versions are fetched and displayed as shown below:
But then after a while I see the below screen where it says Couldn't resolve proxy 'null':
I am connected to my home wireless network with no proxy server so I haven't set any proxy in npm. Can you please let me know what I need to set in npm to be able to proceed successfully with the HAT installation?
Regards, Saurabh
HI saurabh vakil,
I am Also getting same error. i am set npm config proxy set null.This is my screenshot.Please help me to fix the probleam
Hi
Hi Simmaco,
I am followed part1 and part2 and set environment variable.Please find image.
When ever i am run setup.i am getting these error(I am set proxy null).Please find image.
Please help me to fix error.
Hi Reddy,
Facing the Same issue. did you get any solution?(I am using my home network)
Thanks,
Satya
Hello,
I have been stuck on section 3 step 3 for days, I keep getting does not exist errors on several packages even though they are included in the project files.
Folder showing the "missing" plugins
Any help would be greatly appreciated!
same issue
Hi Luke,
I am facing the same issue.
Did you find any workaround for this issue?
Thanks in advance.
Hi Luke,
Same issue for me. Got any solution?
Hi Simmacco
I am getting the following error while generating the certificate in step 2
Kindly help me in this regard.
Hi Simmaco Ferriero,
At the final step Build the companion app : I got below error kindly help me.
Thanks
This blog post is outdated. We have reached end-of-maintenance for HAT local add-on. You can no longer download this tool from the SAP Store. We no longer support this tool. You are strongly advised to make use of our Cloud Build Service provided through Mobile Services. More information can be found here: https://blogs.sap.com/2018/08/16/announcing-end-of-maintenance-for-hybrid-app-toolkit-local-add-on-local-builds-only
Ludo Noens
Product Owner – Hybrid Application Toolkit