Questions tagged [android-apt]

Gradle plugin for Android projects that controls annotation processing features.

Questions relating to the android-apt plugin for Gradle.

25 questions
1
vote
1 answer

using ig-json-parser with annotationProcessor from android studio 3.0

In the new version of gradle, the 'android-apt'-pligin is no longer compatible. now you have to user 'annotationProcessor' instatof 'apt' so far so good. I do the folowing: Remove the class path for the apt from the build.gradle (Project:…
1
vote
0 answers

Failed to upgrade to Gradle 2.3.0 and Build Tools 25.0.2 (AndroidManifest.xml not found)

I upgrade Gradle and Android Build Tools as new Android Studio suggests, from: classpath 'com.android.tools.build:gradle:2.2.3' buildToolsVersion '24.0.3' to: classpath 'com.android.tools.build:gradle:2.3.0' buildToolsVersion '25.0.2' However I…
fikr4n
  • 3,250
  • 1
  • 25
  • 46
1
vote
1 answer

android-apt & jack and jill

Android Studio 2.2 Gradle Android Tools 2.2.0 Gradle Wrapper 2.14.1-all I am using apt plugin to compile ButterKnife ( version 8.2.1 ) library and I want to use lambda with jack and jill support. android apt plugin apply plugin:…
okarakose
  • 3,692
  • 5
  • 24
  • 44
1
vote
1 answer

Android apt updating from 1.4 to 1.7 version

Hi I wanted to upgrade android-apt in my project from version 1.4 to 1.7 Currently I'm using Google auto-service 1.0-rc2, so all what I had to do is putting @AutoService(Processor.class) annotation in my annotation processor class. After updating…
Adam Radomski
  • 2,515
  • 2
  • 17
  • 28
0
votes
0 answers

Old NFC reader-writer program fails building because of Gradle/old android-apt

I had an old application which was an NFC Card content editor. It was working fine, in older versions of android, but i want to update it to be compatible with newer versions. I only know the basics of the plugins which are new, but i saw an article…
hebet0o
  • 23
  • 5
0
votes
1 answer

Unable to Upgrade my android code to gradle 3.5.3 while using android-apt

I am unable to upgrade code to gradle 3.5.3 when I tried a lot of error occurs. here my old code app.gradle apply plugin: 'com.android.application' apply plugin: 'android-apt' apply plugin: 'me.tatarka.retrolambda' android { compileSdkVersion…
0
votes
0 answers

android-apt incompatible with gradle plugin

I originally had an error with gradle when I updated gradle about android apt. I went online and Googled what was wrong. I read that apt was no longer supported and I migrated my code accordingly and then went to rebuild. However, now I'm getting…
0
votes
1 answer

How to trigger the minimal task on Gradle to run apt plugin

I'm creating a compile-time annotation processor to generate some code on Android. To trigger the annotation processor I'm using the android-apt plugin from hvisser https://bitbucket.org/hvisser/android-apt/overview At the moment, on every change I…
Budius
  • 39,391
  • 16
  • 102
  • 144
0
votes
1 answer

Android Annotations + multiple paths to APT

imagine some proyect like this one that use android-annotations and for this work i have to put this in build.gradle apt { arguments { resourcePackageName "com.pandaos.smartconfig" androidManifestFile…
accreativos
  • 161
  • 2
  • 9
0
votes
0 answers

[gradle android-apt]: With androidannotations it seems not possible to use generated classes in own code

I'm using android-apt:1.2 and gradle:1.10 to build an android-library with included androidannotations (3.0.1). All the code is compiled correctly excluding some 'cannot find symbol' errors in statements in my code where I must use directly the…
1
2