Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zouguangminghy opened this issue Jan 7, 2020 · 0 comments
Open

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

zouguangminghy opened this issue Jan 7, 2020 · 0 comments

Comments

@zouguangminghy
Copy link

引入的版本为
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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant