编译错误Android SDK 中未找到文件夹 'android-10'秋指导

编译模式:debug
使用 Android Studio 工程:F:\XMFBW\jsb-default\frameworks\runtime-src\proj.android-studio
在 Android SDK 中未找到文件夹 'android-10.

编译日志
2019-03-21T14:40:08.302Z - normal: Load ~/.CocosCreator/settings.json
2019-03-21T14:40:09.573Z - normal: Initializing Asset Database
2019-03-21T14:40:09.601Z - normal: checking language setting…
2019-03-21T14:40:09.601Z - normal: Language: zh
2019-03-21T14:40:12.564Z - success: preview server running at http://localhost:7456
2019-03-21T14:40:12.569Z - success: protocol editor-framework registered
2019-03-21T14:40:12.569Z - success: protocol app registered
2019-03-21T14:40:12.570Z - success: protocol theme registered
2019-03-21T14:40:12.570Z - success: protocol packages registered
2019-03-21T14:40:12.570Z - success: protocol uuid registerred
2019-03-21T14:40:12.570Z - success: protocol db registerred
2019-03-21T14:40:12.571Z - success: protocol thumbnail registerred
2019-03-21T14:40:12.571Z - success: protocol unpack registerred
2019-03-21T14:40:12.571Z - success: protocol disable-commonjs registerred
2019-03-21T14:40:12.830Z - normal: connected!
2019-03-21T14:40:12.834Z - normal: Check project F:\TiledMap\mappproject\tk3\tk3
2019-03-21T14:40:12.839Z - normal: Initializing project F:\TiledMap\mappproject\tk3\tk3
2019-03-21T14:40:14.396Z - normal: Initializing Cocos2d
2019-03-21T14:40:16.851Z - normal: Initializing engine extends
2019-03-21T14:40:17.231Z - success: asset-db-debugger loaded
2019-03-21T14:40:17.239Z - success: baidu-adapter loaded
2019-03-21T14:40:17.248Z - success: code-editor loaded
2019-03-21T14:40:17.251Z - success: color-picker loaded
2019-03-21T14:40:17.601Z - success: fb-audience-network loaded
2019-03-21T14:40:17.770Z - success: fb-live-stream loaded
2019-03-21T14:40:17.798Z - success: google-play-instant loaded
2019-03-21T14:40:17.842Z - success: huawei-runtime loaded
2019-03-21T14:40:17.843Z - success: jsb-adapter loaded
2019-03-21T14:40:17.871Z - success: oppo-runtime loaded
2019-03-21T14:40:17.882Z - success: package-manager loaded
2019-03-21T14:40:18.521Z - success: qqplay-adapter loaded
2019-03-21T14:40:18.531Z - success: runtime-dev-tools loaded
2019-03-21T14:40:18.556Z - success: sdkbox loaded
2019-03-21T14:40:18.562Z - success: tester loaded
2019-03-21T14:40:18.566Z - success: ui-grid loaded
2019-03-21T14:40:18.592Z - success: ui-kit-preview-extra loaded
2019-03-21T14:40:18.596Z - success: ui-kit-preview loaded
2019-03-21T14:40:18.599Z - success: ui-kit loaded
2019-03-21T14:40:18.602Z - success: ui-tree loaded
2019-03-21T14:40:18.636Z - success: vivo-runtime loaded
2019-03-21T14:40:18.642Z - success: weapp-adapter loaded
2019-03-21T14:40:18.730Z - success: assets loaded
2019-03-21T14:40:18.734Z - success: builder loaded
2019-03-21T14:40:19.660Z - success: cocos-services loaded
2019-03-21T14:40:19.675Z - success: console loaded
2019-03-21T14:40:19.759Z - success: fb-instant-games loaded
2019-03-21T14:40:19.762Z - success: google-instant-games loaded
2019-03-21T14:40:19.771Z - success: hierarchy loaded
2019-03-21T14:40:19.776Z - success: inspector loaded
2019-03-21T14:40:19.778Z - success: keystore loaded
2019-03-21T14:40:19.786Z - success: node-library loaded
2019-03-21T14:40:19.790Z - success: package-asset loaded
2019-03-21T14:40:19.792Z - success: preferences loaded
2019-03-21T14:40:19.795Z - success: project-exporter loaded
2019-03-21T14:40:19.798Z - success: project-importer loaded
2019-03-21T14:40:19.802Z - success: project-settings loaded
2019-03-21T14:40:19.809Z - success: scene loaded
2019-03-21T14:40:19.813Z - success: simulator-debugger loaded
2019-03-21T14:40:19.818Z - success: sprite-editor loaded
2019-03-21T14:40:19.840Z - success: store loaded
2019-03-21T14:40:19.850Z - success: timeline loaded
2019-03-21T14:40:22.830Z - normal: Loading packages
2019-03-21T14:40:22.844Z - normal: Watching packages
2019-03-21T14:40:23.843Z - info: Cocos Services load base data!
2019-03-21T14:40:24.180Z - normal: Run Application
2019-03-21T15:24:53.399Z - normal: Start building with options : {
“actualPlatform”: “android”,
“android-instant”: {
“REMOTE_SERVER_ROOT”: “http://192.168.1.100:7456/preview-android-instant/”,
“host”: “org.cocos2d.tk3”,
“pathPattern”: “/game”,
“recordPath”: “”,
“scheme”: “https”,
“skipRecord”: false
},
“apiLevel”: “”,
“appABIs”: [],
“appBundle”: false,
“baidugame”: {
“REMOTE_SERVER_ROOT”: “”,
“appid”: “testappid”,
“orientation”: “portrait”,
“subContext”: “”
},
“buildPath”: “F:\XMFBW”,
“debug”: true,
“dest”: “F:\XMFBW\jsb-default”,
“embedWebDebugger”: false,
“encryptJs”: false,
“excludeScenes”: [],
“excludedModules”: [],
“fb-instant-games”: {},
“includeSDKBox”: false,
“inlineSpriteFrames”: true,
“inlineSpriteFrames_native”: true,
“md5Cache”: false,
“mergeStartScene”: false,
“optimizeHotUpdate”: false,
“orientation”: {
“landscapeLeft”: true,
“landscapeRight”: true,
“portrait”: false,
“upsideDown”: false
},
“packageName”: “org.cocos2d.tk3”,
“platform”: “android”,
“previewHeight”: “720”,
“previewWidth”: “1280”,
“qqplay”: {
“REMOTE_SERVER_ROOT”: “”,
“orientation”: “portrait”
},
“scenes”: [
“b21ba459-324b-429a-b29f-53bccf01de48”
],
“sourceMaps”: false,
“startScene”: “b21ba459-324b-429a-b29f-53bccf01de48”,
“template”: “default”,
“title”: “tk”,
“useDebugKeystore”: true,
“vsVersion”: “auto”,
“webOrientation”: “auto”,
“wechatgame”: {
“REMOTE_SERVER_ROOT”: “”,
“appid”: “wx6ac3f5090a6b99c5”,
“isSubdomain”: false,
“orientation”: “portrait”,
“subContext”: “”
},
“xxteaKey”: “e9a2826b-09c7-4f”,
“zipCompressJs”: false,
“project”: “F:\TiledMap\mappproject\tk3\tk3”,
“projectName”: “tk”,
“debugBuildWorker”: false
}
2019-03-21T15:24:53.410Z - normal: Building F:\TiledMap\mappproject\tk3\tk3
2019-03-21T15:24:53.411Z - normal: Destination F:\XMFBW\jsb-default
2019-03-21T15:24:53.852Z - normal: Delete F:\XMFBW\jsb-default\subpackages//*,F:\XMFBW\jsb-default\res//,F:\XMFBW\jsb-default\src/**/
2019-03-21T15:25:00.452Z - normal: Start building assets
2019-03-21T15:25:00.452Z - normal: Start spawn build-worker
2019-03-21T15:25:01.857Z - normal: Finish spawn build-worker
2019-03-21T15:25:01.857Z - normal: Start init build-worker
2019-03-21T15:25:08.464Z - normal: Finish init build-worker
2019-03-21T15:25:08.465Z - normal: Start build-assets in worker
2019-03-21T15:25:09.348Z - info: Enable “内联所有 SpriteFrame” in native platform will increase the package size used in hot update.
2019-03-21T15:25:09.507Z - normal: Finish build-assets in worker
2019-03-21T15:25:09.514Z - normal: Finish building assets
2019-03-21T15:25:09.525Z - normal: Start building plugin scripts
2019-03-21T15:25:09.559Z - normal: Generating main.js from F:\cocoscreater\CocosCreator\resources\static\build-templates\shares\main.js
2019-03-21T15:25:09.583Z - normal: Built to “F:\XMFBW\jsb-default” successfully
2019-03-21T15:25:14.960Z - normal: Start to compile native project. Please wait…
2019-03-21T15:25:14.961Z - normal: The log file path [ C:\Users\Administrator.CocosCreator\logs\native.log ]
2019-03-21T15:25:16.855Z - failed: Error: Compile failed. The log file path [ C:\Users\Administrator.CocosCreator\logs\native.log ]
at ChildProcess.q (F:\cocoscreater\CocosCreator\resources\app.asar\editor\core\native-utils.js:1:18864)
at ChildProcess.r.on (F:\cocoscreater\CocosCreator\resources\app.asar\editor\core\native-utils.js:1:6589)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:194:7)
at maybeClose (internal/child_process.js:899:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
2019-03-21T15:31:18.670Z - normal: Start to compile native project. Please wait…
2019-03-21T15:31:18.677Z - normal: The log file path [ C:\Users\Administrator.CocosCreator\logs\native.log ]
2019-03-21T15:31:20.034Z - failed: Error: Compile failed. The log file path [ C:\Users\Administrator.CocosCreator\logs\native.log ]
at ChildProcess.q (F:\cocoscreater\CocosCreator\resources\app.asar\editor\core\native-utils.js:1:18864)
at ChildProcess.r.on (F:\cocoscreater\CocosCreator\resources\app.asar\editor\core\native-utils.js:1:6589)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:194:7)
at maybeClose (internal/child_process.js:899:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
2019-03-21T15:34:02.347Z - normal: Start building with options : {
“actualPlatform”: “android”,
“android-instant”: {
“REMOTE_SERVER_ROOT”: “http://192.168.1.100:7456/preview-android-instant/”,
“host”: “org.cocos2d.tk3”,
“pathPattern”: “/game”,
“recordPath”: “”,
“scheme”: “https”,
“skipRecord”: false
},
“apiLevel”: “”,
“appABIs”: [],
“appBundle”: false,
“baidugame”: {
“REMOTE_SERVER_ROOT”: “”,
“appid”: “testappid”,
“orientation”: “portrait”,
“subContext”: “”
},
“buildPath”: “F:\XMFBW”,
“debug”: true,
“dest”: “F:\XMFBW\jsb-default”,
“embedWebDebugger”: false,
“encryptJs”: false,
“excludeScenes”: [],
“excludedModules”: [],
“fb-instant-games”: {},
“includeSDKBox”: false,
“inlineSpriteFrames”: true,
“inlineSpriteFrames_native”: true,
“md5Cache”: false,
“mergeStartScene”: false,
“optimizeHotUpdate”: false,
“orientation”: {
“landscapeLeft”: true,
“landscapeRight”: true,
“portrait”: false,
“upsideDown”: false
},
“packageName”: “org.cocos2d.tk3”,
“platform”: “android”,
“previewHeight”: “720”,
“previewWidth”: “1280”,
“qqplay”: {
“REMOTE_SERVER_ROOT”: “”,
“orientation”: “portrait”
},
“scenes”: [
“b21ba459-324b-429a-b29f-53bccf01de48”
],
“sourceMaps”: false,
“startScene”: “b21ba459-324b-429a-b29f-53bccf01de48”,
“template”: “default”,
“title”: “tk”,
“useDebugKeystore”: true,
“vsVersion”: “auto”,
“webOrientation”: “auto”,
“wechatgame”: {
“REMOTE_SERVER_ROOT”: “”,
“appid”: “wx6ac3f5090a6b99c5”,
“isSubdomain”: false,
“orientation”: “portrait”,
“subContext”: “”
},
“xxteaKey”: “e9a2826b-09c7-4f”,
“zipCompressJs”: false,
“project”: “F:\TiledMap\mappproject\tk3\tk3”,
“projectName”: “tk”,
“debugBuildWorker”: false
}
2019-03-21T15:34:02.360Z - normal: Building F:\TiledMap\mappproject\tk3\tk3
2019-03-21T15:34:02.360Z - normal: Destination F:\XMFBW\jsb-default
2019-03-21T15:34:02.365Z - normal: Delete F:\XMFBW\jsb-default\subpackages//*,F:\XMFBW\jsb-default\res//,F:\XMFBW\jsb-default\src/**/
2019-03-21T15:34:07.077Z - normal: Start building assets
2019-03-21T15:34:07.077Z - normal: Start spawn build-worker
2019-03-21T15:34:08.442Z - normal: Finish spawn build-worker
2019-03-21T15:34:08.443Z - normal: Start init build-worker
2019-03-21T15:34:14.911Z - normal: Finish init build-worker
2019-03-21T15:34:14.911Z - normal: Start build-assets in worker
2019-03-21T15:34:15.170Z - info: Enable “内联所有 SpriteFrame” in native platform will increase the package size used in hot update.
2019-03-21T15:34:15.321Z - normal: Finish build-assets in worker
2019-03-21T15:34:15.329Z - normal: Finish building assets
2019-03-21T15:34:15.343Z - normal: Start building plugin scripts
2019-03-21T15:34:15.356Z - normal: Generating main.js from F:\cocoscreater\CocosCreator\resources\static\build-templates\shares\main.js
2019-03-21T15:34:15.380Z - normal: Built to “F:\XMFBW\jsb-default” successfully
2019-03-21T15:34:19.202Z - normal: Start to compile native project. Please wait…
2019-03-21T15:34:19.202Z - normal: The log file path [ C:\Users\Administrator.CocosCreator\logs\native.log ]
2019-03-21T15:34:20.520Z - failed: Error: Compile failed. The log file path [ C:\Users\Administrator.CocosCreator\logs\native.log ]
at ChildProcess.q (F:\cocoscreater\CocosCreator\resources\app.asar\editor\core\native-utils.js:1:18864)
at ChildProcess.r.on (F:\cocoscreater\CocosCreator\resources\app.asar\editor\core\native-utils.js:1:6589)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:194:7)
at maybeClose (internal/child_process.js:899:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

sdk没下载下来吧,检查下你的Android SDK这个目录下面有没有对应的版本。另外android-10那是对应android 2.2的系统了,这么老的api……creator最低是要android-16哦