Compile to apk from Linux Terminal

I want to compile my code to apk from Linux Terminal, I tried to run the gradlew which is in the app's file but stack at the 52% of the progress. I have installed the gradle, (sudoku apt-get install gradle) I have installed the sdk tools. If I have not mentioned something which is important to know for the problem, ask me.

Upvotes: 1

Views: 3722

Answers (1)

Kerem
Kerem

Reputation: 888

Go to your project directory and run

on Windows

gradlew

on Mac or Linux

./gradlew

Check it out android documentation.

Upvotes: 2

Related Questions