答案 0 :(得分:3)
您需要像下面一样在<activity>
内移动<manifest>
部分。
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.example.monika">
<dist:module dist:instant="true" />
<activity> .... </activity>
<activity> .... </activity>
<activity> .... </activity>
</manifest>
答案 1 :(得分:0)
活动位于清单标记中。另外,您缺少应用程序标签。
<manifest ... >
<application ... >
<activity android:name="com.example.myapp.MainActivity" ... >
</activity>
</application>
</manifest>
要进一步了解清单文件:
请参考:https://developer.android.com/guide/topics/manifest/manifest-intro
您还可以在Google代码示例中玩转,以帮助您了解android编码。
答案 2 :(得分:0)
您的清单现在看起来。您的清单出现什么错误?
请在说明中清楚显示
。