Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Hybrid App Toolkit add-on installation issue

Hi i am trying to setup Hybrid App Toolkit add-on i have installed all the required prerequisites based on the following doc http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50cbb459-b45d-3210-dabe-e56b38d595eb?QuickLink=index&overridelayout=true&60314225743098

I am running on

SAP  SMP SP8 PL3

SMP SDK SP9 PL7

cordova5.1.1

when run the setup.cmd in Hybrid App toolkit , browser is opening to configure, but it is not showing all the option to configure further. It is showing only the  "Exit" option.

Here are the some more screen shots related to installation info

I am trying to setup for local IDE instllation. I was able to download only SAP WEB IDE 1.12  version as trail version. along with that zip which ever i got Hybrid App Toolkit.zip contains the SAP_HAT_local-1.5.5.zip version. But the browser not showing any options to configure.

I was able to setup the cloud WEBIDE  with SAP_HAT_local-1.7.2.zip successfully with out issue. But the above HAT_local1.5.5 is giving the above issue.

Now i downloaded the SAP HAT C:\SAP_HAT_local-1.9.3 from sap store run the setup.cmd able to see all the options in browser. But this one is given in the sap store as for SAP WEB IDE1.15. ( this version is available only as cloud version). This IDE version is not available as local installation. When i use this SAP_HAT_local-1.9.3 able to see all the options in browser to continue the configuration like below.

My question: can i use this SAP_HAT_local-1.9.3 version for SAP WEB IDE 1.12( local installation)?

Please let me know. how to resolve the above issue ?

Also i am getting the following error when i am using SAP_HAT_local-1.9.3, Looks like this is related to connectivity, where  to set the proxy info to continue installation? npm config and GIT config level i have set the proxy settings. but i am getting this error in browser with " Cordova Build Android Project" step.


ERROR:

cordova build android project error!

Running command: cmd "/s /c "C:\Users\userid\AppData\Local\Temp\~cp\hello\platforms\android\cordova\build.bat""

ANDROID_HOME=C:\Android\sdk

JAVA_HOME=C:\Program Files\Java\jdk1.8.0_60

Running: C:\Users\userid\AppData\Local\Temp\~cp\hello\platforms\android\gradlew cdvBuildDebug -b C:\Users\userid\AppData\Local\Temp\~cp\hello\platforms\android\build.gradle -Dorg.gradle.daemon=true

Downloading http://services.gradle.org/distributions/gradle-2.2.1-all.zip

Exception in thread "main" java.lang.RuntimeException: java.net.ConnectException: Connection timed out: connect

  at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:78)

  at org.gradle.wrapper.Install.createDist(Install.java:47)

  at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)

  at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48)

Caused by: java.net.ConnectException: Connection timed out: connect

  at java.net.DualStackPlainSocketImpl.connect0(Native Method)

  at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)

  at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)

  at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)

  at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)

  at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)

  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)

  at java.net.Socket.connect(Socket.java:589)

  at java.net.Socket.connect(Socket.java:538)

  at sun.net.NetworkClient.doConnect(NetworkClient.java:180)

  at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)

  at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)

  at sun.net.www.http.HttpClient.(HttpClient.java:211)

  at sun.net.www.http.HttpClient.New(HttpClient.java:308)

  at sun.net.www.http.HttpClient.New(HttpClient.java:326)

  at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1168)

  at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1104)

  at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:998)

  at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:932)

  at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1512)

  at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)

  at org.gradle.wrapper.Download.downloadInternal(Download.java:59)

  at org.gradle.wrapper.Download.download(Download.java:45)

  at org.gradle.wrapper.Install$1.call(Install.java:60)

  at org.gradle.wrapper.Install$1.call(Install.java:47)

  at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)

  ... 3 more

C:\Users\userid\AppData\Local\Temp\~cp\hello\platforms\android\cordova\node_modules\q\q.js:126

                    throw e;

                          ^

Error code 1 for command: cmd with args: /s /c "C:\Users\user id\AppData\Local\Temp\~cp\hello\platforms\android\gradlew cdvBuildDebug -b C:\Users\userid\AppData\Local\Temp\~cp\hello\platforms\android\build.gradle -Dorg.gradle.daemon=true"

Thanks

Former Member
Not what you were looking for? View more on this topic or Ask a question