ionic-team / create-capacitor-plugin

Create a new Capacitor plugin ⚡️

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

InstrumentationTest not working on android

chrste90 opened this issue · comments

The default instrumentation test is not working after running npm init @capacitor/plugin.

Steps to reproduce:

  • Run npm init @capacitor/plugin
  • Start Android Studio inside the plugin/android folder
  • Try to run ExampleInstrumentedTest

Output:

Project 'android' not found in root project 'android'.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.