如何使Android构建系统嵌入annotations.jar中的应用程序? [英] How to make android build system embed annotations.jar in an app?

查看:137
本文介绍了如何使Android构建系统嵌入annotations.jar中的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建立超级在Android开源项目4.0.4。我:

I am building Superuser on Android Open Source Project 4.0.4. I:


  1. 在提取包/应用程序的混帐回购协议

  2. 发出毫米封装/应用/超级

  1. fetched the git repo in packages/apps,
  2. issued mm in packages/apps/Superuser

和面临以下问题:
http://pastebin.com/50vGLhH1

我看了,我有嵌入 annotations.jar 在Android应用程序的依赖性。有HOWTO做到这一点与日食,却找不到我的AOSP源$ C ​​$ C答案。任何人都知道?

I read that I have to embed annotations.jar in android app's dependencies. There are howto do that with eclipse, but cannot find my answer with aosp source code. Anyone knows?

推荐答案

不知道这会工作,会尽力在Android.mk添加以下行

Not sure if this will work, do try adding below line in Android.mk

LOCAL_STATIC_JAVA_LIBRARIES += annotations

这篇关于如何使Android构建系统嵌入annotations.jar中的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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