-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Android Emulator: SyntaxErorr ' Attempt to redefine Property 'Content - Type' #12592
Android Emulator: SyntaxErorr ' Attempt to redefine Property 'Content - Type' #12592
Comments
Hmm, all I can suggest here is process of elimination. Does this happen when you debug a blank project in your environment? Does this happen just on emulator or also on device? Have you tried both genymotion and android emulator? |
This is the log from logcat, quite not informative, anything else I can do?
|
I have the same issue as you. After checking, this problem does not happen in the ES6 in android because it's supported to redefine in ES6. Check your code (even node_module code) by opening your bundle file and check the corresponding 70915 lines of code to find which 'Content - Type' is redefine. |
That solve the problem, thank you @haloJim for those having the same error, what i did is: check the line, most probably you are trying to redefine something that you already did before. |
Description
Unfortunately I have no idea where to start to fix this.
If I select Remote JS Debugging, the error disappear and the app starts and works normally.
I don't have this problem while running on iOS
Reproduction
This happens when I try to run react-native run-android on this repo
Solution
Additional Information
react-native-cli: 2.0.1
react-native: 0.40.0
android 23.0.1
OSX Sierra
The text was updated successfully, but these errors were encountered: