I downloaded the 3.2 Canarius studio and now I want to try to work with the new navigation.
The following tutorial is written in the tutorial.
implementation 'android.arch.navigation:navigation-fragment:1.0.0-alpha02' I get an error when compiling
Error: Program type already present: android.support.v4.app.INotificationSideChannel
I understand that now if I started using the dependency from the X version, then all dependencies should be of a new format
Found such a link by refactor
https://developer.android.com/topic/libraries/support-library/refactor
but there is nothing about navigation.
The question is how to make the dependency work?
In general, for the time being, it is not entirely clear how the migration to the X version will occur, will it be necessary to find how the dependency will now look for each library that is used in the project?
EDIT
apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' android { compileSdkVersion 28 defaultConfig { applicationId "com.example.ezplan.navapp" minSdkVersion 23 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation"org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" implementation 'androidx.appcompat:appcompat:1.0.0-alpha3' implementation 'androidx.constraintlayout:constraintlayout:1.1.2' //Navigation implementation 'android.arch.navigation:navigation-fragment:1.0.0-alpha02' implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0-alpha1' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test:runner:1.1.0-alpha3' androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0- alpha3' }