Cannot access androidx.lifecycle.HasDefaultViewModelProviderFactory
報錯“Cannot access androidx.lifecycle.HasDefaultViewModelProviderFactory” 可正常執行
解決方法:
新增庫:
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation 'androidx.lifecycle:lifecycle-runtime:2.2.0'
或者更新androidx.appcompat:appcompat:
implementation 'androidx.appcompat:appcompat:1.3.0-alpha02'
相關文章
- cannot access local variable where it is not associated with a value
- 關於React Native報Cannot access ‘serviceOf‘的解決方案React Native
- IDEA Cannot access alimaven (http://maven.aliyun.com/nexus/content/groups/public/)IdeaMavenHTTP
- IDEA在執行maven打war的時候報錯:Cannot access defaults field of PropertiesIdeaMaven
- svn access to forBiddenORB
- JAVA使用accessJava
- AP(Access Pointer)
- SQL Access Advisor(zt)SQL
- Java連線AccessJava
- Configuring Harbor with HTTPS AccessHTTP
- ERROR: Cannot uninstall ‘PyYAML‘. It is a distutils installed project and thus we cannot accuratelyErrorYAMLProject
- Django Error: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissionsDjangoErrorORB
- 解決cannot find module providing package或cannot find main modulePackageAI
- Access建立表/新建表
- ACCESS 模擬雪花ID
- access偏移注入原理
- TypeScript 之 Indexed Access TypesTypeScriptIndex
- Thrift RPC新增access logRPC
- xxx cannot be resolved to a type
- diskgroup "DATADG" cannot be mounted
- cannot instantiate QtProjectEngine objectQTProjectObject
- Access資料庫日常維護和Access資料庫最佳化方法資料庫
- RBAC(Role-Based Access Control)
- TypeScript Crash Course: Property Access ModifiersTypeScript
- nginx中報Access denied.Nginx
- No ‘Access-Control-Allow-Origin’ headerHeader
- Cannot set property 'innerHTML' of nullHTMLNull
- ImportError: cannot import name parseImportError
- fork failed - Cannot allocate memoryAI
- ‘error: ‘‘this‘‘ cannot be implicitly captured in this context‘ErrorAPTContext
- Cannot read property ‘aDataSort‘ of undefinedUndefined
- Uncaught Error: Cannot instantiate interfaceError
- 0317TABLE ACCESS BY INDEX ROWID BATCHEDIndexBAT
- ACCESS TreeView控制元件的使用View控制元件
- Access 匯入 oracle 資料庫Oracle資料庫
- Zero Access惡意軟體分析
- springboot 解決跨域 Access to XMLHttpRequest atSpring Boot跨域XMLHTTP
- 微信Access Token 快取方法快取