title: Unable to Launch Activity Due to Incorrect Package Name
body: <p>I am building a project using maven and seem to be having some problems. When I launch the app I get the following error.</p>
  
  <pre><code>java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.appname/com.appname.HelloAndroidActivity}: java.lang.ClassNotFoundException: com.appname.HelloAndroidActivity
  </code></pre>
  
  <p>The first thing that looks wrong is this part</p>
  
  <blockquote>
    <p>com.appname/com.appname.HelloAndroidActivity</p>
  </blockquote>
  
  <p>It looks like it is putting the package name in twice. To give a bit of background I used the quickstart from <a href="http://stand.spree.de/wiki_details_maven_archetypes" rel="nofollow">here</a> to build the project initially.</p>
  
  <p>I also found <a href="http://youtrack.jetbrains.com/issue/IDEA-81559" rel="nofollow">this</a> link that could be related but I am not sure if it is.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.appname" android:versionCode="1" android:versionName="1"&gt;
  
    &lt;application android:icon="@drawable/icon" android:label="@string/app_name"&gt;
      &lt;activity android:name=".HelloAndroidActivity"&gt;
        &lt;intent-filter&gt;
          &lt;action android:name="android.intent.action.MAIN" /&gt;
          &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
        &lt;/intent-filter&gt;
      &lt;/activity&gt;
    &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>I have noticed this in my POM</p>
  
  <blockquote>
    <p>your.company</p>
  </blockquote>
  
  <p>What is this normally set to?</p>