javax.annotation.processing中的Andr​​oid包中缺少 [英] Android javax.annotation.processing Package missing

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

问题描述

我想基于以下链接的例子做一些注释处理:的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.

不过,我想在我的Andr​​oid项目来实现这一点,似乎我不能与Android平台使用的软件包。我是否需要添加一个外部罐子或者是有什么我失踪?

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的虚拟机队介绍包括额外的的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.

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

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