title: Activity class does not exist android
body: <p>I am trying to debug my application and upon clicking the button i get the Activity Class {} does not exist error which reads like so: "Error: Activity class {sprint.telematics.sprinttelematicstracking/track.my.world.LoginActivity} does not exist."</p>
  
  <p>The problem is not with the "track.my.world" package name as this does exist but the section before the forward slash:"sprint.telematics.sprinttelematicstracking" as there is no longer anything in the application named this.</p>
  
  <p>I have transferred my project from Eclipse to Android Studio and also changed the package name from "sprint.telematics.sprinttelematicstracking" to "track.my.world" and this is when the error started to occur. My android manifest file contains the correct package as shown.</p>
  
  <p>AndroidManifest</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  package="track.my.world"
  android:versionCode="1"
  android:versionName="1.0" &gt;
  
  &lt;application
      android:allowBackup="true"
      android:icon="@drawable/trackmyworldicon"
      android:label="@string/app_name"
      android:theme="@style/AppTheme"&gt;
      &lt;activity 
          android:name="track.my.world.LoginActivity"
          android:label="@string/app_name"&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;
  </code></pre>
  
  <p>How would i be able to change where android studio is looking to launch the app from as i think it is looking in the wrong area for the LoginActivity</p>
  
  <p>Thanks</p>
  
  <p>My build.gradle file:</p>
  
  <pre><code>buildscript {
      repositories {
          maven { url 'http://download.crashlytics.com/maven' }
      }
  
      dependencies {
          classpath 'com.crashlytics.tools.gradle:crashlytics-gradle:1.+'
      }
  }
  apply plugin: 'android'
  apply plugin: 'crashlytics'
  
  repositories {
      maven { url 'http://download.crashlytics.com/maven' }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: '*.jar')
      compile project(':google-play-services_lib')
      compile project(':google-play-services_lib')
      compile 'com.crashlytics.android:crashlytics:1.+'
  }
  
  android {
      compileSdkVersion 18
      buildToolsVersion "20.0.0"
  
      defaultConfig {
          applicationId "track.my.world"
          minSdkVersion 10
          targetSdkVersion 18
          versionCode 1
          versionName "1.0"
      }
  
      sourceSets {
          main {
               manifest.srcFile 'AndroidManifest.xml'
               java.srcDirs = ['srcc']
               resources.srcDirs = ['srcc']
               aidl.srcDirs = ['srcc']
               renderscript.srcDirs = ['srcc']
               res.srcDirs = ['res']
               assets.srcDirs = ['assets']
          }
  
          instrumentTest.setRoot('tests')
  
          debug.setRoot('build-types/debug')
          release.setRoot('build-types/release')
      }
  }
  </code></pre>