Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I have an application that is approximately 40 Mb.
Whenever I test my application on my Galaxy S I9000 it takes 1-2 minutes to download and another 1-2 minutes to install.
Can I upload only the part of code that I have changed?
我猜在一个 40 MB 的应用程序中,大部分空间都被图像占用了。一种可能的解决方案是让您的应用在第一次运行时下载图像,而不是捆绑它们。这样,您的 apk 将只包含图标等代码和资源,因此大小会大大减小。此外,您无需在每次更新应用程序时不断重新下载图像。
当您发布应用程序时,您可以使用扩展 apk 在下载时分发图像,或者将它们托管在您自己的服务器上并下载它们。