我的应用程序运行正常,但在从git合并代码后,我正面临这个问题。合并gradle构建之后但在此之后在Message gradle构建中抛出此错误。我尝试了很多,但没有任何对我有用。
错误:在FontFamilyFont中,无法找到属性 机器人:fontVariationSettings 错误:java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:执行时出错 处理 C:\ Users \用户sreekant \应用程序数据\本地\ Android的\ SDK \构建工具\ 26.0.2 \ aapt.exe 带参数{package -f --no-crunch -I C:\ Users \用户sreekant \应用程序数据\本地\ Android的\ SDK \平台\ Android的26 \的android.jar -M \?\ E:\ Projects \ boltt \ app \ build \ intermediates \ manifests \ full \ debug \ AndroidManifest.xml -S E:\ Projects \ boltt \ app \ build \ intermediates \ res \ merged \ debug -m -J \?\ E:\ Projects \ boltt \ app \ build \ generated \ source \ r \ debug -F E:\ 项目\ boltt \程序\编译\ \中间体资源\调试\资源,debug.ap_ -D \?\ E:\ Projects \ boltt \ app \ build \ intermediates \ multi-dex \ debug \ manifest_keep.txt --custom-package com.boltt.health -0 apk --output-text-symbols \?\ E:\ Projects \ boltt \ app \ build \ intermediates \ symbols \ debug --no版本向量}
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
} } apply plugin: 'com.android.application' apply plugin: 'io.fabric'
repositories {
flatDir {
dirs 'libs'
}
maven { url 'https://maven.fabric.io/public' } }
android {
compileSdkVersion 26
buildToolsVersion '26.0.2'
useLibrary 'org.apache.http.legacy'
aaptOptions.cruncherEnabled = false
aaptOptions.useNewCruncher = false
defaultConfig {
applicationId "com.boltt.health"
minSdkVersion 19
targetSdkVersion 26
versionCode 18
versionName "0.6"
renderscriptTargetApi 21
renderscriptSupportModeEnabled true
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
ndk {
abiFilters "armeabi", "armeabi-v7a", "x86", "mips"
}
}
buildTypes {
buildTypes {
release {
minifyEnabled true
shrinkResources true
useProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
} // release { // minifyEnabled false // shrinkResources false //
useProguard true // proguardFiles
getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
// // // }
}
sourceSets {
main {
jniLibs.srcDirs = ['libs']
}
}
dexOptions {
javaMaxHeapSize "4g"
}
} repositories {
maven { url "https://jitpack.io" } }
repositories {
mavenCentral()
} configurations {
compile5
compile6 }
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'
implementation files('libs/YouTubeAndroidPlayerApi.jar')
implementation 'com.android.support:appcompat-v7:26.1.0' // implementation 'com.android.support:appcompat-v7:27.1.0'
implementation 'com.android.support:design:26.1.0'
implementation 'com.android.support:support-v13:26.1.0'
implementation 'org.apache.httpcomponents:httpcore:4.4.1'
implementation 'com.minimize.library:seekbar-compat:0.2.5'
implementation 'com.github.CardinalNow:Android-CircleProgressIndicator:v0.2'
implementation 'com.sothree.slidinguppanel:library:3.3.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.squareup.retrofit2:converter-scalars:2.3.0'
implementation 'com.github.amarjain07:StickyScrollView:1.0.2'
implementation 'com.facebook.stetho:stetho:1.5.0'
// retrofit, gson
implementation 'com.google.code.gson:gson:2.7'
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.3.0'
implementation 'com.facebook.android:facebook-android-sdk:4.+'
implementation 'com.github.bumptech.glide:glide:3.8.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.8.0'
implementation 'com.android.support:recyclerview-v7:26.1.0'
implementation 'com.android.support:cardview-v7:26.1.0'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.4.+'
/*this library is for drawer layout. Please refer to the
* library page at : https://github.com/mikepenz/MaterialDrawer*/
implementation('com.mikepenz:materialdrawer:5.0.4@aar') {
transitive = true
}
/*using for banding view*/
// implementation 'org.greenrobot:eventbus:3.0.0'
implementation 'com.jakewharton:butterknife:8.7.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.7.0'
implementation 'com.android.support:multidex:1.0.1'
implementation 'com.google.android.gms:play-services:11.4.2'
implementation 'com.google.android.gms:play-services-auth:11.4.2'
implementation 'com.google.android.gms:play-services-base:11.4.2'
implementation 'com.google.android.gms:play-services-basement:11.4.2'
implementation 'com.google.android.gms:play-services-gcm:11.4.2'
implementation 'com.appsflyer:af-android-sdk:4.6.7@aar'
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
implementation 'se.emilsjolander:stickylistheaders:2.5.0'
/*Using for Graph*/
implementation 'com.github.PhilJay:MPAndroidChart:v2.2.5'
// implementation 'com.github.PhilJay:MPAndroidChart:v3.0.2'
/*generic uses*/
// implementation("com.github.PhilJay:MPAndroidChart:v3.0.2") {
// exclude module: 'shared'
// }
// compile5 'com.github.PhilJay:MPAndroidChart:v2.2.5'
// compile6 'com.github.PhilJay:MPAndroidChart:v3.0.2'
implementation 'de.hdodenhof:circleimageview:1.3.0'
// implementation 'com.github.jorgecastilloprz:fabprogresscircle:1.01@aar'
// For networking
implementation 'com.koushikdutta.ion:ion:2.+'
// For Bluetooth
// implementation 'no.nordicsemi.android.support.v18:scanner:0.2.0'
implementation ':validicmobile-release@aar'
// implementation ':validicmobile-debug@aar'
// You'll need to change this to point to your own jar.
// Download: http://developer.samsung.com/health
implementation fileTree(include: 'samsung-digital-health-healthdata-1.2.1.jar', dir:
'../../../Common/libs')
implementation files('libs/samsung-digital-health-healthdata-1.2.1.jar')
// implementation 'com.facebook.android:facebook-android-sdk:4.25.0'
implementation 'com.android.support:support-v4:26.1.0'
// for round corners progress bar see in training lap analysis class
implementation 'com.daimajia.swipelayout:library:1.2.0@aar'
implementation 'com.github.stfalcon:smsverifycatcher:0.3.1'
// implementation 'me.itangqi.waveloadingview:library:0.3.5'
implementation 'com.twitter.sdk.android:twitter-core:3.0.0'
implementation 'com.twitter.sdk.android:tweet-ui:3.0.0'
implementation 'com.twitter.sdk.android:tweet-composer:3.0.0'
implementation 'com.twitter.sdk.android:twitter-mopub:3.0.0'
//for hash tags view
implementation 'me.gujun.android.taggroup:library:1.4@aar'
implementation 'com.clarifai.clarifai-api2:core:2.0.2'
implementation 'com.github.bmarrdev:android-DecoView-charting:v1.2'
// implementation 'com.jakewharton.timber:timber:4.3.0'
/*used by suren
* horizontal scrollable calendar used in plan section*/
implementation 'devs.mulham.horizontalcalendar:horizontalcalendar:1.1.7'
implementation('com.crashlytics.sdk.android:crashlytics:2.6.8@aar') {
transitive = true;
}
implementation files('libs/ute_sdk_v2.5.5.jar')
implementation files('libs/ProtocolUtils.jar')
implementation files('libs/greendao-2.1.0.jar')
// Larva
implementation files('libs/PGSDK_V2.1.jar')
implementation 'com.karumi:dexter:4.2.0'
implementation 'com.github.tamir7.contacts:contacts:1.1.7'
implementation 'io.ticofab.androidgpxparser:parser:1.1.0'
implementation 'net.danlew:android.joda:2.9.9.1'
implementation 'com.github.lespinsideg:SimplePanorama:0.3.1'
implementation 'com.dlazaro66.qrcodereaderview:qrcodereaderview:2.0.3'
implementation 'com.github.kenglxn.QRGen:android:2.3.0'
compile 'com.mcxiaoke.viewpagerindicator:library:2.4.1' }
apply plugin: 'com.google.gms.google-services'