You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 2, 2021. It is now read-only.
this.$logger.out("TIP: To avoid setting up the necessary environment variables, you can use the chocolatey package manager to install the Android SDK and its dependencies."+os.EOL);
52
-
}elseif(this.$hostInfo.isDarwin){
53
-
this.$logger.out("TIP: To avoid setting up the necessary environment variables, you can use the Homebrew package manager to install the Android SDK and its dependencies."+os.EOL);
54
-
}
55
-
}
56
-
57
-
privateprintNSWarnings(sysInfo: ISysInfoData){
58
-
if(!sysInfo.adbVer){
59
-
this.$logger.warn("WARNING: adb from the Android SDK is not installed or is not configured properly.");
60
-
this.$logger.out("For Android-related operations, the NativeScript CLI will use a built-in version of adb."+os.EOL
61
-
+"To avoid possible issues with the native Android emulator, Genymotion or connected"+os.EOL
62
-
+"Android devices, verify that you have installed the latest Android SDK and"+os.EOL
63
-
+"its dependencies as described in http://developer.android.com/sdk/index.html#Requirements"+os.EOL);
64
-
65
-
this.printPackageManagerTip();
66
-
}
67
-
if(!sysInfo.antVer){
68
-
this.$logger.warn("WARNING: Apache Ant is not installed or is not configured properly.");
69
-
this.$logger.out("You will not be able to build your projects for Android."+os.EOL
70
-
+"To be able to build for Android, download and install Apache Ant and"+os.EOL
71
-
+"its dependencies as described in http://ant.apache.org/manual/index.html"+os.EOL);
72
-
73
-
this.printPackageManagerTip();
74
-
}
75
-
if(!sysInfo.androidInstalled){
76
-
this.$logger.warn("WARNING: The Android SDK is not installed or is not configured properly.");
77
-
this.$logger.out("You will not be able to build your projects for Android and run them in the native emulator."+os.EOL
78
-
+"To be able to build for Android and run apps in the native emulator, verify that you have"+os.EOL
79
-
+"installed the latest Android SDK and its dependencies as described in http://developer.android.com/sdk/index.html#Requirements"+os.EOL
80
-
);
81
-
82
-
this.printPackageManagerTip();
83
-
}
84
-
if(this.$hostInfo.isDarwin&&!sysInfo.xcodeVer){
85
-
this.$logger.warn("WARNING: Xcode is not installed or is not configured properly.");
86
-
this.$logger.out("You will not be able to build your projects for iOS or run them in the iOS Simulator."+os.EOL
87
-
+"To be able to build for iOS and run apps in the native emulator, verify that you have installed Xcode."+os.EOL);
88
-
}
89
-
if(!sysInfo.itunesInstalled){
90
-
this.$logger.warn("WARNING: iTunes is not installed.");
91
-
this.$logger.out("You will not be able to work with iOS devices via cable connection."+os.EOL
92
-
+"To be able to work with connected iOS devices,"+os.EOL
93
-
+"download and install iTunes from http://www.apple.com"+os.EOL);
94
-
}
95
-
if(!sysInfo.javaVer){
96
-
this.$logger.warn("WARNING: The Java Development Kit (JDK) is not installed or is not configured properly.");
97
-
this.$logger.out("You will not be able to work with the Android SDK and you might not be able"+os.EOL
98
-
+"to perform some Android-related operations. To ensure that you can develop and"+os.EOL
99
-
+"test your apps for Android, verify that you have installed the JDK as"+os.EOL
100
-
+"described in http://docs.oracle.com/javase/8/docs/technotes/guides/install/install_overview.html (for JDK 8)"+os.EOL
0 commit comments