With 'com.android.tools.build:gradle:1.5.0' and 'com.neenbedankt.gradle.plugins:android-apt:1.8', AndroidAnnotation works well with processing the annotation. But after I update to 'com.android.tools.build:gradle:2.0.0-beta4' for instant run, it seems AndroidAnnotation cannot generate @EApplication. Is there any way to fix this?
Gradle 2.0.0-beta4 makes AndroidAnnotation doesn't work
418 Views Asked by maohieng At
1
There are 1 best solutions below
Related Questions in ANDROID-STUDIO
- Flutter plugin development android src not opening after opening example
- Listview - Getting error while linking the items correctly in Android Java
- Failed to getEnergyData
- Adding new package in a flutter project does not work untill the android studio is restarted
- unity + Vuforia balck screen in android AR app
- Android Studio Using recently added resources in compose preview in multi-module project
- Flutter project is working in debug version but not in the release version
- Can't run gradlew.bat on Windows
- Android studio crash, nothing in logcat
- Android Studio shows there has 1 usage but No usages found in All places
- Gradle Build errors while running sample code on Android Studio Iguana
- Android camera application restriction to 12 mp
- Change back to default font size in Android Studio
- `android` Does Not Exist in `~/Android/Sdk/platform-tools`
- LSTM frozen layer containing clip_by_value causing android studio to crash when deployed
Related Questions in ANDROID-GRADLE-PLUGIN
- Gradle publish fails to PUT a different random file to s01.oss.sonatype.org/service/local/staging/deploy/maven2 each time
- Class not found exception: androidx.profileinstaller.ProfileInstallerInitializer
- Using jdk.jshell Android Studio
- Error: Plugin [id: 'com.android.application', version: '8.7.0', apply: false] was not found in any of the following sources
- Unsupported class file major version 66
- ran into this issue with gradle when i tried to create a signed bundle
- Jacoco Pluggin not excluding classes , folder and files
- path may not be null or empty string. path='null'?
- Modify Gradle buildConfigField at compilation time
- Android Studio: : app debug:x86 failed to configure C/C++
- Just used firebase into project and getting this error : Plugin [id: 'com.google.gms.google-services'] was not found in any of the following sources
- You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed
- Error: The 'kotlin-android-extensions' Gradle plugin is no longer supported
- Add aar package and sub-project to add aar in Android gradle8.4 groovy DSL
- Getting the Gradle core plugin error and i don't know what to do
Related Questions in ANDROID-ANNOTATIONS
- How to change text style when user presses on subtext in ClickableText in jetpack compose
- Is there an Android annotation (@RequiresApi >= xxx or desugared-library-version >= y.z)?
- Find Java annotations via reflection for Kotlin getter
- Android Bazel, "Check the visibility declaration of the former target if you think the dependency is legitimate"
- androidx.annotation.NonNull Cannot resolve symbol 'NonNull'
- Android studio android annotation system api
- Add an Android annotation to a param of List<T> for type-hinting
- Does Android annotation inheritance is possible?
- ChecksSdkIntAtLeast is not working properly
- Kotlin issue when trying to cast "attachBadgeDrawable": This declaration is opt-in
- What are the ramifications of non-final resource IDs in Android Gradle Plugin version 5.0 for Android Annotations?
- Is there an annotation that denotes a max Android API version?
- SerializedName annotated member is getting obfuscated in release build Android
- use annotation click when button is created in onCreate
- What this 'at'/'@' symbol means in Kotlin?
Related Questions in ANDROID-APT
- Old NFC reader-writer program fails building because of Gradle/old android-apt
- Dagger 2 - Tatarka DataBinding Conflict
- Unable to Upgrade my android code to gradle 3.5.3 while using android-apt
- Android Studio : com.android.ide.common.process.ProcessException: Failed to execute aapt
- Android apt plugin is incompatible use 'annotationProcessor' configuration instead
- android-apt incompatible with gradle plugin
- Android Studio 3.0 error: android-apt is incompatible
- using ig-json-parser with annotationProcessor from android studio 3.0
- Dagger 2 with Android Studio 3.0 Preview (Canary 2) using annotationProcessor instead of android-apt
- Failed to upgrade to Gradle 2.3.0 and Build Tools 25.0.2 (AndroidManifest.xml not found)
- Android Studio 2.3 update : Warning:Using incompatible plugins for the annotation processing: android-apt. This may result in an unexpected behavior
- annotationprocessor and apt configure equivalent
- Incompatible plugins for android-apt after upgrading to Android Studio 2.3
- NoSuchMethodError using Android Jack toolchain
- AndroidAnnotations library fails to use classes generated by requery
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You have to use AA 4.0-SNAPSHOT for this.
Add repository for AA snapshots:
Change AA version to 4.0-SNAPSHOT
Add
library:truetoaptargument:This way AA does not validate the presence of
EApplication,EActivityetc. in your manifest, hence it will compile with Instant Run. The cause is that Instant Run changes your application class in the manifest, that is why AA cannot find the generated one in it.Update: AA 4.0-SNAPSHOT is modularized, that means you have to add the AA REST client module as well in your build.gradle
And you have to change the REST annotation imports to
org.androidannotations.rest.spring.annotations.*.