Android javax.annotation.processing 包丢失 [英] Android javax.annotation.processing Package missing

查看:38
本文介绍了Android javax.annotation.processing 包丢失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想根据下面链接中的例子做一些注解处理:http://www.zdnetasia.com/writing-and-processing-custom-annotations-part-3-39362483.htm.

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.htm.

但是,我想在我的Android项目中实现这一点,似乎我无法在android平台上使用该包.我需要添加一个外部 jar 还是我遗漏了什么?

However, I would like to implement this in my Android project, and it seems I cannot use the package with the android platform. Do I need to add an external jar or is there something I'm missing?

谢谢.

推荐答案

javax.annotation.processing 包未包含在 Android 中,但 Android VM 团队描述了如何包含额外的 javax这里 - 它可能适用于您的问题.

The javax.annotation.processing package is not included in Android, but the Android VM team describes how to include extra javax packages here - it might be applicable to your question.

这篇关于Android javax.annotation.processing 包丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