capacitor-community / fcm

Enable Firebase Cloud Messaging for Capacitor apps
https://capacitor.ionicframework.com/docs/
MIT License
237 stars 83 forks source link

I cannot build an APK file in the example app #110

Open mbork opened 2 years ago

mbork commented 2 years ago

I cloned the repo (I'm at 72ab436) and tried to build an APK file. After opening Android Studio I ran Build | Make Project and got this:

Could not determine the dependencies of task ':compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':debugCompileClasspath'.
   > Could not resolve project :capacitor-android.
     Required by:
         project :
      > Unable to find a matching configuration of project :capacitor-android:
          - None of the consumable configurations have attributes.

* 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.

Clicking on those --info and other options gives the same.

What can I do to build an APK file of this example app? What am I doing wrong?