ing活动必须附加到@Sting应用程序

时间:2019-12-12 13:18:07

标签: android android-intent android-manifest

我尝试使用包含此组件的意图启动活动:

ComponentInfo{com.myComp.catalogapp/com.myComp.PhotoPickerActivity}

这是一个生活在另一个应用程序中的android库,试图打开第三个应用程序活动(这是我组织中的另一个团队开发的)。

为什么会出现此错误?

java.lang.RuntimeException: Unable to start activity     ComponentInfo{com.myComp.catalogapp/com.myComp.PhotoPickerActivity}: java.lang.IllegalStateException: Sting Activity must be attached to an @Sting Application. Found: class com.myComp.catalogapp.application.OneGoogleCatalogApplication

0 个答案:

没有答案