{"action":"created","issue":{"url":"https://api.github.com/repos/wuxudong/react-native-charts-wrapper/issues/92","repository_url":"https://api.github.com/repos/wuxudong/react-native-charts-wrapper","labels_url":"https://api.github.com/repos/wuxudong/react-native-charts-wrapper/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/wuxudong/react-native-charts-wrapper/issues/92/comments","events_url":"https://api.github.com/repos/wuxudong/react-native-charts-wrapper/issues/92/events","html_url":"https://github.com/wuxudong/react-native-charts-wrapper/issues/92","id":244994390,"number":92,"title":"Build Failed","user":{"login":"ignindra","id":26472896,"avatar_url":"https://avatars1.githubusercontent.com/u/26472896?v=4","gravatar_id":"","url":"https://api.github.com/users/ignindra","html_url":"https://github.com/ignindra","followers_url":"https://api.github.com/users/ignindra/followers","following_url":"https://api.github.com/users/ignindra/following{/other_user}","gists_url":"https://api.github.com/users/ignindra/gists{/gist_id}","starred_url":"https://api.github.com/users/ignindra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ignindra/subscriptions","organizations_url":"https://api.github.com/users/ignindra/orgs","repos_url":"https://api.github.com/users/ignindra/repos","events_url":"https://api.github.com/users/ignindra/events{/privacy}","received_events_url":"https://api.github.com/users/ignindra/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-24T07:32:27Z","updated_at":"2017-11-19T08:35:29Z","closed_at":"2017-11-19T08:35:29Z","author_association":"NONE","body":"I'm currently trying to add react-native-charts-wrapper into my android program after following all the steps in the readme. But every single time I run `react-native run-android` command, this happened:\r\n\r\n>:app:generateDebugSources\r\n:app:incrementalDebugJavaCompilationSafeguard\r\n:app:compileDebugJavaWithJavac\r\n:app:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).\r\nC:\\sms-mobile-rn\\android\\app\\src\\main\\java\\com\\smsmobile\\MainApplication.java:5: error: cannot find symbol\r\nimport com.facebook.react.ReactApplication;\r\n                         ^\r\n  symbol:   class ReactApplication\r\n  location: package com.facebook.react\r\nC:\\sms-mobile-rn\\android\\app\\src\\main\\java\\com\\smsmobile\\MainApplication.java:8: error: cannot find symbol\r\nimport com.facebook.react.ReactNativeHost;\r\n                         ^\r\n  symbol:   class ReactNativeHost\r\n  location: package com.facebook.react\r\nC:\\sms-mobile-rn\\android\\app\\src\\main\\java\\com\\smsmobile\\MainApplication.java:16: error: cannot find symbol\r\npublic class MainApplication extends Application implements ReactApplication {\r\n                                                            ^\r\n  symbol: class ReactApplication\r\nC:\\sms-mobile-rn\\android\\app\\src\\main\\java\\com\\smsmobile\\MainApplication.java:18: error: cannot find symbol\r\n  private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {\r\n                ^\r\n  symbol:   class ReactNativeHost\r\n  location: class MainApplication\r\nC:\\sms-mobile-rn\\android\\app\\src\\main\\java\\com\\smsmobile\\MainApplication.java:35: error: cannot find symbol\r\n  public ReactNativeHost getReactNativeHost() {\r\n         ^\r\n  symbol:   class ReactNativeHost\r\n  location: class MainApplication\r\nC:\\sms-mobile-rn\\android\\app\\src\\main\\java\\com\\smsmobile\\MainActivity.java:5: error: MainActivity is not abstract and does not override abstract method getPackages() in ReactActivity\r\npublic class MainActivity extends ReactActivity {\r\n       ^\r\nC:\\sms-mobile-rn\\android\\app\\src\\main\\java\\com\\smsmobile\\MainApplication.java:18: error: cannot find symbol\r\n  private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {\r\n                                                       ^\r\n  symbol:   class ReactNativeHost\r\n  location: class MainApplication\r\nC:\\sms-mobile-rn\\android\\app\\src\\main\\java\\com\\smsmobile\\MainApplication.java:34: error: method does not override or implement a method from a supertype\r\n  @Override\r\n  ^\r\n8 errors\r\n:app:compileDebugJavaWithJavac FAILED\r\n\r\n>FAILURE: Build failed with an exception.\r\n\r\n>* What went wrong:\r\nExecution failed for task ':app:compileDebugJavaWithJavac'.\r\nCompilation 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\n>BUILD FAILED\r\n\r\nI'm using:\r\nreact-native: 0.45.1\r\nreact-native-charts-wrapper: 0.2.10\r\nandroid build tools: 23.0.1\r\nrunning on android emulator: Nougat 7.1.1\r\n\r\nI already tried to clean the last build using `gradlew clean`, but those errors was still there.\r\nI noticed that those \"cannot find symbol\" errors started appearing after I added this:\r\n[Adding Maven dependency](https://github.com/wuxudong/react-native-charts-wrapper#2-add-maven-dependency)\r\nAnyone has any idea why this happened?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/wuxudong/react-native-charts-wrapper/issues/comments/345500750","html_url":"https://github.com/wuxudong/react-native-charts-wrapper/issues/92#issuecomment-345500750","issue_url":"https://api.github.com/repos/wuxudong/react-native-charts-wrapper/issues/92","id":345500750,"user":{"login":"wuxudong","id":1391101,"avatar_url":"https://avatars1.githubusercontent.com/u/1391101?v=4","gravatar_id":"","url":"https://api.github.com/users/wuxudong","html_url":"https://github.com/wuxudong","followers_url":"https://api.github.com/users/wuxudong/followers","following_url":"https://api.github.com/users/wuxudong/following{/other_user}","gists_url":"https://api.github.com/users/wuxudong/gists{/gist_id}","starred_url":"https://api.github.com/users/wuxudong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wuxudong/subscriptions","organizations_url":"https://api.github.com/users/wuxudong/orgs","repos_url":"https://api.github.com/users/wuxudong/repos","events_url":"https://api.github.com/users/wuxudong/events{/privacy}","received_events_url":"https://api.github.com/users/wuxudong/received_events","type":"User","site_admin":false},"created_at":"2017-11-19T08:35:29Z","updated_at":"2017-11-19T08:35:29Z","author_association":"OWNER","body":"I suggest run example first. then compare your project with it.\r\n\r\nClose the issue. Please reopen it if you have any question."}}
{"actor":{"display_login":"wuxudong"}}