{"action":"opened","issue":{"url":"https://api.github.com/repos/floatinghotpot/cordova-plugin-admob/issues/183","labels_url":"https://api.github.com/repos/floatinghotpot/cordova-plugin-admob/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/floatinghotpot/cordova-plugin-admob/issues/183/comments","events_url":"https://api.github.com/repos/floatinghotpot/cordova-plugin-admob/issues/183/events","html_url":"https://github.com/floatinghotpot/cordova-plugin-admob/issues/183","id":57805852,"number":183,"title":"Execution failed for task ':compileArmv7DebugJava'.","user":{"login":"ibewugb","id":720741,"avatar_url":"https://avatars.githubusercontent.com/u/720741?v=3","gravatar_id":"","url":"https://api.github.com/users/ibewugb","html_url":"https://github.com/ibewugb","followers_url":"https://api.github.com/users/ibewugb/followers","following_url":"https://api.github.com/users/ibewugb/following{/other_user}","gists_url":"https://api.github.com/users/ibewugb/gists{/gist_id}","starred_url":"https://api.github.com/users/ibewugb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibewugb/subscriptions","organizations_url":"https://api.github.com/users/ibewugb/orgs","repos_url":"https://api.github.com/users/ibewugb/repos","events_url":"https://api.github.com/users/ibewugb/events{/privacy}","received_events_url":"https://api.github.com/users/ibewugb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-16T13:45:25Z","updated_at":"2015-02-16T13:45:25Z","closed_at":null,"body":"I'm getting the following error while building my Android Project:\r\n\r\n:compileArmv7DebugJava/Users/user/App/platforms/android/src/com/rjfun/cordova/plugin/AdMob.java:219: error: cannot find symbol\r\n                    ((ViewGroup) webView.getRootView()).addView(adViewLayout, params);\r\n                                        ^\r\n  symbol:   method getRootView()\r\n  location: variable webView of type CordovaWebView\r\n/Users/user/App/platforms/android/src/com/rjfun/cordova/plugin/AdMob.java:411: error: cannot find symbol\r\n                        ViewGroup parentView = (ViewGroup) webView.getParent();\r\n                                                                  ^\r\n  symbol:   method getParent()\r\n  location: variable webView of type CordovaWebView\r\nNote: Some input files use or override a deprecated API.\r\nNote: Recompile with -Xlint:deprecation for details.\r\n2 errors\r\n FAILED\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':compileArmv7DebugJava'.\r\n> Compilation failed; see the compiler error output for details.\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n\r\nBUILD FAILED\r\n\r\nTotal time: 3.691 secs\r\n\r\n/Users/user/App/platforms/android/cordova/node_modules/q/q.js:126\r\n                    throw e;\r\n                          ^\r\nError code 1 for command: /Users/user/App/platforms/android/gradlew with args: cdvBuildDebug,-b,/Users/user/App/platforms/android/build.gradle,-Dorg.gradle.daemon=true\r\nERROR building one of the platforms: Error: /Users/user/App/platforms/android/cordova/build: Command failed with exit code 1\r\nYou may not have the required environment or OS to build this project"}}