Android javax.annotation.processing Package missing

后端 未结 7 875
误落风尘
误落风尘 2020-12-30 00:01

I would like to do some annotation processing based on the example in the following link: http://www.zdnetasia.com/writing-and-processing-custom-annotations-part-3-39362483.

相关标签:
7条回答
  • 2020-12-30 00:30

    There is a much easier way if you use Android Studio / Gradle.

    I found the following looking through the answers of the question How do I add javax.annotation.Generated to Java SE 5?:

    For a Gradle build the dependency should be

    compile 'org.glassfish:javax.annotation:10.0-b28'

    0 讨论(0)
提交回复
热议问题