didi/VirtualAPK

使用startActivities方法启动多个activity报错

zouguangminghy opened this issue · 0 comments

引入的版本为
classpath 'com.didi.virtualapk:gradle:0.9.8.6'
在宿主层使用startActivities(new Intent(intent1,intent2))方法启动多个activity报错,其中的intent2是插件层的activity;
使用方式:
Intent intent1 = new Intent(mContext,IntentsTestActivity1.class);
Intent faceIt = new Intent();
faceIt.setClassName("cn.sensingai.navigation", "cn.sensingai.navigation.module.home.IntentsTestActivity2");
mContext.startActivities(new Intent[]{intent1,faceIt});

错误日志
android.content.ActivityNotFoundException: Unable to find explicit activity class {cn.sensingai.sensingai/cn.sensingai.sensingai.module.home.IntentsTestActivity1}; have you declared this activity in your AndroidManifest.xml?