Android kotlin AppCompatActivity错误::Cannot access 'androidx.activity.contextaware.ContextAware' which is a supertype of xxx;Cannot access 'androidx.activity.result.ActivityResultCaller'

解决方法 

implementation "androidx.activity:activity-ktx:1.2.0-beta01"

https://stackoverflow.com/questions/61381545/cannot-access-androidx-activity-result-activityresultcaller

Cannot access 'androidx.activity.contextaware.ContextAware' which is a supertype of 'com.qsc.mvvm.crash.QscDefaultErrorActivity'. Check your module classpath for missing or conflicting dependencies
Cannot access 'androidx.activity.result.ActivityResultCaller' which is a supertype of 'com.qsc.mvvm.crash.QscDefaultErrorActivity'. Check your module classpath for missing or conflicting dependencies
Cannot access 'androidx.activity.result.ActivityResultRegistryOwner' which is a supertype of 'com.qsc.mvvm.crash.QscDefaultErrorActivity'. Check your module classpath for missing or conflicting dependencies

原文地址:https://www.cnblogs.com/caosq/p/14073422.html