Skip to content

Commit a6bd3fb

Browse files
Remove check for ant version
We do not use ant anymore, so we should remove the check. Fixes #941
1 parent 78cfb68 commit a6bd3fb

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

lib/common

lib/services/doctor-service.ts

-8
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,7 @@ class DoctorService implements IDoctorService {
2525
this.printPackageManagerTip();
2626
result = true;
2727
}
28-
if (!sysInfo.antVer) {
29-
this.$logger.warn("WARNING: Apache Ant is not installed or is not configured properly.");
30-
this.$logger.out("You will not be able to build your projects for Android." + EOL
31-
+ "To be able to build for Android, download and install Apache Ant and" + EOL
32-
+ "its dependencies as described in http://ant.apache.org/manual/index.html" + EOL);
3328

34-
this.printPackageManagerTip();
35-
result = true;
36-
}
3729
if (!sysInfo.androidInstalled) {
3830
this.$logger.warn("WARNING: The Android SDK is not installed or is not configured properly.");
3931
this.$logger.out("You will not be able to build your projects for Android and run them in the native emulator." + EOL

0 commit comments

Comments
 (0)