简体   繁体   English

无法使用Google Downloader Sample下载APK扩展

[英]Unable to download APK expansion with Google Downloader Sample

I am trying to get the Downloader Sample to download APK expansion files running. 我正在尝试获取Downloader Sample,以运行APK扩展文件。 I have carefully gone through the instructions from Google docs on APK Expansion Files and also the very detailed intructions here Steps to create APK expansion file 我已经仔细阅读了Google文档中有关APK扩展文件的说明以及此处非常详细的说明, 以创建APK扩展文件的步骤

I've 我有

  • Changed the sample code to include my BASE64_PUBLIC_KEY 更改了示例代码以包括我的BASE64_PUBLIC_KEY
  • Uploaded the APK and expansion file to Google Play, and saved the application 将APK和扩展文件上传到Google Play,并保存了应用程序
  • Changed the source code of the sample to reflect the file's size in bytes 更改了示例的源代码以反映文件的大小(以字节为单位)

Still, when I run the sample on my device I get the message 不过,当我在设备上运行示例时,仍然收到消息

Download failed because the resources could not be found 下载失败,因为找不到资源

Any help would be greatly appreciated. 任何帮助将不胜感激。

它突然工作了,我的猜测是原因是对上载的应用程序所做的更改需要时间才能传播。

(Sorry.. this is Question) Can we use this Dowloader sample in our App? (对不起..这是一个问题)我们可以在我们的应用程序中使用此Dowloader示例吗? If used, is there any license related requirements? 如果使用,是否有与许可证相关的要求? because every SDK samples are shipped with apache license 2.0 因为每个SDK样本均随附apache许可证2.0

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM