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

Duplicate decleration App #23976

Closed
codeByAvi opened this issue Mar 16, 2019 · 4 comments
Closed

Duplicate decleration App #23976

codeByAvi opened this issue Mar 16, 2019 · 4 comments
Labels
Bug Resolution: Locked This issue was locked by the bot.

Comments

@codeByAvi
Copy link

codeByAvi commented Mar 16, 2019

🐛 Bug Report

Getting error "duplicate declaration App" in react-native/scripts/index.js while building android app . Tried creating project with 0.59.1 and also tried with 0.58.4 react-native versions but no luck.

Attaching the screen shot of error.
Screenshot_1552739463

To Reproduce

Expected Behavior

Code Example

Environment

info
React Native Environment Info:
System:
OS: Windows 10
CPU: (4) x64 Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz
Memory: 5.68 GB / 15.66 GB
Binaries:
Node: 10.15.1 - C:\nodeJs\node.EXE
Yarn: 1.13.0 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.7.0 - C:\nodeJs\npm.CMD
IDEs:
Android Studio: Version 3.3.0.0 AI-182.5107.16.33.5199772

@react-native-bot
Copy link
Collaborator

Can you run react-native info and edit your issue to include these results under the Environment section?

If you believe this information is irrelevant to the reported issue, you may write `[skip envinfo]` alongside an explanation in your Environment: section.

@codeByAvi
Copy link
Author

updated issue with environment info @react-native-bot

@codeByAvi
Copy link
Author

Please suggest me how to resolve this. am stuck due to this.

@Titozzz
Copy link
Collaborator

Titozzz commented Mar 19, 2019

Hello there 👋 this issue doesn't have a repro (which means, a react-native init-ed project with the minimal changes that leads to creating the same issue you are reporting). Unfortunately, I have no way of helping you in a meaningful way – there is no easy way for me to recreate the situation and check that the issue reported is still there when changing the code.

Because of this, we are going to close this issue - but if a repro is shared, we are happy to reopen it 🤗

@Titozzz Titozzz closed this as completed Mar 19, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Mar 19, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Mar 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants