姬長信(Redy)

android – Ionic Cordova应用程序在Google 6月17…


在使用Breaking Changes更新Firebase主要版本后,我无法编译Ionic Cordova应用程序,特别是2019年6月17日更新.

我尝试降级到Android Cordova 6.3.0,但我的项目必须是7.0.0.

这是我的离子信息:

@ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:

    cordova (Cordova CLI) : 8.0.0

local packages:

    @ionic/app-scripts : 3.2.1
    Cordova Platforms  : android 7.0.0 browser 5.0.4
    Ionic Framework    : ionic-angular 3.9.3

System:

    Android SDK Tools : 26.1.1
    Node              : v8.9.1
    npm               : 5.5.1
    OS                : Windows 10

Environment Variables:

    ANDROID_HOME : C:/Development/android-sdk

Misc:

    backend : pro

这是我得到的错误:

:app:processDebugResources
C:/Users/mmzep.gradle/caches/transforms-1/files-1.1/core-1.0.0.aar/73b4a83ab5e76f20c84a66b1c8444d08/res/values/values.xml:133:5-70: AAPT: error: resource android:attr/fontVariationSettings not found.

C:/Users/mmzep.gradle/caches/transforms-1/files-1.1/core-1.0.0.aar/73b4a83ab5e76f20c84a66b1c8444d08/res/values/values.xml:133:5-70: AAPT: error: resource android:attr/ttcIndex not found.

C:/Users/mmzep/Desktop/mario/Seven/SevenPassengerApp/platforms/android/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:95:
error: resource android:attr/fontVariationSettings not found.
C:/Users/mmzep/Desktop/mario/Seven/SevenPassengerApp/platforms/android/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:95:
error: resource android:attr/ttcIndex not found. error: failed linking
references.

Failed to execute aapt

com.android.ide.common.process.ProcessException: Failed to execute
aapt