本文介绍了Android的Vitamio库使得APK太大的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图用Vitamio库。我没有Vitamio APK是40万左右,而当我添加Vitamio的图书馆之成为超过11 MB!我只是想用Vitamio的videoView。这是任何方式来定制库?我开始复制并从库中粘贴必要的类,但他们一个都不少!
请给我提前一些建议和感谢。

I'm trying to use Vitamio library. My apk without Vitamio is about 400k , and when I add Vitamio's library it become more than 11 MB ! I just want to use Vitamio's videoView. Is it any way to customize the library ? I started copying and pasting necessary classes from the library but they are a lot!Please give me some advice and thanks in advance.

编辑:

此外,我插入库jar文件夹添加库,而不是,它只是约50KB。当我运行应用程序这一次,它说的,我必须先安装Vitamio应用程序继续对话:/

Also I insert the jar file in libs folder instead of adding the library and it's just about 50kb. This time when I run the app, it says in a dialog that I have to install the Vitamio app first to continue :/

推荐答案

删除文件libarm.so不会解决你的情况。
该文件包含了各种processros原生库。该Vitamio库中提取在第一次初始化正确的,以应用程序的数据/ data目录中的私有目录。

Deleting the libarm.so file will NOT fix your situation.This file contains native libs for a variety of processros. The Vitamio library extracts the correct one upon first initialization, to a private directory inside the app's data/data directory.

删除文件11MB将会使您的应用程序卸载的。

Deleting the 11MB file will make your app uninstallable.

InitActivity.java Vitamio.java

这篇关于Android的Vitamio库使得APK太大的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-04 00:21