第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

API 28(P)的Android設(shè)計(jì)支持庫(kù)不起作用

API 28(P)的Android設(shè)計(jì)支持庫(kù)不起作用

溫溫醬 2019-11-13 16:05:05
我已經(jīng)成功配置了android-P SDK環(huán)境。當(dāng)我嘗試使用android設(shè)計(jì)支持庫(kù)時(shí),我遇到項(xiàng)目構(gòu)建錯(cuò)誤。項(xiàng)目配置為:IDE:3.2 Canary 17目標(biāo)API:28編譯API:28apply plugin: 'com.android.application'apply plugin: 'kotlin-android'apply plugin: 'kotlin-android-extensions'android {    compileSdkVersion 28    defaultConfig {        applicationId "com.app.navigationpoc"        minSdkVersion 21        targetSdkVersion 28        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 fileTree(include: ['*.jar'], dir: 'libs')    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"    implementation 'androidx.appcompat:appcompat:1.0.0-alpha3'    implementation 'androidx.constraintlayout:constraintlayout:1.1.1'    testImplementation 'junit:junit:4.12'    androidTestImplementation 'androidx.test:runner:1.1.0-alpha3'    androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha3'    implementation 'com.android.support:design:28.0.0-alpha3'    implementation 'com.android.support:cardview-v7:28.0.0-alpha3'}而構(gòu)建失敗的錯(cuò)誤是:清單合并失?。篬com.android]中還存在[androidx.core:core:1.0.0-alpha3]中的屬性application @ appComponentFactory value =(androidx.core.app.CoreComponentFactory) .support:support-compat:28.0.0-alpha3] AndroidManifest.xml:22:18-91 value =(android.support.v4.app.CoreComponentFactory)。建議:在AndroidManifest.xml:6:5-40:19的元素上添加'tools:replace =“ android:appComponentFactory”'以進(jìn)行覆蓋。
查看完整描述

3 回答

?
ibeautiful

TA貢獻(xiàn)1993條經(jīng)驗(yàn) 獲得超6個(gè)贊

添加:


tools:replace="android:appComponentFactory"

android:appComponentFactory="whateverString"

到清單應(yīng)用程序


<application

    android:icon="@mipmap/ic_launcher"

    android:label="@string/app_name"

    android:roundIcon="@mipmap/ic_launcher_round"

    tools:replace="android:appComponentFactory"

    android:appComponentFactory="whateverString">

希望能幫助到你


查看完整回答
反對(duì) 回復(fù) 2019-11-13
  • 3 回答
  • 0 關(guān)注
  • 786 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)