I’m not sure why the chapter names and numbers are different in the forum dropdown from what I’m seeing in my book (5th ed). I used the topic. Aar…
I’m having build issues when I try adding:
implementation(“androidx.fragment:fragment-ktx:1.4.1:”)
The error is:
Execution failed for task ‘:app:checkDebugDuplicateClasses’.
Could not resolve all files for configuration ‘:app:debugRuntimeClasspath’.
Failed to transform fragment-ktx-1.4.1.jar (androidx.fragment:fragment-ktx:1.4.1) to match attributes {artifactType=enumerated-runtime-classes, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
Could not find fragment-ktx-1.4.1.jar (androidx.fragment:fragment-ktx:1.4.1).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/fragment/fragment-ktx/1.4.1/fragment-ktx-1.4.1.jar
When I check the link at the bottom, sure enough, it’s a 404.
But 1.4.1 definitely exists: Fragment | Jetpack | Android Developers