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.
Asked
Active
Viewed 3,051 times
1
-
`./gradlew clean build` should be all you need. (provided Java and Android SDK is installed). Make sure to wait long enough, a lot of files will be downloaded during the process. – Henry Jun 09 '17 at 08:08
1 Answers
2
Go to your project directory and run
on Windows
gradlew
on Mac or Linux
./gradlew
Check it out android documentation.

Kerem
- 840
- 7
- 22