乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      android – Manifest合并失?。簩傩詰?yīng)用程序@ appComponentFactory

       印度阿三17 2019-06-07

      所以很好,但我正在嘗試添加這個(gè)庫
      這個(gè)https://github.com/wdullaer/MaterialDateTimePicker

      implementation 'com.wdullaer:materialdatetimepicker:4.0.1'
      

      突然,當(dāng)我同步我的Graddle時(shí),它給了我這個(gè)錯(cuò)誤

      Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91
      is also present at [androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
      Suggestion: add 'tools:replace="android:appComponentFactory"' to <application> element at AndroidManifest.xml:10:5-53:19 to override.
      

      即使我在我的Manifest中添加了這個(gè)建議

      <?xml version="1.0" encoding="utf-8"?>
         <manifest xmlns:android="http://schemas./apk/res/android"    
         xmlns:tools="http://schemas./tools"
         package="com.itt.ceatm">
      
      <application
          android:allowBackup="true"
          android:icon="@mipmap/ic_launcher"
          android:label="@string/app_name"
          android:roundIcon="@mipmap/ic_launcher_round"
          android:supportsRtl="true"
          android:theme="@style/AppTheme"
          tools:replace="android:appComponentFactory"> // HERE
          <activity...
      

      我無法完成它,因?yàn)楝F(xiàn)在我收到了這個(gè)錯(cuò)誤

      Manifest merger failed with multiple errors, see logs
      

      這是我的完整清單

      apply plugin: 'com.android.application'
      
      android {
      compileSdkVersion 28
      defaultConfig {
          applicationId "com.itt.ceatm"
          minSdkVersion 19
          targetSdkVersion 28
          versionCode 1
          versionName "1.0"
          testInstrumentationRunner 
      "android.support.test.runner.AndroidJUnitRunner"
          android.defaultConfig.vectorDrawables.useSupportLibrary = true
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 
      'proguard-rules.pro'
          }
       }
      }
      
      dependencies {
      implementation fileTree(dir: 'libs', include: ['*.jar'])
      implementation 'com.android.support:appcompat-v7:28.0.0'
      implementation 'com.android.support:design:28.0.0'
      implementation 'com.android.support.constraint:constraint-layout:1.1.3'
      implementation 'com.android.support:support-vector-drawable:28.0.0'
      implementation 'com.mikhaellopez:circularimageview:3.2.0'
      implementation 'com.android.support:recyclerview-v7:28.0.0'
      implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3'
      implementation 'com.github.ganfra:material-spinner:2.0.0'
      
      implementation 'com.wdullaer:materialdatetimepicker:4.0.1' //NEW LIBRARY
      
      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'}
      

      有什么建議嗎?我已經(jīng)做了一項(xiàng)研究,試圖完成包括configureall和其他的塊代碼在內(nèi)的工作,但沒有成功.我卡住了

      或者甚至可以贊賞具有材料設(shè)計(jì)的DatePicker庫的另一個(gè)推薦

      編輯 – 解決方案:
      感謝所有btw
      所以降級庫是好的,但后來它給了我這個(gè)錯(cuò)誤

      Error about different versions support(由于我的水平我不能直接說,對不起)

      然后我做了一個(gè)研究,并添加了這兩個(gè)新的實(shí)現(xiàn)

      dependencies {
      implementation fileTree(dir: 'libs', include: ['*.jar'])
      implementation 'com.android.support:appcompat-v7:28.0.0'
      implementation 'com.android.support:design:28.0.0'
      implementation 'com.android.support.constraint:constraint-layout:1.1.3'
      implementation 'com.android.support:support-vector-drawable:28.0.0'
      
      implementation 'com.android.support:support-v13:28.0.0' //THIS
      implementation 'com.android.support:support-media-compat:28.0.0' //AND THIS
      
      implementation 'com.mikhaellopez:circularimageview:3.2.0'
      implementation 'com.android.support:recyclerview-v7:28.0.0'
      implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3'
      implementation 'com.github.ganfra:material-spinner:2.0.0'
      
      implementation "com.wdullaer:materialdatetimepicker:3.6.4"
      
      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'}
      

      然后我就可以毫無錯(cuò)誤地使用該庫

      再次感謝所有人!

      解決方法:

      日期選擇器將androidx作為依賴項(xiàng).降級到版本3.6.4將使它再次依賴于android.support – 或升級您的應(yīng)用程序以使用androidx.見issue 543.

      // https:///artifact/com.wdullaer/materialdatetimepicker
      implementation "com.wdullaer:materialdatetimepicker:3.6.4"
      

      ^這將是修復(fù)沖突依賴項(xiàng)的最簡單方法.

      來源:http://www./content-1-228651.html

        本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊一鍵舉報(bào)。
        轉(zhuǎn)藏 分享 獻(xiàn)花(0

        0條評論

        發(fā)表

        請遵守用戶 評論公約

        類似文章 更多