Geert
02/18/2020, 8:22 AMCause: only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... @1:1)
while using `apply plugin: "androidx.navigation.safeargs"`` iAllan Wang
02/18/2020, 8:23 AMGeert
02/18/2020, 8:23 AMapply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'realm-android'
apply plugin: "androidx.navigation.safeargs"
android {
compileSdkVersion 29
buildToolsVersion "29.0.2"
defaultConfig {
minSdkVersion 21
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles '<http://consumer-rules.pro|consumer-rules.pro>'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), '<http://proguard-rules.pro|proguard-rules.pro>'
}
}
dataBinding {
enabled = true
}
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs = ["-XXLanguage:+InlineClasses"]
}
}
dependencies {
implementation project(':fhircore')
implementation project(':fhirmedmij')
implementation project(':fhirterminology')
implementation project(':zorgkluisui')
implementation project(':medmijkwalificatie')
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.core:core-ktx:1.2.0'
// Navigation Components
implementation "android.arch.navigation:navigation-ui-ktx:1.0.0"
implementation "android.arch.navigation:navigation-fragment-ktx:1.0.0"
// Lifecycle Components
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0"
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.2.0"
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}
def nav_version = "2.3.0-alpha01"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
to classpath dependenciesapply plugin: "androidx.navigation.safeargs.kotlin"
did make no difference since I’m using a 100% kotlin projectAllan Wang
02/18/2020, 8:25 AMGeert
02/18/2020, 8:25 AMGeert
02/18/2020, 8:27 AMwasyl
02/18/2020, 8:48 AMAllan Wang
02/18/2020, 8:49 AMGeert
02/18/2020, 8:50 AMwasyl
02/18/2020, 8:52 AMparseNavigationFile
so it does seems like one of the files with nav graph is the culpritGeert
02/18/2020, 9:23 AMwasyl
02/18/2020, 9:28 AM