For SDK 21 ("android-21"
)
$ cordova platforms remove android
$ cordova platforms add [email protected]
For SDK 22 (Android 4.1.1, "android-22"
)
$ cordova platforms remove android
$ cordova platforms add [email protected]
More info: https://cordova.apache.org/announcements/2015/07/21/cordova-android-4.1.0.html
More Related Contents:
- Running “cordova build android” – unable to find attribute android:fontVariationSettings and android:ttcIndex
- Could not find runtime.jar (android.arch.lifecycle:runtime:1.0.0)
- Getting Gradle error “Could not reserve enough space for object heap” constantly in Intellij IDEA
- Error retrieving parent for item: No resource found that matches the given name after upgrading to AppCompat v23
- Gradle Implementation vs API configuration
- Communication between Android Java and Phonegap Javascript?
- You have not accepted the license agreements of the following SDK components [duplicate]
- Could not find com.android.tools.build:gradle:3.0.0-alpha1 in circle ci
- Android Studio – mergeDebugResources exception
- How to set versionName in APK filename using gradle?
- Phonegap – add a splash screen for Android app
- How do I import material design library to Android Studio?
- Execution failed for task ‘app:mergeDebugResources’ Crunching Cruncher….png failed
- Could not find com.google.android.gms:play-services:3.1.59 3.2.25 4.0.30 4.1.32 4.2.40 4.2.42 4.3.23 4.4.52 5.0.77 5.0.89 5.2.08 6.1.11 6.1.71 6.5.87
- Upgraded to Android studio 3.4 – Aapt2InternalException: AAPT2: Daemon startup failed
- Change apk name with Gradle
- APK signing error : Failed to read key from keystore
- Gradle is issuing an error “Could not create plugin of type ‘AppPlugin'”
- cordova – Error: Failed to fetch platform android
- Cordova – white screen after splash, no exceptions in console
- Android Studio: Exclude resource file under resources sourceSets
- First launch take long time (ClassLoader referenced unknown path)
- Android 4.3 and PhoneGap, cant tap link
- Google Play Store Release Issue [closed]
- Android Studio and Gradle build error
- Generating iOS and Android icons in Cordova / PhoneGap
- How to link assets/www folder in Eclipse / Phonegap / Android project?
- Build variants in Gradle for a Library Project in Android
- Importing gradle project to eclipse
- Failed to resolve: com.android.support.design:25.4.0