Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
cordova-android-7.0.0
-
Cordova 7.1.0
Description
Currently I am working on a Cordova project and I am migrating to the new Android 8.0 emulator.
Need to update android_sdk.js to add support for Android 8.0 emulator
cordova-android / bin / templates / cordova / lib / android_sdk.js Line 53:
module.exports.version_string_to_api_level =
;
This causes exception in emulator.js Line 210
var project_target = check_reqs.get_target().replace('android-', '');
I added '8.0': 26 in android_sdk.js and then it works.
module.exports.version_string_to_api_level = {
'4.0': 14,
'4.0.3': 15,
'4.1': 16,
'4.2': 17,
'4.3': 18,
'4.4': 19,
'4.4W': 20,
'5.0': 21,
'5.1': 22,
'6.0': 23,
'7.0': 24,
'7.1.1': 25,
'8.0': 26
};
Attachments
Attachments
Issue Links
- links to