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

cordova build failed #1207

Closed
DanielMutu opened this issue Feb 6, 2017 · 13 comments
Closed

cordova build failed #1207

DanielMutu opened this issue Feb 6, 2017 · 13 comments

Comments

@DanielMutu
Copy link

I have this error:
Any ideas?

:compileDebugJavaWithJavacC:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\ClearReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/ClearReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\ClearReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/ClearReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\ClearReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/ClearReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\ClearReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/ClearReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\ClearReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/ClearReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\ClearReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/ClearReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\ClearReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/ClearReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\ClearReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/ClearReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\ClearReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/ClearReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\ClearReceiver.java:1: error: class, interface, or enum expected
../../../../../../../../../cordova-plugin-local-notifications/src/android/ClearReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\ClickActivity.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/ClickActivity.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\ClickActivity.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/ClickActivity.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\ClickActivity.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/ClickActivity.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\ClickActivity.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/ClickActivity.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\ClickActivity.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/ClickActivity.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\ClickActivity.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/ClickActivity.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\ClickActivity.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/ClickActivity.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\ClickActivity.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/ClickActivity.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\ClickActivity.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/ClickActivity.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\ClickActivity.java:1: error: class, interface, or enum expected
../../../../../../../../../cordova-plugin-local-notifications/src/android/ClickActivity.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\LocalNotification.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/LocalNotification.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\LocalNotification.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/LocalNotification.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\LocalNotification.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/LocalNotification.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\LocalNotification.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/LocalNotification.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\LocalNotification.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/LocalNotification.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\LocalNotification.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/LocalNotification.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\LocalNotification.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/LocalNotification.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\LocalNotification.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/LocalNotification.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\LocalNotification.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/LocalNotification.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\LocalNotification.java:1: error: class, interface, or enum expected
../../../../../../../../../cordova-plugin-local-notifications/src/android/LocalNotification.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\RestoreReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/RestoreReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\RestoreReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/RestoreReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\RestoreReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/RestoreReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\RestoreReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/RestoreReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\RestoreReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/RestoreReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\RestoreReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/RestoreReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\RestoreReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/RestoreReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\RestoreReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/RestoreReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\RestoreReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/RestoreReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\RestoreReceiver.java:1: error: class, interface, or enum expected
../../../../../../../../../cordova-plugin-local-notifications/src/android/RestoreReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\TriggerReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/TriggerReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\TriggerReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/TriggerReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\TriggerReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/TriggerReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\TriggerReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/TriggerReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\TriggerReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/TriggerReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\TriggerReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/TriggerReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\TriggerReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/TriggerReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\TriggerReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/TriggerReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\TriggerReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/TriggerReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\TriggerReceiver.java:1: error: class, interface, or enum expected
../../../../../../../../../cordova-plugin-local-notifications/src/android/TriggerReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractClearReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractClearReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractClearReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractClearReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractClearReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractClearReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractClearReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractClearReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractClearReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractClearReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractClearReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractClearReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractClearReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractClearReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractClearReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractClearReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractClearReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractClearReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractClearReceiver.java:1: error: class, interface, or enum expected
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractClearReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractClickActivity.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractClickActivity.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractClickActivity.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractClickActivity.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractClickActivity.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractClickActivity.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractClickActivity.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractClickActivity.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractClickActivity.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractClickActivity.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractClickActivity.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractClickActivity.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractClickActivity.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractClickActivity.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractClickActivity.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractClickActivity.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractClickActivity.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractClickActivity.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractClickActivity.java:1: error: class, interface, or enum expected
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractClickActivity.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractRestoreReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractRestoreReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractRestoreReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractRestoreReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractRestoreReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractRestoreReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractRestoreReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractRestoreReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractRestoreReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractRestoreReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractRestoreReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractRestoreReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractRestoreReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractRestoreReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractRestoreReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractRestoreReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractRestoreReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractRestoreReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractRestoreReceiver.java:1: error: class, interface, or enum expected
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractRestoreReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractTriggerReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractTriggerReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractTriggerReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractTriggerReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractTriggerReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractTriggerReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractTriggerReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractTriggerReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractTriggerReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractTriggerReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractTriggerReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractTriggerReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractTriggerReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractTriggerReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractTriggerReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractTriggerReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractTriggerReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractTriggerReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AbstractTriggerReceiver.java:1: error: class, interface, or enum expected
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AbstractTriggerReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AssetUtil.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AssetUtil.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AssetUtil.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AssetUtil.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AssetUtil.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AssetUtil.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AssetUtil.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AssetUtil.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AssetUtil.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AssetUtil.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AssetUtil.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AssetUtil.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AssetUtil.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AssetUtil.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AssetUtil.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AssetUtil.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AssetUtil.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AssetUtil.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\notification\AssetUtil.java:1: error: class, interface, or enum expected
../../../../../../../../../cordova-plugin-local-notifications/src/android/notification/AssetUtil.java
^
100 errors
FAILED

FAILURE: Build failed with an exception.

  • What went wrong:

BUILD FAILED
Execution failed for task ':compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Total time: 4.075 secs
Error: Error code 1 for command: cmd with args: /s,/c,"C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\gradlew cdvBuildDebug -b C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\build.gradle -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"

