Merge branch 'master' into super-fdroid
This commit is contained in:
commit
588e22462b
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -8,7 +8,7 @@
|
|||||||
ignore = dirty
|
ignore = dirty
|
||||||
[submodule "extern/AndroidPinning"]
|
[submodule "extern/AndroidPinning"]
|
||||||
path = extern/AndroidPinning
|
path = extern/AndroidPinning
|
||||||
url = https://github.com/binaryparadox/AndroidPinning.git
|
url = http://gitlab.doeg.gy/cpu/androidpinning.git
|
||||||
ignore = dirty
|
ignore = dirty
|
||||||
[submodule "extern/libsuperuser"]
|
[submodule "extern/libsuperuser"]
|
||||||
path = extern/libsuperuser
|
path = extern/libsuperuser
|
||||||
|
25
README.md
25
README.md
@ -87,6 +87,31 @@ You can also run the tests in Eclipse. Here's how:
|
|||||||
5. Right-click on the **fdroid-test** project, then *Run As...* -> *Android JUnit Test*
|
5. Right-click on the **fdroid-test** project, then *Run As...* -> *Android JUnit Test*
|
||||||
|
|
||||||
|
|
||||||
|
Troubleshooting
|
||||||
|
---------------
|
||||||
|
|
||||||
|
When building F-Droid, the following error may occur:
|
||||||
|
|
||||||
|
> Invalid file: extern/UniversalImageLoader/library/build.xml
|
||||||
|
|
||||||
|
Check the output of the ./ant-prepare.sh command. This error is often
|
||||||
|
accompanied by the following message:
|
||||||
|
|
||||||
|
> Error: The project either has no target set or the target is invalid.
|
||||||
|
> Please provide a --target to the 'android update' command.
|
||||||
|
|
||||||
|
The most likely cause of this is that your installed Android SDK is missing
|
||||||
|
the target version specified by one of the dependencies. For example, at the
|
||||||
|
time of writing this, UniversalImageLoader uses the "android-16" target API,
|
||||||
|
however the default install of the Android SDK will usually only install the
|
||||||
|
latest version ("android-19" as of writing). So you will have to install
|
||||||
|
the "android-16" target via the SDK manager.
|
||||||
|
|
||||||
|
NOTE: While it may be tempting to add "--target=android-19" to the
|
||||||
|
ant-prepare.sh script, it is not the correct solution. Although it may work,
|
||||||
|
it can cause strange bugs at runtime.
|
||||||
|
|
||||||
|
|
||||||
License
|
License
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
@ -6,6 +6,10 @@ android update lib-project --path extern/MemorizingTrustManager
|
|||||||
android update lib-project --path extern/libsuperuser/libsuperuser
|
android update lib-project --path extern/libsuperuser/libsuperuser
|
||||||
android update project --path . --name F-Droid
|
android update project --path . --name F-Droid
|
||||||
|
|
||||||
|
{ echo -e "\nSuccessfully updated the main project.\n"; } 2>/dev/null
|
||||||
|
|
||||||
# technically optional, needed for the tests
|
# technically optional, needed for the tests
|
||||||
cd test
|
cd test
|
||||||
android update test-project --path . --main ..
|
android update test-project --path . --main ..
|
||||||
|
|
||||||
|
{ echo -e "\nSuccessfully updated the test project.\n"; } 2>/dev/null
|
||||||
|
2
extern/AndroidPinning
vendored
2
extern/AndroidPinning
vendored
@ -1 +1 @@
|
|||||||
Subproject commit ce84a19e753bbcc3304525f763edb7d7f3b62429
|
Subproject commit a0d713c6162b7016a3c3f55bcaefcdca4acacebd
|
Loading…
x
Reference in New Issue
Block a user