Index: libadblockplus-android/build.xml |
diff --git a/libadblockplus-android/build.xml b/libadblockplus-android/build.xml |
index c41390f90787663c05fb2519b73246b3b625ad60..a207d37ae52317e48cb19ae74ef984f652ed4314 100644 |
--- a/libadblockplus-android/build.xml |
+++ b/libadblockplus-android/build.xml |
@@ -28,6 +28,15 @@ |
--> |
<property file="ant.properties" /> |
+ <fail |
+ message="sdk.dir is missing. Make sure to generate specify it in local.properties or to inject it through an env var" |
+ unless="sdk.dir" |
+ /> |
+ <fail |
+ message="ndk.dir is missing. Make sure to generate specify it in local.properties or to inject it through an env var" |
+ unless="ndk.dir" |
+ /> |
+ |
<!-- The project.properties file is created and updated by the 'android' |
tool, as well as ADT. |