[HealthPlugin] Android failed to generate after adding OneSignal Plugin
Forge component by Sofia Mourato
Application Type


I was trying the HealthPlugin Demo app, At first I was able to successfully install my app on both iOS and Android. However, upon adding OneSignal Plugin, regenerating the App always fails and receiving the error below:

Error compiling Cordova plugin: main/java/org/apache/cordova/health/HealthPlugin.java:574: error: cannot find symbol.

I can only encounter this error when regenerating my Android App, but it is perfectly working on my iOS App. I was trying to add a Push Notification for my Health Mobile App, do you have any suggestion on how will I resolve this issue? Or am I doing something wrong on my configuration?


Hi NikkiM.

I tried to replicate your issue and I generated the android app successfully.

Have you tried again?

 Please if you continue facing the issue share your oml in order we can check with more detail.


Gonçalo Almeida

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.