{"action":"created","issue":{"url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/235","repository_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase","labels_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/235/comments","events_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/235/events","html_url":"https://github.com/arnesson/cordova-plugin-firebase/issues/235","id":220737037,"number":235,"title":"Build failed: cannot find symbol notificationManagerCompat & setCurrentScreen","user":{"login":"sleever","id":11486220,"avatar_url":"https://avatars0.githubusercontent.com/u/11486220?v=4","gravatar_id":"","url":"https://api.github.com/users/sleever","html_url":"https://github.com/sleever","followers_url":"https://api.github.com/users/sleever/followers","following_url":"https://api.github.com/users/sleever/following{/other_user}","gists_url":"https://api.github.com/users/sleever/gists{/gist_id}","starred_url":"https://api.github.com/users/sleever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sleever/subscriptions","organizations_url":"https://api.github.com/users/sleever/orgs","repos_url":"https://api.github.com/users/sleever/repos","events_url":"https://api.github.com/users/sleever/events{/privacy}","received_events_url":"https://api.github.com/users/sleever/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-04-10T18:53:55Z","updated_at":"2017-09-02T08:38:08Z","closed_at":"2017-04-11T18:59:21Z","author_association":"NONE","body":"Hello everybody,\r\n\r\nI have recently upgraded to the latest version of cordova, ionic and angular and when I emulate/build my app it throws the following error:\r\n\r\n```\r\nBUILD FAILED\r\n\r\n\r\nTotal time: 2.681 secs\r\n\r\nError: cmd: Command failed with exit code 1 Error output:\r\nD:\\projects\\apps\\portemewallet\\Portemewallet\\platforms\\android\\src\\org\\apache\\cordova\\firebase\\FirebasePlugin.java:270: error: cannot find symbol\r\n                    boolean areNotificationsEnabled = notificationManagerCompat.areNotificationsEnabled();\r\n                                                                               ^\r\n  symbol:   method areNotificationsEnabled()\r\n  location: variable notificationManagerCompat of type NotificationManagerCompat\r\nD:\\projects\\apps\\portemewallet\\Portemewallet\\platforms\\android\\src\\org\\apache\\cordova\\firebase\\FirebasePlugin.java:370: error: cannot find symbol\r\n                    mFirebaseAnalytics.setCurrentScreen(cordova.getActivity(), name, null);\r\n                                      ^\r\n  symbol:   method setCurrentScreen(Activity,String,<null>)\r\n  location: variable mFirebaseAnalytics of type FirebaseAnalytics\r\nNote: Some input files use or override a deprecated API.\r\nNote: Recompile with -Xlint:deprecation for details.\r\n2 errors\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':compileDebugJavaWithJavac'.\r\n> Compilation failed; see the compiler error output for details.\r\n```\r\n\r\nThe firebase plugin is also updated to the latest version (0.1.20).\r\n\r\nDoes anyone have a solution for this issue?\r\n\r\n(I do find it interesting that Analytics is now available in the plugin, though).\r\n\r\nThanks in advance.\r\n\r\nBest regards,\r\nStefan"},"comment":{"url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/comments/326731262","html_url":"https://github.com/arnesson/cordova-plugin-firebase/issues/235#issuecomment-326731262","issue_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/235","id":326731262,"user":{"login":"floydus","id":19679654,"avatar_url":"https://avatars2.githubusercontent.com/u/19679654?v=4","gravatar_id":"","url":"https://api.github.com/users/floydus","html_url":"https://github.com/floydus","followers_url":"https://api.github.com/users/floydus/followers","following_url":"https://api.github.com/users/floydus/following{/other_user}","gists_url":"https://api.github.com/users/floydus/gists{/gist_id}","starred_url":"https://api.github.com/users/floydus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floydus/subscriptions","organizations_url":"https://api.github.com/users/floydus/orgs","repos_url":"https://api.github.com/users/floydus/repos","events_url":"https://api.github.com/users/floydus/events{/privacy}","received_events_url":"https://api.github.com/users/floydus/received_events","type":"User","site_admin":false},"created_at":"2017-09-02T08:38:08Z","updated_at":"2017-09-02T08:38:08Z","author_association":"NONE","body":"I'm lost, I have a few AVDs in android studio and I still have the same exact build error.\r\nHere are my SDK tools settings.\r\n![screen shot 2017-09-02 at 4 31 29 am](https://user-images.githubusercontent.com/19679654/29994186-ac9f635e-8f97-11e7-91b2-785183073335.png)\r\nAnd my virtual devices...\r\n![screen shot 2017-09-02 at 4 37 15 am](https://user-images.githubusercontent.com/19679654/29994221-7762bf8c-8f98-11e7-8d7d-4964e8e0af44.png)\r\nLet me know if you require more information to help. thanks."}}
{"actor":{"display_login":"floydus"}}