Android javax.annotation.processing Package missing

后端 未结 7 924
误落风尘
误落风尘 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:11

    Simply adding compile 'javax.annotation:javax.annotation-api:1.2' should do the trick.

    see here for all available versions: https://mvnrepository.com/artifact/javax.annotation/javax.annotation-api

提交回复
热议问题