rnn
rnn

Reputation: 2553

get android apk from react-native

I try to get apk from react-native. when I try to do this in commmand prompt

C:\Program Files\Java\jdk1.8.0_181\bin>cd android && ./gradlew assembleRelease

*it says to me: *

system file not found.

I searched on web but nothing help me

Upvotes: 0

Views: 620

Answers (1)

Vinil Prabhu
Vinil Prabhu

Reputation: 1289

this needs to be done in your project folder and not in jdk folder

first go to your Project folder

cd ~/Projects/React/YourProject

then do cd android && ./gradlew assembleRelease

apk files will be generated in android/app/build/outputs/apk/debug/

Upvotes: 1

Related Questions