什么是优势从罐子apklib的? [英] What is advantage of apklib from jar?

查看:223
本文介绍了什么是优势从罐子apklib的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下面<一个href=\"http://stackoverflow.com/questions/6059502/whats-the-difference-between-apklib-and-jar-files\">this问题但它并不能完全回答我的问题。

什么是apklib的真正的优势从罐子?

可能的答案:


  1. 它包含资源

不过,我可以很容易地把资源的jar文件以及


  1. 它包含已经prepared安卓类

但是,如果我打开 apklib 我没有看到 DEX 或其他东西相关的机器人。更我看到的是纯内源

那么,什么是真正的目的,以保持/在 apklib 格式分发库?


解决方案

  

不过,我可以很容易地把资源的jar文件以及


没有,你不能,至少不会在Android资源系统方面。能够创建一个包含Android的资源JAR(或类似的包)是,谷歌是在present时间工作的新构建系统的目标之一。

I was following this question but it doesn't answer my question completely.

What is real advantage of apklib from jar?

Possible answers:

  1. It contains resources

But I can easily put resources to jar file as well

  1. It contains already prepared android classes

But if I open apklib I don't see dex or something other related to android. Even more I see plain sources inside.

So what is real purpose to keep/distribute library in apklib format?

解决方案

But I can easily put resources to jar file as well

No, you cannot, at least not in terms of the Android resource system. Being able to create a JAR (or similar package) that contains Android resources is one of the objective of the new build system that Google is working on at the present time.

这篇关于什么是优势从罐子apklib的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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