cancel
Showing results for 
Search instead for 
Did you mean: 

Run on simulator options disabled for Kapsel Offline application

saurabh_vakil
Active Contributor
0 Kudos

Hi Experts,

I have built a Kapsel offline application using Web IDE and Hybrid Application Toolkit following this document How to Create a Kapsel OfflineApplication Using SAP Web IDE and Hybrid Application Toolkit.

I have completed all prerequisites, created the application project (using template SAPUI5 Master Detail Kapsel Offline template), setup the application ID on HCPMS and configured and deployed the application to the device.

Now when I try to run the app by right-clicking the project -> Run -> Run on Local Device/Simulator as given in section 6 point 9, I see that the options that show up here like Android emulator, iOS Emulator, iOS Device etc. are disabled and I cannot select any of them.

Can anyone let me know what I have to do so that the run on simulator options get enabled?

Regards,

Saurabh

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Hi Saurabh,

Did you solve your problem? Could you please provide some help? I met the same problem.

Thanks and Regards,

Sandy

saurabh_vakil
Active Contributor
0 Kudos

Hello Jamie,

Thanks for your response. I do have the HAT plugin running. Also I have configured Android and iOS under Platforms in the hybrid app configuration as shown in the attached images.

Regards,

Saurabh

jamie_cawley
Advisor
Advisor
0 Kudos

Make sure you are right clicking on your project folder, OfflineApp and not a subfolder.

Regards,

Jamie

SAP - Technology RIG

saurabh_vakil
Active Contributor
0 Kudos

Hello Jamie,

Yes, I am right clicking on the main project folder OfflineApp and not on a subfolder. Also now I have observed a change in the original issue I had posted - now when I right click on the project folder and go to Run -> Run on Local Device/Simulator I can see the options Android Emulator and Android Devices are enabled. But still when I select Android Emulator I can see the error popup shown below.

Also in the console I can see the below message:

(hybrid-toolkit) The emulate command execute failure reason: If the HAT Connector is not available, restart the Connector server and try again.

Also check that the port values are identical in both Web IDE HAT preferences and the Connector config.json file.

If problems persist, check the Connector command window for errors, and review the Web IDE console (switch to Development tab and select View > Console) troubleshooting guidance.

jamie_cawley
Advisor
Advisor
0 Kudos

Did you install and start the HAT connector? Use the "more information" shown in the plugins dialog if you haven't installed it.

Regards,

Jamie

SAP - Technology RIG

jamie_cawley
Advisor
Advisor
0 Kudos

Do you have hat running and did you choose a platform in the hybrid app configuration?

Regards,

Jamie

SAP - Technology RIG