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

unable to download jsbundle?? #21

Closed
aqnaruto opened this issue Sep 9, 2016 · 8 comments
Closed

unable to download jsbundle?? #21

aqnaruto opened this issue Sep 9, 2016 · 8 comments

Comments

@aqnaruto
Copy link

aqnaruto commented Sep 9, 2016

image

@shushiej
Copy link

I get the same error, is there a fix for this on android?

@svlapin
Copy link

svlapin commented Oct 22, 2016

Managed to get rid of this by typing react-native start after react-native run-android

@aqnaruto
Copy link
Author

of course i did it ,but still not work. does it is work on in your's environment @svlapin

@svlapin
Copy link

svlapin commented Oct 22, 2016

react-native start fixed the error you mentioned originally. After, I got the same as in #20 .
Fixed it by

diff --git a/app/containers/App.js b/app/containers/App.js
index f0a863f..0765dac 100644
--- a/app/containers/App.js
+++ b/app/containers/App.js
@@ -18,7 +18,7 @@ import Game from './Game'
 import Player from './Player'
 import Team from './Team'

-export default class App extends Component {
+class App extends Component {

   constructor (props) {
     super(props)

Seems to work eventually.

@aqnaruto
Copy link
Author

cool . thanks @svlapin

@America-first-melon
Copy link

Excuse me,
I have the same problem.
qq 20170106104200
and the app.js
qq 20170106104215

@VincentZee
Copy link

when you run the command as usual:react-native run-android

you may see these info below:
Starting JS server...
Starting the packager in a new window is not supported on Windows yet.
Please start it manually using 'react-native start'.

so that lead you start the packager manually

you can also check if the packager has started by enter the url (http://localhost:8081/index.android.bundle?platform=android)

@aqnaruto
Copy link
Author

thank you @VincentZee

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

5 participants