manifest question


Last Updated:

  1. dastan

    dastan New Member This Topic's Starter

    Joined:
    Oct 4, 2010
    Messages:
    4
    Likes Received:
    0
    I was changing AndroidManifest.xml file to fix a null pointer exception I was getting. Now I can not run the program. I get the following error:
    19:14:39,465 INFO [main] Main - javax.xml.transform.TransformerFactory=null
    19:14:39,465 INFO [main] Main - java.endorsed.dirs=C:\Program Files\Java\jre6\lib\endorsed
    19:14:39,465 INFO [main] Main - launchFile: C:\Documents and Settings\sansari\workspace\.metadata\.plugins\org.eclipse.wst.xsl.jaxp.launching\launch\launch.xml
    19:14:39,512 FATAL [main] Main - No embedded stylesheet instruction for file: file:/C:/Documents and Settings/sansari/workspace/HelloGoogleMaps/AndroidManifest.xml
    org.eclipse.wst.xsl.jaxp.debug.invoker.TransformationException: No embedded stylesheet instruction for file: file:/C:/Documents and Settings/sansari/workspace/HelloGoogleMaps/AndroidManifest.xml
    at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:225)
    at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:186)
    at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.Main.main(Main.java:73)
    Caused by: org.eclipse.wst.xsl.jaxp.debug.invoker.TransformationException: No embedded stylesheet instruction for file: file:/C:/Documents and Settings/sansari/workspace/HelloGoogleMaps/AndroidManifest.xml
    at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:214)
    ... 2 more
    **********************************************
    Here is my manifest:
    <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.hellogooglemaps"
    android:versionCode="1"
    android:versionName="1.0">
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-library android:name="com.google.android.maps" />

    <application android:icon="@drawable/icon" android:label="@string/app_name">
    <activity android:name=".HelloGoogleMaps"
    android:label="@string/app_name">
    android:theme="@android:style /Theme.NoTitleBar">

    <intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
    </activity>
    </application>
    </manifest>

    What am I doing wrong?
     

    Advertisement

Share This Page

Loading...