Ladies and Gentlemen, this is it.

i have given this project 2 weeks of my precious life, and even now the project spits on my face. Got less than 24 hrs to get his thing working!

Background:

let it be known on the get-go that i have zero experience on android development. i just started 2 weeks ago… So, like a good folk, i jumped into YouTube, looking for a playlist that could assist me on the project build, and found this. the old “monkey see monkey do” went well, until the 5th video, where he ran his application, and mine couldn’t.

Maaan dependency hell is REAL!, and the tutor playlist was a year old. (a lot has changed since then?, maybe) fought that battle the whole week, until i got Gradle smiling again (My God! pheeeeew!) so the project should run now right?.. WRONG!

Every time the app starts on my phone, it crashes IMMEDIATELY!

  • clear project cache and restart? Nothing!
  • dependency version change? Gradle doesn’t build!

I’m in the middle of yanking my hair off my fiery head.

here is my logcat:

this one above says InflateException… jumped to the file that causes this (line 16): and here is my introduction_register_login_graph: and below is the fragment that is called first from the graph above:

with my inexperienced eyes, everything looks okay… but again, i’m 2 weeks old in android dev… HELP?

below are the dependencies:

dependencies {

`implementation("androidx.core:core-ktx:1.12.0")`

`implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.6.1")`

`implementation("androidx.activity:activity-compose:1.7.2")`

`implementation(platform("androidx.compose:compose-bom:2023.03.00"))`

`implementation("androidx.compose.ui:ui")`

`implementation("androidx.compose.ui:ui-graphics")`

`implementation("androidx.compose.ui:ui-tooling-preview")`

`implementation("androidx.compose.material3:material3")`

`implementation("androidx.constraintlayout:constraintlayout:2.1.4")`

`implementation("com.google.firebase:firebase-firestore-ktx:24.7.1")`

`testImplementation("junit:junit:4.13.2")`

`androidTestImplementation("androidx.test.ext:junit:1.1.5")`

`androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")`

`androidTestImplementation(platform("androidx.compose:compose-bom:2023.03.00"))`

`androidTestImplementation("androidx.compose.ui:ui-test-junit4")`

`debugImplementation("androidx.compose.ui:ui-tooling")`

`debugImplementation("androidx.compose.ui:ui-test-manifest")`

`apply (plugin ="kotlin-kapt")`

`//loading button`

`implementation("br.com.simplepass:loading-button-android:2.2.0")`

`//Glide`

`implementation("com.github.bumptech.glide:glide:4.13.0")`

`//circular image`

`implementation("de.hdodenhof:circleimageview:3.1.0")`

`//viewpager2 indicatior`

implementation("io.github.vejei.viewpagerindicator:viewpagerindicator:1.0.0-alpha.1")

//stepView

`implementation("com.shuhart.stepview:stepview:1.5.1")`

`//Android Ktx`

`implementation("androidx.navigation:navigation-fragment-ktx:2.7.2")`

`// Dagger Core`

`implementation("com.google.dagger:dagger:2.44")`

`kapt("com.google.dagger:dagger-compiler:2.44")`

`//Dagger hilt`

`implementation("com.google.dagger:hilt-android:2.44")`

`kapt("com.google.dagger:hilt-compiler:2.44")`

`kapt("org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.5.0")`

`// Import the BoM for the Firebase platform`

`implementation(platform("com.google.firebase:firebase-bom:32.2.3"))`

`// Add the dependency for the Firebase Authentication library`

`// When using the BoM, you don't specify versions in Firebase library dependencies

`implementation("com.google.firebase:firebase-auth-ktx")`

`// Also add the dependency for the Google Play services library and specify its version`

`implementation("com.google.android.gms:play-services-auth:20.7.0")`

}