I'm unable to compile Ionic Cordova App after Firebase Major version update with Breaking Changes, specifically with June 17, 2019 update.
I tried downgrading to Android Cordova 6.3.0 but my project must be 7.0.0.
This is my ionic info:
@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:Developmentandroid-sdk
Misc:
backend : pro
This is the error I'm Getting:
:app:processDebugResources
C:Usersmmzep.gradlecachesransforms-1files-1.1core-1.0.0.aar73b4a83ab5e76f20c84a66b1c8444d08
esvaluesvalues.xml:133:5-70: AAPT: error: resource android:attr/fontVariationSettings not found.
C:Usersmmzep.gradlecachesransforms-1files-1.1core-1.0.0.aar73b4a83ab5e76f20c84a66b1c8444d08
esvaluesvalues.xml:133:5-70: AAPT: error: resource android:attr/ttcIndex not found.
C:UsersmmzepDesktopmarioSevenSevenPassengerAppplatformsandroidappuildintermediatesincrementalmergeDebugResourcesmerged.dirvaluesvalues.xml:95:
error: resource android:attr/fontVariationSettings not found.
C:UsersmmzepDesktopmarioSevenSevenPassengerAppplatformsandroidappuildintermediatesincrementalmergeDebugResourcesmerged.dirvaluesvalues.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
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…