在 android studio 中设置 google play 扩展文件库 [英] setting up google play expansion file library in android studio

查看:75
本文介绍了在 android studio 中设置 google play 扩展文件库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的 android 项目中使用 apk 扩展文件,我已经阅读了这个http://developer.android.com/google/play/expansion-files.html我试图按照这些步骤操作,但我不知道如何在我的项目/google play apk 扩展库中设置 /include.我一直在寻找几个小时,没有找到正确的答案.有什么帮助吗?

I am trying to use apk expansion files in my android project, I've read this http://developer.android.com/google/play/expansion-files.html I tried to follow those steps, but I cannot figure out how to set up / include in my project / google play apk expansion library. I've been searching for hours, didn't find right answer. Any help?

推荐答案

我只是尝试设置 http://developer.android.com/google/play/expansion-files.html 今天,但 play_apk_expansion/downloader_library 无法按提供的方式导入.

I just tried to set up the modules listed in http://developer.android.com/google/play/expansion-files.html today, but the play_apk_expansion/downloader_library cannot be imported as supplied.

问题是 play_apk_expansion/downloader_library/project.properties

更新最后一行:

<代码>android.library.reference.1=../market_licensing

到:

<代码>android.library.reference.1=../../play_licensing/library

注意额外的 ../

然后使用 File ->新 ->导入模块... 像往常一样导入 play_apk_expansion/downloader_library.它还会将 play_licensing/library 导入为 library,但之后可以将其重命名为更有用的东西.

Then use File -> New -> Import Module... to import the play_apk_expansion/downloader_library as usual. It will also import the play_licensing/library as library but that can be renamed to something more useful afterwards.

这篇关于在 android studio 中设置 google play 扩展文件库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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