Android Studio can't find javax.annotation.processing.AbstractProcessor
Asked Answered
R

1

5

I want to learn Annotation, and i create a demo project. But when I create a class extends AbstractProcessor, Android Studio can't find this class. How can I add it.

Ru answered 22/6, 2016 at 11:49 Comment(0)
B
18

In Android Studio, if you go on File > New > New Module and select Java Library instead of Android Library, you should then be able to extend AbstractProcessor.

Berey answered 22/6, 2016 at 12:8 Comment(1)
Very Good. Thank you.Ru

© 2022 - 2024 — McMap. All rights reserved.