升级到Studio Canary构建.我之前的Telegram Messenger项目给出了以下错误.
错误:所有风味现在必须属于命名风味维度.风味'armv7'未分配给风味维度.有关详细信息,请访问https://d.android.com/r/tools/flavorDimensions-missing-error-message.html
我该怎么办?我已经看过那个链接,但无法理解该怎么做.我现在有3个构建变体,发布,调试和foss.
当我运行时cordova build android --buildConfig xxxx --release,我收到以下错误:
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontVariationSettings
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:ttcIndex
Run Code Online (Sandbox Code Playgroud)
奇怪的是我使用两台macOS机器进行编译,我只在其中一台机器上获得相同代码的错误.
这是./gradlew cdvPrintProps我在两台机器上的输出:
:cdvPrintProps
cdvCompileSdkVersion=26
cdvBuildToolsVersion=27.0.3
cdvVersionCode=null
cdvMinSdkVersion=21
cdvBuildMultipleApks=true
cdvReleaseSigningPropertiesFile=release-signing.properties
cdvDebugSigningPropertiesFile=null
cdvBuildArch=null
computedVersionCode=152045989
computedArmv7VersionCode=1520459892
computedX86VersionCode=1520459894
Run Code Online (Sandbox Code Playgroud)
以下是使用的插件列表:
$ cordova plugins list
cordova-custom-config 5.0.2 "cordova-custom-config"
cordova-fabric-plugin 1.1.10 "cordova-fabric-plugin"
cordova-open-native-settings 1.5.0 "Native settings"
cordova-plugin-app-event 1.2.1 "Application Events"
cordova-plugin-app-version 0.1.9 "AppVersion"
cordova-plugin-camera 2.4.1 "Camera"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-console 1.1.0 "Console"
cordova-plugin-crosswalk-webview 2.4.0 "Crosswalk WebView Engine"
cordova-plugin-datepicker …Run Code Online (Sandbox Code Playgroud)