进口的Andr​​oid APK归档? [英] Import Android APK archive?

查看:133
本文介绍了进口的Andr​​oid APK归档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以在Android APK存档导入到其它Android项目,并访问同样的方式作为一个JAR档案可以吗?

Can an Android APK archive be imported into another Android project and accessed the same way as a JAR archive can?

推荐答案

没有不是的方式,你会用一个罐子。如果您有要导入到项目的Java库,你可以简单地将其添加为在任何其他Java项目。

No not in the way you would use a jar. If you have a java library that you want to import into your project you can simply add it as in any other java project.

如果你有一个应用程序,你要在你的应用程序集成,您可以创建一个Android的库项目了这个程序。这使您能够建立一个R档的布局对象库和可绘等,这也是包括该库项目的项目相一致。

If you have the project files of an app that you want to integrate in you application you can create an android library project out of this app. This enables you to build a R file for the layout objects and drawables etc. of the library that is also consistent in the project that includes this library project.

这篇关于进口的Andr​​oid APK归档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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