升级到3.6.3 之后,原项目出现错误 Found tag id where item is expected

android 3.6.3

问题1:依赖项出错: implementation 'com.android.support:design:27.1.1'

 

升级到3.6.3 之后,原项目出现错误 Found tag id where item is expected_第1张图片

 

问题2 :编译出错,

 :D:\Android\unitstest\FastBle-master\app\build\intermediates\res\merged\Getkone\debug\values\values.xml:1766: error: Found tag id where item is expected

D:\Users\lani.wang\.gradle\caches\transforms-1\files-1.1\lifecycle-runtime-2.3.0-alpha01.aar\b72ccbaa66ced5a41df3bc4a5a16f855\res\values\values.xml

 

lifecycle-runtime-2.3.0-alpha01.aar

AGPBI: {"kind":"error","text":"Found tag id where item is expected","sources":[{"file":"D:\\Users\\lani.wang\\.gradle\\caches\\transforms-1\\files-1.1\\lifecycle-runtime-2.3.0-alpha01.aar\\b72ccbaa66ced5a41df3bc4a5a16f855\\res\\values\\values.xml","position":{"startLine":2,"startColumn":4,"startOffset":55,"endColumn":42,"endOffset":93}}],"original":"","tool":"AAPT"}

????

暂时解决方式 :

问题1,2经排查都与引用了腾讯的QMUI界面框架导致的。把这个QMUI删除再编译是正常的。:

在build.gradle里面加了引入qmui的依赖全部删除 了。编译正常。哎......不知道是哪里有冲突。????

ef qmui_version = '2.0.0-alpha08'
    implementation "com.qmuiteam:qmui:$qmui_version"
    implementation "com.qmuiteam:arch:$qmui_version"
    annotationProcessor "com.qmuiteam:arch-compiler:$qmui_version"
    implementation "com.jakewharton:butterknife:10.0.0"
    annotationProcessor 'com.jakewharton:butterknife-compiler:10.0.0'
    implementation 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+'

 

你可能感兴趣的:(Android)