Install HWC app on emulator

1 min read

To test a hybrid app for SUP 2.x or SMP 2.x on the emulator, you need to have the HWC app installed. The app is part of the SDK and delivered in source code and as a installable APK file.

Creating a new emulator is easy, but how to install the app? Using Eclipse to create Android apps means that you never get in touch with the adb command line tool. The Android IDE takes care of deploying the app. You can now import the source code of the container and deploy it or take the easier alternative: install the delivered apk. Here is a step by step guide on how to install a APK using adb command line tool.

  1. After the emulator is up and running, check if the emulator is working: adb devices

  2. Open command prompt
  3. Change to the dir where the APK is located: cd <path to SDK>\HybridApp\Containers\Android
  4. Issue: adb install HybridWebContainer.apk

  5. Open the application menu in Android and HWC app shows up

  6. Done

Google Android documentation on adb install.

Let the world know

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.