Error to compile Ionic 3 with Cordova: cordova\\node_modules\\cordova-common\\src\\superspawn.js:169:23

本小妞迷上赌 提交于 2019-12-04 17:03:02
BUILD FAILED in 3s
25 actionable tasks: 2 executed, 23 up-to-date
(node:10780) UnhandledPromiseRejectionWarning: Error: cmd: Command failed with exit code 1 Error output:
C:\wellfitapp\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:306: error: resource android:attr/fontVariationSettings not found.
C:\wellfitapp\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:306: error: resource android:attr/ttcIndex not found.
error: failed linking references.

this sounds to me like the real source of the problem... fix values.xml and try again

for this solution you should put in the path of your SDK system as indicated in cordova I add the link, where are the configuration steps: https://cordova.apache.org/docs/en/latest/guide/platforms/android/ steps to fix the error in windows

Add entries for the relevant locations to the PATH. For example (substitute the paths with your local Android SDK installation's location):

C: \ Users \ [your user] \ AppData \ Local \ Android \ Sdk \ platform-tools C: \ Users \ [your user] \ AppData \ Local \ Android \ Sdk \ tools

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!