Running on Android

Disclaimer: This solution page includes resources maintained by their authors outside the WireMock organization on GitHub. The info is provided as is without guarantees unless explicitly specified. Referenced projects and guidelines might be incompatible with the recent WireMock 3.x releases or the recent versions of the target technology or framework.

Please use with caution, and submit GitHub issues or pull requests to this page and referenced repositories if something is missing, broken or needs update.

Guide by Sam Edwards #

As documented by Sam Edwards in 2016, with some effort it is now possible to run WireMock 2.x on Android. Please see this blog post for instructions. This guide is likely no longer applicable to the recent versions.

References:

Useful pages #

  • WireMock and Kotlin - Android ecosystem embraces Kotlin as a development language, and there are some additional tooling available
  • WireMock on Java and JVM - Some of JVM generic solutions are applicable to Android development too