skip to Main Content

Firebase – how to fix kotlin lateinit property binding has not been initialized

I'm getting this error: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.bugunneyesem/com.example.bugunneyesem.TariflerPageUser}: kotlin.UninitializedPropertyAccessException: lateinit property binding has not been initialized My activity class TariflerPageUser : AppCompatActivity() { lateinit var binding: ActivityTariflerPageUserBinding private lateinit var firebaseAuth: FirebaseAuth private lateinit var kategoriArrayList: ArrayList<ModelKategori> private…

VIEW QUESTION

cannot find symbol BuildConfig FlutterFirebaseCoreRegistrar

I updated a 2 year old flutter-project and get the following error at debugging. I need help. I tried to fix the error for 4 days. Launching lib/main.dart on sdk gphone x86 in debug mode... /Users/michael/.pub-cache/hosted/pub.dev/firebase_core-2.24.2/android/src/main/java/io/flutter/plugins/firebase/core/FlutterFirebaseCoreRegistrar.java:19: error: cannot find symbol…

VIEW QUESTION

Flutter – Picked Date Does not Showing

late DateTime datePicked = DateTime.now(); void showDatePickerForUser() { showDatePicker( context: context, initialDate: DateTime.now(), firstDate: DateTime.now(), lastDate: DateTime.now().add(const Duration(days: 365)), ).then((value) { setState(() { datePicked = value!; }); }); } Container( height: MediaQuery.of(context).size.height * 0.08, width: MediaQuery.of(context).size.width * 0.9, decoration: BoxDecoration(…

VIEW QUESTION
Back To Top
Search