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

hi in android it can not run #291

Closed
djkdeveloper opened this issue Mar 27, 2019 · 1 comment
Closed

hi in android it can not run #291

djkdeveloper opened this issue Mar 27, 2019 · 1 comment

Comments

@djkdeveloper
Copy link

my environment:
"react": "16.6.3",
"react-native": "0.58.5",
"react-native-navigation": "1.1.484",
"react-redux": "^5.0.6",
"redux": "^3.7.2",
"redux-actions": "^2.2.1",
"redux-thunk": "^2.2.0",
"react-native-linear-gradient": "^2.5.3",
"react-native-image-zoom-viewer": "^2.2.25",
"eventemitter2": "^5.0.1",
"immutable": "^3.8.2",
"moment": "^2.20.1",
"react-native-root-toast": "^3.0.0",
"react-native-datepicker": "^1.7.2",
"react-native-fileupload": "^1.2.0",
"react-native-image-picker": "^0.26.7",
"react-native-keyboard-spacer": "^0.4.1",
"react-native-zss-rich-text-editor": "^1.1.0",
"react-native-webview-bridge": "^0.40.1"

and my setting:
include ':app', ':react-native-webview-bridge'
project(':react-native-webview-bridge').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-webview-bridge/android')

import com.github.alinz.reactnativewebviewbridge.WebViewBridgePackage;

protected List<ReactPackage> getPackages() {
	// Add additional packages you require here
	// No need to add RnnPackage and MainReactPackage
	return Arrays.<ReactPackage>asList(
    new LinearGradientPackage(),
    new ImagePickerPackage(),

new WebViewBridgePackage()
);
}

compile project(':react-native-webview-bridge')

and when id react-native run-android
it error :
111

but when i dose not use react-native-webview-bridge it can run

@djkdeveloper
Copy link
Author

it is rn version problem

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

No branches or pull requests

1 participant