本文介绍了libarm.so是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用vitamio架构在Android上播放音频。

I am using vitamio framework to play audio on android.

该框架包含库文件的 libarm.so 的文件是非常大的(5M),这使得我的apk非常大的。

The framework consists of a library file libarm.so The file is very big (5M), which makes my apk very big.

我删除文件和编译我的应用程序,仍然运行良好。

I delete file and compile my app, and still running fine.

我想知道是安全的只是删除该文件?

I am wondering is it safe to just delete the file?

推荐答案

它包含了一些针对CPU的高度优化的code,用来提高某些操作的性能,如某些类型的多媒体流的解码( ffmpeg的使用它,我不知道,如果别的东西确实太)。

It contains some CPU-specific highly-optimized code that is used to improve the performance of some operations, like decoding of certain types of multimedia streams (ffmpeg uses it and I'm not sure if something else does too).

该库实际上是几个库的7zipped包,为不同的ARM架构(ARMv6的,ARMv7体系等)的过程,因而它的大小。

The library is actually a 7zipped pack of several libraries, built for different ARM architectures (ARMv6, ARMv7, etc.), thus its size.

这些库提取到您的设备在运行你的应用程序的第一次。如果删除它们,并成功运行你的应用程序,这是最有可能的,因为他们已经被提取。清除您应用数据,并再次尝试。

These libraries are extracted to your device the first time you run your app. If you remove them and run your app successfully, it is most likely because they have already been extracted. Clear you app data, and try it again.

如果当你删除它(并清除了您的应用程序数据)的应用程序不会崩溃,就意味着你只是没有使用code,利用libarm.so的API,所以,除非你打算添加为您的应用更加的多媒体支持,它是安全的离开图书馆出来的。

If the app doesn't crash when you delete it (and have cleared your app data), it means that you're just not using code that utilizes libarm.so APIs, so, unless you plan to add more multimedia support to your app, it is safe to leave the library out of it.

这篇关于libarm.so是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-21 22:33