title: Android Annotations in Android Studio 0.8.9
body: <p>I'm new to Android Studio and gradle, so I'm not sure on how to configure correctly my project to use android annotatios.</p>
  
  <p>I have followed <a href="http://www.jayway.com/2014/02/21/androidannotations-setup-in-android-studio/" rel="nofollow">this</a> tutorial, and ended up with this build.gradle file:</p>
  
  <pre><code>buildscript {
     repositories {
        mavenCentral()
     }
     dependencies {
        classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4+'
     }
  }
  
  apply plugin: 'com.android.application'
  apply plugin: 'android-apt'
  
  android {
     compileSdkVersion 20
     buildToolsVersion '20.0.0'
  
     defaultConfig {
        applicationId "com.example.test"
        minSdkVersion 11
        targetSdkVersion 20
        versionCode 1
        versionName "1.0"
     }
     buildTypes {
        release {
           runProguard false
           proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
     }
  }
  
  configurations {
     apt
  }
  
  apt {
     arguments {
        androidManifestFile variant.processResources.manifestFile
        resourcePackageName "com.example.test"
     }
  }
  
  dependencies {
     compile fileTree(dir: 'libs', include: ['*.jar'])
     apt "org.androidannotations:androidannotations:3.0+"
     compile "org.androidannotations:androidannotations-api:3.0+"
     compile 'com.android.support:appcompat-v7:20.0.0'
  }
  </code></pre>
  
  <p>Also changed the .idea/compiler.xml to enable annotation processing </p>
  
  <pre><code>&lt;profile default="true" name="Default" enabled="true"&gt;
  </code></pre>
  
  <p>Gradle syncs successfully, however no file is generated. I'm able to build the app, but when I try to add the underscore to my AndroidManifest.xml file, it gives me this error:</p>
  
  <p><code>Cannot resolve symbol 'MainActivity_'</code></p>
  
  <p>What am I doing wrong?</p>