{"action":"created","issue":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/4376","repository_url":"https://api.github.com/repos/wix/react-native-navigation","labels_url":"https://api.github.com/repos/wix/react-native-navigation/issues/4376/labels{/name}","comments_url":"https://api.github.com/repos/wix/react-native-navigation/issues/4376/comments","events_url":"https://api.github.com/repos/wix/react-native-navigation/issues/4376/events","html_url":"https://github.com/wix/react-native-navigation/issues/4376","id":386103256,"node_id":"MDU6SXNzdWUzODYxMDMyNTY=","number":4376,"title":"problem in create release apk.","user":{"login":"mahdi-gh1373","id":9510009,"node_id":"MDQ6VXNlcjk1MTAwMDk=","avatar_url":"https://avatars0.githubusercontent.com/u/9510009?v=4","gravatar_id":"","url":"https://api.github.com/users/mahdi-gh1373","html_url":"https://github.com/mahdi-gh1373","followers_url":"https://api.github.com/users/mahdi-gh1373/followers","following_url":"https://api.github.com/users/mahdi-gh1373/following{/other_user}","gists_url":"https://api.github.com/users/mahdi-gh1373/gists{/gist_id}","starred_url":"https://api.github.com/users/mahdi-gh1373/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mahdi-gh1373/subscriptions","organizations_url":"https://api.github.com/users/mahdi-gh1373/orgs","repos_url":"https://api.github.com/users/mahdi-gh1373/repos","events_url":"https://api.github.com/users/mahdi-gh1373/events{/privacy}","received_events_url":"https://api.github.com/users/mahdi-gh1373/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-30T09:24:34Z","updated_at":"2018-12-12T03:51:08Z","closed_at":"2018-11-30T21:51:36Z","author_association":"NONE","body":"### Issue Description\r\nI have a problem in creating release apk . when I use `npm run android` and `react-native run-android`\r\n I don't have any problem and simulator run my app but when I use `./gradlew assembleRelease` I have a problem. I install step by step from installation guide as far as I know!!\r\nIt seems that I have a error on `Task :react-native-navigation:compileReactNative51ReleaseJavaWithJavac FAILED`. \r\n### Steps to Reproduce / Code Snippets / Screenshots\r\n\r\n`PS C:\\personal\\project\\dobord\\app\\challenge-2\\Challenge\\android> ./gradlew assembleRelease\r\n\r\n> Configure project :app\r\nWARNING: The option 'android.enableAapt2' is deprecated and should not be used anymore.\r\nUse 'android.enableAapt2=true' to remove this warning.\r\nIt will be removed at the end of 2018..\r\nWARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.\r\nIt will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html\r\n\r\n> Configure project :react-native-navigation\r\nWARNING: The option 'android.enableAapt2' is deprecated and should not be used anymore.\r\nUse 'android.enableAapt2=true' to remove this warning.\r\nIt will be removed at the end of 2018..\r\ndownloadRobolectricDependencies into C:\\personal\\project\\dobord\\app\\challenge-2\\Challenge\\android\\build\\robolectric-3.5.1-dependencies\r\n\r\n> Configure project :react-native-video\r\nWARNING: The option 'android.enableAapt2' is deprecated and should not be used anymore.\r\nUse 'android.enableAapt2=true' to remove this warning.\r\nIt will be removed at the end of 2018..\r\n\r\n> Task :app:bundleReleaseJsAndAssets\r\nwarning: the transform cache was reset.\r\nLoading dependency graph, done.\r\nbundle: Writing bundle output to: C:\\personal\\project\\dobord\\app\\challenge-2\\Challenge\\android\\app\\build\\generated\\assets\\react\\release\\index.android.bundle\r\nbundle: Done writing bundle output\r\nbundle: Copying 33 asset files\r\nbundle: Done copying assets\r\n\r\n> Task :react-native-navigation:compileReactNative57ReleaseJavaWithJavac\r\nNote: Some input files use unchecked or unsafe operations.\r\nNote: Recompile with -Xlint:unchecked for details.\r\n\r\n> Task :react-native-video:compileReleaseJavaWithJavac\r\nNote: Some input files use or override a deprecated API.\r\nNote: Recompile with -Xlint:deprecation for details.\r\n\r\n> Task :react-native-navigation:compileReactNative51ReleaseJavaWithJavac FAILED\r\nC:\\personal\\project\\dobord\\app\\challenge-2\\Challenge\\node_modules\\react-native-navigation\\lib\\android\\app\\src\\reactNative51\\java\\com\\reactnativenavigation\\react\\SyncUiImplementation.java:8: error: cannot find symbol\r\nimport com.facebook.react.uimanager.MeasureSpecProvider;\r\n                                   ^\r\n  symbol:   class MeasureSpecProvider\r\n  location: package com.facebook.react.uimanager\r\nC:\\personal\\project\\dobord\\app\\challenge-2\\Challenge\\node_modules\\react-native-navigation\\lib\\android\\app\\src\\reactNative51\\java\\com\\reactnativenavigation\\react\\SyncUiImplementation.java:9: error: cannot find symbol\r\nimport com.facebook.react.uimanager.SizeMonitoringFrameLayout;\r\n                                   ^\r\n  symbol:   class SizeMonitoringFrameLayout\r\n  location: package com.facebook.react.uimanager\r\nC:\\personal\\project\\dobord\\app\\challenge-2\\Challenge\\node_modules\\react-native-navigation\\lib\\android\\app\\src\\reactNative51\\java\\com\\reactnativenavigation\\react\\SyncUiImplementation.java:12: error: cannot find symbol\r\nimport com.facebook.react.uimanager.UIImplementationProvider;\r\n                                   ^\r\n  symbol:   class UIImplementationProvider\r\n  location: package com.facebook.react.uimanager\r\nC:\\personal\\project\\dobord\\app\\challenge-2\\Challenge\\node_modules\\react-native-navigation\\lib\\android\\app\\src\\reactNative51\\java\\com\\reactnativenavigation\\react\\SyncUiImplementation.java:78: error: cannot find symbol\r\n    public <T extends SizeMonitoringFrameLayout & MeasureSpecProvider> void registerRootView(T rootView, int tag, ThemedReactContext context) {\r\n                      ^\r\n  symbol:   class SizeMonitoringFrameLayout\r\n  location: class SyncUiImplementation\r\nC:\\personal\\project\\dobord\\app\\challenge-2\\Challenge\\node_modules\\react-native-navigation\\lib\\android\\app\\src\\reactNative51\\java\\com\\reactnativenavigation\\react\\SyncUiImplementation.java:78: error: cannot find symbol\r\n    public <T extends SizeMonitoringFrameLayout & MeasureSpecProvider> void registerRootView(T rootView, int tag, ThemedReactContext context) {\r\n                                                  ^\r\n  symbol:   class MeasureSpecProvider\r\n  location: class SyncUiImplementation\r\nC:\\personal\\project\\dobord\\app\\challenge-2\\Challenge\\node_modules\\react-native-navigation\\lib\\android\\app\\src\\reactNative51\\java\\com\\reactnativenavigation\\react\\SyncUiImplementation.java:23: error: cannot find symbol\r\n    public static class Provider extends UIImplementationProvider {\r\n                                         ^\r\n  symbol:   class UIImplementationProvider\r\n  location: class SyncUiImplementation\r\nC:\\personal\\project\\dobord\\app\\challenge-2\\Challenge\\node_modules\\react-native-navigation\\lib\\android\\app\\src\\reactNative51\\java\\com\\reactnativenavigation\\react\\JsDevReloadHandlerFacade.java:7: error: JsDevReloadHandlerFacade is not abstract and does not override abstract method onSuccess(NativeDeltaClient) in DevBundleDownloadListener\r\npublic class JsDevReloadHandlerFacade implements DevBundleDownloadListener, NavigationDevBundleDownloadListener {\r\n       ^\r\nC:\\personal\\project\\dobord\\app\\challenge-2\\Challenge\\node_modules\\react-native-navigation\\lib\\android\\app\\src\\reactNative51\\java\\com\\reactnativenavigation\\react\\ReloadHandlerFacade.java:8: error: method does not override or implement a method from a supertype\r\n    @Override\r\n    ^\r\nC:\\personal\\project\\dobord\\app\\challenge-2\\Challenge\\node_modules\\react-native-navigation\\lib\\android\\app\\src\\main\\java\\com\\reactnativenavigation\\react\\ReloadHandler.java:3: error: ReloadHandler is not abstract and does not override abstract method onSuccess(NativeDeltaClient) in DevBundleDownloadListener\r\npublic class ReloadHandler extends ReloadHandlerFacade implements JsDevReloadHandler.ReloadListener {\r\n       ^\r\nC:\\personal\\project\\dobord\\app\\challenge-2\\Challenge\\node_modules\\react-native-navigation\\lib\\android\\app\\src\\reactNative51\\java\\com\\reactnativenavigation\\react\\DevBundleDownloadListenerAdapter.java:7: error: DevBundleDownloadListenerAdapter is not abstract and does not override abstract method onSuccess(NativeDeltaClient) in DevBundleDownloadListener\r\npublic class DevBundleDownloadListenerAdapter implements DevBundleDownloadListener {\r\n       ^\r\nC:\\personal\\project\\dobord\\app\\challenge-2\\Challenge\\node_modules\\react-native-navigation\\lib\\android\\app\\src\\reactNative51\\java\\com\\reactnativenavigation\\react\\DevBundleDownloadListenerAdapter.java:8: error: method does not override or implement a method from a supertype\r\n    @Override\r\n    ^\r\nC:\\personal\\project\\dobord\\app\\challenge-2\\Challenge\\node_modules\\react-native-navigation\\lib\\android\\app\\src\\reactNative51\\java\\com\\reactnativenavigation\\react\\NavigationReactNativeHost.java:86: error: cannot find symbol\r\n                .setUIImplementationProvider(getUIImplementationProvider())\r\n                                             ^\r\n  symbol:   method getUIImplementationProvider()\r\n  location: class NavigationReactNativeHost\r\nC:\\personal\\project\\dobord\\app\\challenge-2\\Challenge\\node_modules\\react-native-navigation\\lib\\android\\app\\src\\reactNative51\\java\\com\\reactnativenavigation\\react\\SyncUiImplementation.java:24: error: method does not override or implement a method from a supertype\r\n        @Override\r\n        ^\r\nC:\\personal\\project\\dobord\\app\\challenge-2\\Challenge\\node_modules\\react-native-navigation\\lib\\android\\app\\src\\reactNative51\\java\\com\\reactnativenavigation\\react\\SyncUiImplementation.java:29: error: method does not override or implement a method from a supertype\r\n        @Override\r\n        ^\r\nNote: Some input files use unchecked or unsafe operations.\r\nNote: Recompile with -Xlint:unchecked for details.\r\n14 errors\r\n\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':react-native-navigation:compileReactNative51ReleaseJavaWithJavac'.\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. Run with --scan to get full insights.\r\n\r\n* Get more help at https://help.gradle.org\r\n\r\nBUILD FAILED in 2m 34s\r\n79 actionable tasks: 74 executed, 5 up-to-date`\r\n\r\n---\r\n### Environment\r\n* React Native Navigation version: ^2.1.3\r\n* React Native version: 0.57.4\r\n* Platform(s) (iOS, Android, or both?): Android\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/comments/446452553","html_url":"https://github.com/wix/react-native-navigation/issues/4376#issuecomment-446452553","issue_url":"https://api.github.com/repos/wix/react-native-navigation/issues/4376","id":446452553,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjQ1MjU1Mw==","user":{"login":"aligol20","id":8493249,"node_id":"MDQ6VXNlcjg0OTMyNDk=","avatar_url":"https://avatars2.githubusercontent.com/u/8493249?v=4","gravatar_id":"","url":"https://api.github.com/users/aligol20","html_url":"https://github.com/aligol20","followers_url":"https://api.github.com/users/aligol20/followers","following_url":"https://api.github.com/users/aligol20/following{/other_user}","gists_url":"https://api.github.com/users/aligol20/gists{/gist_id}","starred_url":"https://api.github.com/users/aligol20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aligol20/subscriptions","organizations_url":"https://api.github.com/users/aligol20/orgs","repos_url":"https://api.github.com/users/aligol20/repos","events_url":"https://api.github.com/users/aligol20/events{/privacy}","received_events_url":"https://api.github.com/users/aligol20/received_events","type":"User","site_admin":false},"created_at":"2018-12-12T03:51:08Z","updated_at":"2018-12-12T03:51:08Z","author_association":"NONE","body":"awesome mahdi...,solved my problem too..:)"}}
{"actor":{"display_login":"aligol20"}}