ν°μ€ν 리 λ·°
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
- viewmodel
- Kotlin
- decomplie
- custom setter
- module-info is missing a super type
- AndroidManifest
- android
- databinding onClick
- Cannot create an instance
- How to import android AAR file
- AAR
- aar import
- import aar
- annotaion
- Please use a personal access token instead
- android aar
- GitHub
- android aar library
- Make onClick event in Android databinding
- Support for password authentication was removed on August 13
- com.android.build.api.transform.TransformException
- The requested URL returned error
- launchemode
- Effective Kotlin
- Hilt
- android databinding
- databinding onclick not working
- android launch mode in manifest
- custom getter
- DexArchiveBuilderException
μΌ | μ | ν | μ | λͺ© | κΈ | ν |
---|---|---|---|---|---|---|
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 |