Android:Unable to instantiate activity ComponentInfo

跑单纯的helloworld,模拟器运行正常,真机报错Unable to instantiate activity ComponentInfo

解决方案:

windows:setting ->Build,Execution,Deployment

Mac:preferences ->Build,Execution,Deployment

将最大级的勾去掉

clean项目,重新运行~

你可能感兴趣的:(Android:Unable to instantiate activity ComponentInfo)