Кордова: некоторые входные файлы используют или отменяют устаревший API - PullRequest
0 голосов
/ 30 мая 2018

Я проверил на тот же запрос в SO, но у меня ничего не получалось.Пока я пытаюсь запустить приложение (используя cordova run android).Я получаю следующие ошибки

Error: cmd: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:font
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontStyle
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontVariationSettings
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontWeight
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:ttcIndex


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processDebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Для этого я получил одно предложение упомянуть compileSdkVersion в plugin.xml.В соответствии с этим предложением я упомянул

<uses-sdk android:targetSdkVersion="23" android:minSdkVersion="7"/>

, но снова я столкнулся с той же проблемой.Может кто-нибудь знает в чем проблема и как ее решить

Редактировать

      <!--dependencies-->
      <framework src="libs/plugin.gradle" custom="true" type="gradleReference"/>
      <framework src="com.android.support:support-v4:23.2.1" />
      <framework src="commons-io:commons-io:2.4" />
      <framework src="com.google.code.gson:gson:2.3" />
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...