React-native: The $ cd android && ./gradlew assembleRelease command does not execute on a Windows machine

Created on 22 Jan 2016  路  4Comments  路  Source: facebook/react-native

When i try to run the command $ cd android && ./gradlew assembleRelease on a Windows machine inorder to create an apk file the command does not run,

It seems the && is a apple command. can u please update the documentation on how to compile to apk on a windows machine https://facebook.github.io/react-native/docs/signed-apk-android.html

Locked

Most helpful comment

Run gradlew assembleRelease from the android folder on Windows.

All 4 comments

Hey gregkawere, thanks for reporting this issue!

React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.

  • If you don't know how to do something or something is not working as you expect but not sure it's a bug, please ask on StackOverflow with the tag react-native or for more real time interactions, ask on Discord in the #react-native channel.
  • If this is a feature request or a bug that you would like to be fixed, please report it on Product Pains. It has a ranking feature that lets us focus on the most important issues the community is experiencing.
  • We welcome clear issues and PRs that are ready for in-depth discussion. Please provide screenshots where appropriate and always mention the version of React Native you're using. Thank you for your contributions!

Run gradlew assembleRelease from the android folder on Windows.

Duplicate of #5479

After running gradlew assembleRelease I get this:

  • What went wrong:
    Could not compile build file '~\node_modulesreact-native\ReactAndroid\build.gradle'.

startup failed:
import de.undercouch.gradle.tasks.download.Download

Any clue?

Was this page helpful?
0 / 5 - 0 ratings