@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 getError 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