Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49184

Ionic cordova emulate bug

$
0
0

@godefroid wrote:

> cordova requirements

Requirements check results for android:

Java JDK: installed 1.8.0

Android SDK: installed true
Android target: installed android-26,android-25,android-24,android-23
Gradle: installed /Applications/Android Studio.app/Contents/gradle/gradle-4.1/bin/gradle

Requirements check results for ios:

Apple macOS: installed darwin
Xcode: installed [object Object]
ios-deploy: installed [object Object]

CocoaPods: not installed
/bin/sh: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory

Error: Some of requirements check failed
> cordova run android --list --emulator
Available android virtual devices:

Nexus_5_API_26
Nexus_6_API_23
ionic cordova emulate android --verbose
[DEBUG] Reason for not using local CLI: LOCAL_CLI_NOT_FOUND
[DEBUG] CLI flags: { interactive: true, confirm: false }
[DEBUG] { cwd: '/Users/gillesgodefroid/Documents/Test', local: false, binPath:
        '/usr/local/lib/node_modules/ionic/bin/ionic', libPath:
        '/usr/local/lib/node_modules/ionic/dist/index.js' }
[DEBUG] Daemon found (pid: 2011)
> cordova platform add i --save
Using cordova-fetch for i

Adding i project...

Unable to load PlatformApi from platform. Error: Unhandled "error" event. (Does not appear to implement platform Api.)

Error: Unhandled "error" event. (The platform "i" does not appear to be a valid cordova platform. It is missing API.js. i not supported.)

[ERROR] Exception:

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 49184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>