@rwillett
Copy link
Collaborator

rwillett commented Feb 6, 2017

Remove this plugin, remove the android platforms and reinstall.

How did you install the plugin in the first place?

@DanielMutu
Copy link
Author

DanielMutu commented Feb 7, 2017 via email

@rwillett
Copy link
Collaborator

rwillett commented Feb 7, 2017

It looks like you have installed something wrong.

Since we have no idea what you did, how you installed the plugin, what plugin you used, what other plugins you have installed, what you code looks like, what your environment looks like, you didn't fill the template in, you only provided a cut and paste of the error message, no, I have no more ideas.

If you want more help fill the template in, providea lot more information.

Rob

@DanielMutu
Copy link
Author

DanielMutu commented Feb 7, 2017 via email

@rwillett
Copy link
Collaborator

rwillett commented Feb 7, 2017

Please read the comment I put back to you again, all you are doing is dumping information here with no thought about what is actually needed.

The template in #1188 is what you need to fill out. That gives us some idea of what you have done. You have to put some time in here.

As I said before this looks like you have not installed the plugin correctly, we still have zero idea of the commands you used to install the plugin, the environment you are using, have you actually uninstalled the plugin and installed it again. have you installed the platform and reinstalled it, what platform version are you using.

Use the template and spend an hour writing it out and testing things. If your problem is not worth you spending an hour filling it in, its not worth anybody here spending any time helping resolve it.

@DanielMutu
Copy link
Author

DanielMutu commented Feb 9, 2017 via email

@rwillett
Copy link
Collaborator

rwillett commented Feb 9, 2017

This appears to be a different problem to the one you started with. Is it?

If this is a different issue, update this issue with how you solved it so other people can benefit from the knowledge. E.g.Did you reinstall the plugin or platform? Then close the issue.

You appear to have a different problem now. So cut and paste your new problem into a new issue. Having two different problems in one thread makes life difficult and the thread impossible to read. As an aside local notifications do work on Android phones when the app has been killed. When you cut and paste put your code in the new issue.

Rob

@DanielMutu
Copy link
Author

DanielMutu commented Feb 10, 2017 via email

@DanielMutu
Copy link
Author

DanielMutu commented Feb 10, 2017 via email

@rwillett
Copy link
Collaborator

Your initial problem was some sort of error with the environment

e.g.

:compileDebugJavaWithJavacC:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\ClearReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/ClearReceiver.java
^
C:\Users\ricercasviluppo\Desktop\Local\cordova-plugin-local-notifications-example\platforms\android\src\de\appplant\cordova\plugin\localnotification\ClearReceiver.java:1: error: illegal '.'
../../../../../../../../../cordova-plugin-local-notifications/src/android/ClearReceiver.java

and

100 errors
FAILED

FAILURE: Build failed with an exception.

What went wrong:
BUILD FAILED
Execution failed for task ':compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

This is a compile error.

I suggested you remove the plugins and platform and start again.

You then came back and said

Expected Behavior
To receive notification when app is killed
Actual Behavior
I used two different plugins: backgroundservice and local-notification to receive local notification when app is killed, but only when app work in background I receive the Local notification, when i kill the app i don’t receive anything

This indicates to me that you have solved your original compilation problem and have now moved onto a different problem, that of Android not receiving local notifications in the background when the app is not running.

These are two different problems.

I have no idea even what your problem is as you are not clear as to what you are trying to do. Are you resolving a compile problem or are you trying to get Android notifications to work when the app is not running.

You need to make it clear. I am trying to second guess what your problem is. The way you ask for support is to provide information clearly and concisely so we can make some attempt to see what you have done. So far you have presented (AFAICS) two different problems and are conflating them together.

So lets make this simple:

  1. What are you trying to do? Compile or get local notifications working when Android is closed?

  2. if it is to compile the app, have you removed and reinstalled the plugin and the platform.

  3. if it is to get local notifications appear when the Android app is closed, close this issue down and raise a new one. Android local notifications do work, we test for this use-case on our own app. However you need to provide code as already requested

When you cut and paste put your code in the new issue.

As I said earlier you need to help us to help you. You're not providing simple and easy to understand information. We have no idea what your app is, what it does, what your level of experience is, we can see some technical details on your environment but thats it.

Imagine you have no idea about what your app is or what your problem is and read this issue trail and see if you can work out what the problem is, never mind the solution.

If you cannot provide sensible and easy to understand information, I cannot help as there isn't enough to go on.

@rwillett
Copy link
Collaborator

Is this still na issue?

@rwillett
Copy link
Collaborator

Closed as no response from original poster.

@remiglobal
Copy link

remiglobal commented Jul 31, 2017

it seems i had the same problem. Here are the steps that i have taken to get the example app working.

error running local notification

  1. discovered that the problem lies inside the plugins/fetch.json file. It maps the cordova-plugin-app-event to a local file cordova-plugin-app-event

  2. update the cordova plugin app event to the code segment below

    "cordova-plugin-app-event": {
    "source": {
    "type": "registry",
    "id": "https://github.com/katzer/cordova-plugin-app-event"
    },
    "is_top_level": true,
    "variables": {}
    },

*i might be wrong here. i think you can remove the plugin from command line and delete the file cordova-plugin-app-event in the plugins folder.

  1. download the plugin cordova-plugin-app-event directly from source

cordova plugin add https://github.com/katzer/cordova-plugin-app-event

  1. remove the platform, in my case its android

cordova platform rm android

  1. add the platform back

cordova platform add android

  1. compile it

cordova compile android

  1. run in emulator or to device. I use device, please attach your phone to your development pc.

cordova run android

that's it. hope it helps.

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

No branches or pull requests

3 participants