capacitor-community / fcm

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

Android Build failed. unexpected char in _modules/capacitor-fcm/android\capacitor #8

Closed xahanix closed 5 years ago

xahanix commented 5 years ago

Hey. I have a problem emulating my app with Android Studio. The Project fails in the startup I've done all the steps from the ReadMe. It always shows this error: Unbenannt

Versions I use: "@capacitor/android": "^1.1.0", "@capacitor/cli": "1.0.0-beta.22", "@capacitor/core": "1.0.0-beta.22", "@capacitor/ios": "^1.0.0", "capacitor-fcm": "0.0.6",

I've also done the extra step but it does'n even recognize io.stewan.capacitor.fcm.FCMPlugin Unbenannt

Do you have any idea what the problem could be?

xahanix commented 5 years ago

Fixed the problem. Just had to change the \ in capacitor.settings.gradle to '/'. But every time I run "npx cap sync android". I have to change it again. Is someone else facing this problem?

stewones commented 5 years ago

hey @xahanix

Thanks for the info, do you mind to file an issue here? https://github.com/ionic-team/capacitor/issues

or even post in slack channel, I'm sure someone from the core team should address that