android os stack,android - 错误:程序类型已存在:android.support.v4.os.ResultReceiver $ MyResultReceiver - 堆栈内存...

我已经尝试解决此错误已有2天了,没有运气。 我到处都在搜索,大多数解决方案都告诉我从依赖项中删除“ +”。 但是我已经没有任何“ +”号。 我正在使用绝对版本代码。 在整合Mikepenz的Material Drawer之前,该项目运行良好。 材料抽屉在没有标题的情况下也可以正常工作,当我添加标题时,出现“ ResourceNotFound”错误。 为了解决这个问题,有人说要在“项目结构”中更改“ Compile SDK版本”。 当我将其更改为'Android-P'时,出现上述错误。 当我将其设置为“ 27 Oreo”时,出现另一个错误:

Android resource linking failed

Output: D:\SpesaBudgetManager\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-v28\values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.

D:\SpesaBudgetManager\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-v28\values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.

D:\SpesaBudgetManager\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1207: error: resource android:attr/fontVariationSettings not found.

D:\SpesaBudgetManager\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1207: error: resource android:attr/ttcIndex not found.

error: failed linking references.

Command: C:\Users\Danis\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.0-4818971-windows.jar\c643f693a5e3c12b475023c52cd701d5\aapt2-3.2.0-4818971-windows\aapt2.exe link -I\

C:\Users\Danis\AppData\Local\Android\Sdk\platforms\android-27\android.jar\

--manifest\

D:\SpesaBudgetManager\app\build\intermediates\merged_manifests\debug\processDebugManifest\merged\AndroidManifest.xml\

-o\

D:\SpesaBudgetManager\app\build\intermediates\processed_res\debug\processDebugResources\out\resources-debug.ap_\

-R\

@D:\SpesaBudgetManager\app\build\intermediates\incremental\processDebugResources\resources-list-for-resources-debug.ap_.txt\

--auto-add-overlay\

--java\

D:\SpesaBudgetManager\app\build\generated\not_namespaced_r_class_sources\debug\processDebugResources\r\

--custom-package\

com.spesa.spesabudgetmanager\

-0\

apk\

--output-text-symbols\

D:\SpesaBudgetManager\app\build\intermediates\symbols\debug\R.txt\

--no-version-vectors

Daemon: AAPT2 aapt2-3.2.0-4818971-windows Daemon #0

这是我的摇篮:

apply plugin: 'com.android.application'

android {

compileSdkVersion 27

defaultConfig {

applicationId "com.spesa.spesabudgetmanager"

minSdkVersion 19

targetSdkVersion 27

versionCode 1

versionName "1.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

}

buildTypes {

release {

minifyEnabled false

proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

}

}

}

dependencies {

implementation 'com.android.support:appcompat-v7:27.1.1'

implementation 'com.android.support.constraint:constraint-layout:1.1.3'

implementation 'com.mikepenz:materialdrawer:6.0.9'

implementation 'com.google.firebase:firebase-core:16.0.4'

implementation 'com.google.firebase:firebase-auth:16.0.4'

implementation 'com.github.GrenderG:Toasty:1.3.0'

implementation 'com.google.firebase:firebase-database:16.0.3'

testImplementation 'junit:junit:4.12'

androidTestImplementation 'com.android.support.test:runner:1.0.2'

androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

implementation 'com.android.support:design:27.1.1'

implementation 'com.airbnb.android:lottie:2.5.0'

implementation 'com.github.yesterselga:country-picker-android:1.0'

implementation 'com.github.midorikocak:currency-picker-android:1.1.9'

implementation 'de.hdodenhof:circleimageview:2.2.0'

implementation 'com.soundcloud.android:android-crop:1.0.1@aar'

implementation 'com.google.firebase:firebase-storage:16.0.3'

implementation 'com.squareup.picasso:picasso:2.71828'

implementation 'com.android.support:recyclerview-v7:27.1.1'

implementation 'com.mikepenz:materialize:1.2.0@aar'

implementation 'com.mikepenz:iconics-core:3.1.0@aar'

implementation 'com.mikepenz:fastadapter:3.3.0@aar'

}

apply plugin: 'com.google.gms.google-services'

任何帮助是极大的赞赏。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值