我尝试使用包含此组件的意图启动活动:
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