Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Ionic build android throws “Uh oh!” error after updating cordova

$
0
0

@mazz wrote:

I just updated cordova via sudo npm install -g cordova

Now i have the problem, that everytime when i try to build the android app with ionic run android --device i get

Error during processing of action! Attempting to revert...
ERROR running one or more of the platforms: TypeError: Uh oh!
Invalid Version: undefined
You may not have the required environment or OS to run this project

or ionic build android

Error during processing of action! Attempting to revert...
Error: Uh oh!
Invalid Version: undefined

IOS is working fine so i think it's a problem with android?

Android SDK Tools: 24.3.4
Android SDK Platform-tools: 23.0.1
Android SDK Build-tools: 23.0.2
SDK: Android 5.1.1 (API 22)

The combo i have:

Cordova CLI: 5.4.1
Ionic Version: 1.1.0
Ionic CLI Version: 1.7.10
Ionic App Lib Version: 0.6.5
ios-deploy version: 1.7.0
ios-sim version: 4.1.1
OS: Mac OS X El Capitan
Node Version: v0.12.7
Xcode version: Xcode 7.1 Build version 7B91b

Stackoverflow link: http://stackoverflow.com/questions/33981901/ionic-build-android-throws-uh-oh-error-after-updating-cordova

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



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