README: improve build instructions and add some building tips
This commit is contained in:
parent
94ace2e1af
commit
a777c89ef6
15
README.md
15
README.md
@ -15,10 +15,10 @@ gradle wrapper.
|
|||||||
|
|
||||||
Once you have checked out the version you wish to build, run:
|
Once you have checked out the version you wish to build, run:
|
||||||
|
|
||||||
```
|
cd F-Droid
|
||||||
cd F-Droid
|
gradle assembleRelease
|
||||||
gradle clean assembleRelease
|
|
||||||
```
|
The resulting apk will be in `build/outputs/apk/`.
|
||||||
|
|
||||||
Android Studio
|
Android Studio
|
||||||
--------------
|
--------------
|
||||||
@ -26,6 +26,13 @@ Android Studio
|
|||||||
From Android Studio: File -> Import Project -> Select the cloned top folder
|
From Android Studio: File -> Import Project -> Select the cloned top folder
|
||||||
|
|
||||||
|
|
||||||
|
Building tips
|
||||||
|
-------------
|
||||||
|
|
||||||
|
* Use `gradle --daemon` if you are going to build F-Droid multiple times.
|
||||||
|
* If you get a message like `Could not find com.android.support:support-...`,
|
||||||
|
make sure that you have the latest Android support maven repository
|
||||||
|
|
||||||
Direct download
|
Direct download
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user