@mudasirsayed93 wrote:
While running sudo ionic cordova emulate ios --target iPhone-SE
I’m getting error below:
** BUILD SUCCEEDED **
io.ionic.starter: 1564
Error: ENOENT: no such file or directory, stat ‘/Users/mac/Library/Logs/CoreSimulator/888C6571-60AD-4D9E-9CE5-C42CCB9BCF4A/system.log’
[ERROR] An error occurred while running cordova emulate ios --target iPhone-SE
(exit code 1).While running sudo ionic cordova build android
getting error blow:Android Studio project detected
ANDROID_HOME=/Users/mac/Library/Android/sdk
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home
studio
(node:1712) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Could not find an installed version of Gradle either in Android Studio,
or on your system to install the gradle wrapper. Please include gradle
in your path, or install Android StudioIonic info below:
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 1.19.1 ionic (Ionic CLI) : 3.19.1
global packages:
cordova (Cordova CLI) : 8.0.0
local packages:
@ionic/app-scripts : 3.1.8 Cordova Platforms : android 7.0.0 ios 4.5.0 Ionic Framework : ionic-angular 3.9.2
System:
ios-sim : 6.1.2 Node : v6.11.3 npm : 5.6.0 OS : macOS High Sierra Xcode : Xcode 9.2 Build version 9C40b
Environment Variables:
ANDROID_HOME : not set
Misc:
backend : pro
Posts: 1
Participants: 1