Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cd android && ./gradlew assembleRelease '.' is not recognized as an internal or external command, operable program or batch file

The official ReactJS documentation suggests to run the following command in the terminal for generating the release APK

cd android && ./gradlew assembleRelease

I get an exception in response to this command:

cd android && ./gradlew assembleRelease '.' is not recognized as an internal or external command, operable program or batch file.

What is an issue?

like image 880
Roman Avatar asked Mar 04 '18 06:03

Roman


People also ask

What is CI and CD in Android?

Continuous integration (CI) and continuous delivery (CD) embody a culture, set of operating principles, and collection of practices that enable application development teams to deliver code changes more frequently and reliably. The implementation is also known as the CI/CD pipeline.

What is CD in Mobile?

Continuous Integration / Continuous Deployment (CI/CD) is the most widely adopted way of delivering software applications. There are fundamental differences between World Wide Web and mobile application platforms like Android and iOS. So implementing CI CD for mobile apps might involve different setups.

What is continuous integration android?

Continuous integration systems let you automatically build and test your app every time you check in updates to your source control system. You can use any continuous integration tool that can initiate a Gradle build to build your Android Studio projects.

What is CI CD used for?

Overview. CI/CD is a method to frequently deliver apps to customers by introducing automation into the stages of app development. The main concepts attributed to CI/CD are continuous integration, continuous delivery, and continuous deployment.


1 Answers

For Windows you need to use backslash in the original command

cd android && ./gradlew assembleRelease
like image 193
Ah Bo Avatar answered Sep 22 '22 11:09

Ah Bo