codelab-android-navigation
codelab-android-navigation copied to clipboard
Unable to load class 'javax.xml.bind.JAXBException'. This is an unexpected error. Please file a bug containing the idea.log file.
Good morning.
If you build after receiving the clone for testing,
An error occurs.
Unable to load class 'javax.xml.bind.JAXBException'. This is an unexpected error. Please file a bug containing the idea.log file.
Good morning.
If you build after receiving the clone for testing,
An error occurs.
Unable to load class 'javax.xml.bind.JAXBException'. This is an unexpected error. Please file a bug containing the idea.log file.
Yes,I got the same error too.
Good morning.
If you build after receiving the clone for testing,
An error occurs.
Unable to load class 'javax.xml.bind.JAXBException'. This is an unexpected error. Please file a bug containing the idea.log file.
I got the same error,and I found the solution in stackvoerflow:https://stackoverflow.com/questions/51960049/android-build-error-unable-to-load-javax-xml-bind-jaxbexception.
Just update the version of build tool gradle to 4.2.2:
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigationVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}