我正在使用eclipse在android上工作。页面导航。 但我不会在模拟器上看到我的应用程序。 我发布了我的清单文件和相关错误。 plssss帮助我plsss。
清单文件:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.navigate"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="18" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.example.navigate.SecondScreenActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name = "android.intent.action.MAIN"/>
<category android:name = "android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
</application>
</manifest>
错误:
[2014-02-02 16:35:53 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Parser exception for C:\Users\swathi\workspace\Navigate\AndroidManifest.xml: Attribute name "filter" associated with an element type "intent" must be followed by the ' = ' character.
[2014-02-02 16:35:53 - Navigate] Error in an XML file: aborting build.
[2014-02-02 16:36:01 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Parser exception for C:\Users\swathi\workspace\Navigate\AndroidManifest.xml: Element type "action" must be followed by either attribute specifications, ">" or "/>".
[2014-02-02 16:36:01 - Navigate] Error in an XML file: aborting build.
[2014-02-02 16:36:16 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Parser exception for C:\Users\swathi\workspace\Navigate\AndroidManifest.xml: The element type "intentfilter" must be terminated by the matching end-tag "</intentfilter>".
[2014-02-02 16:36:16 - Navigate] Error in an XML file: aborting build.
答案 0 :(得分:0)
尝试使用此.SecondScreenActivity
代替&#34; com.example.navigate.SecondScreenActivity&#34;