[英]Could not identify launch Activity
have had this problem for a while I just installed android studio and I have been having this problem: 我刚安装了android studio时就遇到了这个问题,而我一直遇到这个问题:
Could not identify launch activity: Default Activity not found Error while Launching activity 无法识别启动活动:找不到默认活动启动活动时出错
... I have this problem with existing projects MyApp I tried to make new project but the same error still ...我在使用现有项目MyApp时遇到了这个问题,我尝试制作新项目,但仍然遇到相同的错误
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.app.myapplication">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
</application>
</manifest>
文件->使缓存无效/重新启动...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.