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
can't build release for android - Windows 7 #4170
Comments
i have same issue like you.... |
Exactly the same, I give more details here |
i have just success when run command 'react-native bundle ...' alone (i change way to server and client work (PATH -->> PORT) in SocketInterface node modul (i change js code in 2 file : 'SocketInterface.js' and 'index.js')) . but it still fail when run command 'gradlew assembleRelease' :(((. . and now. i ignore file 'react.gradle ' (delete line 'apply from: "react.gradle"' in file 'build.gradle') and do manual follow this i create signing key as recommend (https://facebook.github.io/react-native/docs/signed-apk-android.html#content). |
finally. i success to build release for android. i must write password, keyAlias... direct to build.gradle file (not use variable in gradle.properties anymore). i don't know why (so confusing): and by use solution here : hzerica@32c755b i success to run command ' gradlew assembleRelease ' this is 2 file that i modify ('index.js' and 'socketserver.js' in 'node_modules\react-native\packager\react-packager\src\SocketInterface') SocketServer.js.txt you will want to delete line 'const ipc = require('node-ipc');' in 2 file (because i tried to use node-ipc , but not success ) |
better solution #4071 . |
I had installed react-native-cli fiexed this issue. |
hi . i follow tutorial at here (http://facebook.github.io/react-native/docs/signed-apk-android.html#content)
but when i run command "gradlew assembleRelease" in cmd (i use window 7 , 64 bit) .
it fail at line ':app:bundleReleaseJsAndAssets'
i have spend much time to find out what happen here. When i use --stacktrace , --info , and --debug flag as recommend . it say fail when run command "react-native bundle ..."
when i run above command alone , it stuck in 5 minute (that is timeout of create server as i founded) and return error : listen EACCES , port : -1
seem like a permision error, but i can't find anything else , i run command with admintrator .
Sorry about my english.
The text was updated successfully, but these errors were encountered: