- mongodb - 在 MongoDB mapreduce 中,如何展平值对象?
- javascript - 对象传播与 Object.assign
- html - 输入类型 ="submit"Vs 按钮标签它们可以互换吗?
- sql - 使用 MongoDB 而不是 MS SQL Server 的优缺点
Warning:The
android.dexOptions.incremental
property is deprecated and it has no effect on the build process. /home/midhilaj/.gradle/caches/transforms-1/files-1.1/appcompat-v7-26.1.0.aar/be3106efb0df111fe5a3f7b356dd070b/res/values/values.xml Error:(246, 5) error: resource android:attr/fontVariationSettings not found. /project/bkup/7_march_2018/hyshoper/milla/build/intermediates/incremental/mergeDebugAndroidTestResources/merged.dir/values/values.xml Error:(246, 5) error: resource android:attr/ttcIndex not found. Error:(269) resource android:attr/ttcIndex not found. Error:(269) resource android:attr/fontVariationSettings not found. Error:java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details Error:failed linking references. Error:java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details Error:com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details Error:Execution failed for task ':milla:processDebugAndroidTestResources'.Failed to execute aapt Information:9 errors Information:BUILD FAILED in 2s Information:1 warning Information:See complete output in console
如何解决这个问题?我的依赖项
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 'de.hdodenhof:circleimageview:2.2.0'
compile('com.alibaba.android:ultraviewpager:1.0.6.1@aar') {
transitive = true
}
compile('org.apache.httpcomponents:httpmime:4.3.6') {
exclude module: 'httpclient'
}
compile 'com.synnapps:carouselview:0.1.4'
compile 'com.sun.mail:android-mail:1.5.5'
compile 'com.sun.mail:android-activation:1.5.5'
implementation 'com.muddzdev:styleabletoast:2.0.2'
compile 'javax.annotation:javax.annotation-api:1.2'
compile 'me.grantland:autofittextview:0.2.+'
// base library
//slider
compile 'com.ss.bannerslider:bannerslider:1.8.0'
//noinspection GradleCompatible
compile 'jp.wasabeef:recyclerview-animators:2.2.7'
compile 'com.android.support:multidex:1.0.1'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.google.code.gson:gson:2.6.2'
compile 'com.github.satyan:sugar:1.4'
compile 'com.android.support:multidex:1.0.1'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.android.support:percent:26.1.0'
compile 'com.google.code.gson:gson:2.6.2'
compile 'com.github.satyan:sugar:1.4'
compile 'jp.wasabeef:recyclerview-animators:2.2.6'
compile 'pl.droidsonroids.gif:android-gif-drawable:1.1.+'
compile 'com.afollestad.material-dialogs:core:0.9.4.2'
compile 'com.google.android.gms:play-services:9.8.0'
compile 'com.google.android.gms:play-services-auth:9.8.0'
compile 'com.google.android.gms:play-services-location:9.8.0'
compile 'com.google.firebase:firebase-core:9.8.0'
compile 'com.google.firebase:firebase-auth:9.8.0'
compile 'com.google.firebase:firebase-database:9.8.0'
compile 'com.google.firebase:firebase-config:9.8.0'
compile 'com.google.firebase:firebase-crash:9.8.0'
compile 'com.google.firebase:firebase-invites:9.8.0'
compile 'com.google.firebase:firebase-storage:9.8.0'
compile 'cn.pedant.sweetalert:library:1.3'
compile 'at.blogc:expandabletextview:1.0.3'
compile 'com.joanzapata.iconify:android-iconify-fontawesome:2.1.+'
compile 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.github.bumptech.glide:glide:4.6.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.6.1'
compile 'com.android.support:design:26.1.0'
compile 'com.android.support:cardview-v7:26.1.0'
compile 'com.android.support:support-v4:26.1.0'
compile 'com.android.support:recyclerview-v7:26.1.0'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.daimajia.slider:library:1.1.5@aar'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
testCompile 'junit:junit:4.12'
implementation 'com.android.support:design:26.1.0'
}
最佳答案
关于android - 错误 : resource android:attr/fontVariationSettings not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49208772/
现在,我们的android版本在两天内没有发生任何变化的情况下就开始自行失败。 这是错误消息: /Users/shroukkhan/.gradle/caches/transforms-1/files-
语境 此问题涵盖 android 和 react-native 项目(包括 Expo 弹出的项目)。 我正在处理一个最近推出的 Expo(React Native)项目。我刚刚安装了 OneSigna
当我构建我的android项目时,出现以下错误 Error:In FontFamilyFont, unable to find attribute android:fontVariationSett
我已经在多个平台上看到了此问题,有人知道它是什么以及如何解决它? 错误信息: AAPT: error: resource android:attr/fontVariationSettings not
Warning:The android.dexOptions.incremental property is deprecated and it has no effect on the build
D:\wamp\www\moodle35>cordova build android cordova-android-support-gradle-release: Android platform:
我尝试了很多解决这个问题,解决方案是将android支持的版本强制为27。安装插件 cordova-android-support-gradle-release -variable ANDROID_S
这个问题看似重复,但是给这里的问题Running "cordova build android" - unable to find attribute android:fontVariationSet
我有一个 react-native 项目,它昨天在 android 上工作正常,但是今天当我运行 react-native run-android 时发生错误。今天在android上运行之前,没有任何
我正在将所有支持/appcompat 库迁移到 androidx。在所有更新之后,由于此错误,我无法构建我的项目 :app:processDebugManifest UP-TO-DATE AGPBI:
这个问题在这里已经有了答案: Running "cordova build android" - unable to find attribute android:fontVariationSetti
终端: D:\x\C\Flutter\rte_app>flutter build apk --release You are building a fat APK that includes bi
错误:在 FontFamilyFont 中,无法找到属性 android:fontVariationSettings错误:在 FontFamilyFont 中,无法找到属性 android:ttcIn
当我运行 cordova build android --buildConfig xxxx --release 时,我收到以下错误: ERROR: In FontFamilyFont, unable
我最近在 Instant App 编译时遇到如下错误 [2018-09-24T04:42:32Z] 失败:构建失败,出现异常。 [2018-09-24T04:42:32Z] [2018-09-24T0
当我运行 cordova build android --buildConfig xxxx --release 时,我收到以下错误: ERROR: In FontFamilyFont, unable
目前,我们在 MS Appcenter 上构建的 Flutter 失败并显示以下日志: * What went wrong: Execution failed for task ':appcenter
android:attr/fontVariationSettings 未找到。和 android:attr/ttcIndex 未找到。不知从何而来的错误 我尝试将compileSdkVersion更改
我试图在 react-native 应用程序上构建一个 Android 项目。直到今天早上一切正常。这很奇怪,因为没有更改代码但构建失败。这可能与内部依赖更新有关,但我无法弄清楚。 我试图将 comp
我目前正在开发一个 android 项目,所以当我将项目从 android targetSdkVersion 21 升级到 27 时,该项目将无法运行。所以如果这里有人可以帮助我解决这个问题。我正在使
我是一名优秀的程序员,十分优秀!