- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当我构建我的android项目时,出现以下错误
Error:In <declare-styleable> FontFamilyFont, unable to find attribute android:fontVariationSettings
之前我可以很好的搭建项目,也没有修改任何配置,以下是我的相关配置
项目build.gradle
buildscript {
repositories {
mavenCentral()
jcenter{
url 'http://jcenter.bintray.com/'
}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'org.greenrobot:greendao-gradle-plugin:3.2.1'
classpath 'me.tatarka:gradle-retrolambda:3.2.4'
}
}
allprojects {
repositories {
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
maven{ url 'https://download.01.org/crosswalk/releases/crosswalk/android/maven2' }
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
应用构建.gradle
android {
compileSdkVersion 27
buildToolsVersion "27.0.2"
defaultConfig {
applicationId "com.bsyx.callsystem"
minSdkVersion 19
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:support-v4:27.1.0'
compile 'com.android.support:appcompat-v7:27.1.0'
compile 'com.android.support:design:27.1.0'
compile 'com.android.support:recyclerview-v7:27.1.0'
compile 'com.android.support:cardview-v7:27.1.0'
}
错误详情如下
最佳答案
将“com.android.support:support-v4:27.1.0”更改为以下内容
configurations.all {
resolutionStrategy {
force 'com.android.support:support-v4:27.1.0'
}}
关于android构建错误错误:In <declare-styleable> FontFamilyFont,无法找到属性android:fontVariationSettings,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49186423/
当我构建我的android项目时,出现以下错误 Error:In FontFamilyFont, unable to find attribute android:fontVariationSett
在 react native 中构建我的项目时,我收到以下错误: > Task :app:processDebugGoogleServices Parsing json file: /Users/ja
这个问题在这里已经有了答案: Running "cordova build android" - unable to find attribute android:fontVariationSetti
错误:在 FontFamilyFont 中,无法找到属性 android:fontVariationSettings错误:在 FontFamilyFont 中,无法找到属性 android:ttcIn
我在我的项目中使用 Glide 3.7,由于性能问题,我想将其更新到最新版本。如 Glide 网站所述,我从 Gradle 更新了 Glide。但是更新后,我在 Gradle 构建过程中遇到了一些错误
我正在尝试在 cordova 中构建一个应用程序。直到最近几天,一切都运行良好。但是现在构建不断失败。 错误是 ERROR: In FontFamilyFont, unable to find at
我是一名优秀的程序员,十分优秀!