gradle - Android Annotations in Android Studio 0.8.9 -
I Android Studio and new Gredel, so I'm not sure how Android annotatios
I The tutorial is followed, and this expired with the build.gradle file.
buildscript {{treasures mavenCentral ()} {dependence classpath 'com.neenbedankt. gradle.plugins: android- appropriate: 1.4 + '}} apply plugin: "Comkandroidkapplication' plugin apply: 'Android- compatible" 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'}}} {configuration suitable} {appropriate logic { AndroidManifestFile version .processResources.manifestFile resou rcePackageName "com.example.test"}} {Dependency FileTree compilation (dir: 'libs', includes: ['* .jar']) Appropriate "org.androidannotations: androidannotations: 3.0+ "Compilation" org.androidannotations: androidannotations- apia : 3.0+ " 'com.android.support:appcompat-v7:20.0.0' compilation}
changed .idea / compiler.xml enabling Also annotation processing
& lt; Profile default = "true" name = "default" enabled = "true" & gt;
Gradle successfully synchronized, although a file had occurred. I am able to build applications, but when I try to add underscores to my AndroidManifest.xml file, it gives me this error:
symbol can not be resolved 'MainActivity _ '
What am I doing wrong?
Comments
Post a Comment