ν°μ€ν 리 λ·°
java.lang.RuntimeException: Cannot create an instance of class ViewModel
pyorolong 2023. 3. 23. 10:18java.lang.RuntimeException: Cannot create an instance of class ui.token.ft.transfer.TransferMainViewModel
at androidx.lifecycle.ViewModelProvider$NewInstanceFactory.create(ViewModelProvider.kt:204)
at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.kt:324)
at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.kt:306)
at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.kt:280)
at androidx.lifecycle.SavedStateViewModelFactory.create(SavedStateViewModelFactory.kt:128)
at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.kt:187)
at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.kt:153)
ViewModelμ μ°Έμ‘°νλ ViewClassμ @AndroidEntryPoint
Annotationμ μΆκ°νμ ¨λμ?
μΆκ°νλ©΄ ν΄κ²°λ©λλ€.
'πππππ ππππ > Troubles' μΉ΄ν κ³ λ¦¬μ λ€λ₯Έ κΈ
cannot access ActivityCompatApi23 public class MainActivity extends AppCompatActivity... (0) | 2020.09.03 |
---|
- Total
- Today
- Yesterday
- com.android.build.api.transform.TransformException
- databinding onClick
- Kotlin
- Cannot create an instance
- android aar
- custom getter
- annotaion
- launchemode
- Please use a personal access token instead
- import aar
- AAR
- decomplie
- The requested URL returned error
- Make onClick event in Android databinding
- android aar library
- databinding onclick not working
- module-info is missing a super type
- custom setter
- How to import android AAR file
- Support for password authentication was removed on August 13
- viewmodel
- android databinding
- aar import
- AndroidManifest
- GitHub
- DexArchiveBuilderException
- android
- Hilt
- android launch mode in manifest
- Effective Kotlin
μΌ | μ | ν | μ | λͺ© | κΈ | ν |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |