Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot build android after migration from capacitor-fcm@2.0.0 #43

Closed
josh-m-sharpe opened this issue Jun 28, 2020 · 3 comments
Closed

Comments

@josh-m-sharpe
Copy link
Contributor

Android production builds are failing with the following now that we've migrated to this version of the plugin.

* What went wrong:
Could not determine the dependencies of task ':app:collectReleaseDependencies'.
> Could not resolve all task dependencies for configuration ':app:releaseRuntimeClasspath'.
   > Could not resolve project :capacitor-community-fcm.
     Required by:
         project :app
      > Unable to find a matching configuration of project :capacitor-community-fcm:
          - None of the consumable configurations have attributes.
@josh-m-sharpe
Copy link
Contributor Author

josh-m-sharpe commented Jun 28, 2020

To clarify, we upgraded to @capacitor-community/fcm@1.0.4

@arraymonkey
Copy link

I had the same problem, try editing the capacitor.settings.gradle and add 'capacitor-fcm' to the src.
from:
include ':capacitor-community-fcm'
project(':capacitor-community-fcm').projectDir = new File('../node_modules/@capacitor-community/fcm/android')

to:

include ':capacitor-community-fcm'
project(':capacitor-community-fcm').projectDir = new File('../node_modules/@capacitor-community/fcm/android/capacitor-fcm')

@stewones
Copy link
Member

stewones commented Jun 29, 2020

fixed in 1.0.6
please check out the android breaking change on changelog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants