安卓APK扩展文件库问题 [英] Android apk expansion file libs problems

查看:864
本文介绍了安卓APK扩展文件库问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下面的开发指南中的步骤来实现谷歌市场(播放)扩展文件设置:

I'm following the steps in the dev guide to implement the Google Marketplace (Play) Expansion files setup:

<一个href="http://developer.android.com/guide/market/expansion-files.html">http://developer.android.com/guide/market/expansion-files.html

我在一节preparing使用下载库里我已经添加了许可证库,下载lib和拉链的lib项目偏食,然后是库到我的主要项目。我的问题是有关兼容性。我的主要项目设置为最小API 8(Android 2.2的),但市场下载库(这里找到:Android的SDK-mac_x86 /演员/谷歌/ market_​​apk_expansion)设置为安卓4.0,肯定使用从API 11.因此,如何方法将这项工作?

I'm at the section "Preparing to use the Downloader Library" where I've added the License Lib, Downloader lib and zip lib projects to eclipse and then as libs to my main project. My question is about compatibility. My main project is set to minimum API 8 (Android 2.2), yet the Market Downloader Library (found here: android-sdk-mac_x86/extras/google/market_apk_expansion) is set to Android 4 and definitely uses methods from API 11. So how will this work?

链接说道:

注:默认情况下,下载库需要API等级4,但   APK扩展邮编库需要API级别5。

Note: By default, the Downloader Library requires API level 4, but the APK Expansion Zip Library requires API level 5.

我应该找一个较旧的图书馆吗?

Should I be looking for an older library?

推荐答案

我设法通过删除值-V9 文件夹来解决这个问题Android的SDK /演员/谷歌/ market_​​apk_expansion / downloader_library 的项目。

I managed to fix the problem by removing a values-v9 folder in android-sdk/extras/google/market_apk_expansion/downloader_library project.

虽然这个图书馆项目采用了Android 4.0建成后,它似乎在我的Andr​​oid 2.2的项目作为参考图书馆工作的罚款。

Although this Library Project is built using Android 4.0, it seems to work fine in my Android 2.2 project as a reference library.

这篇关于安卓APK扩展文件库问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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