Getting error download failed because the resources could not be found
You must upload a draft of your application and expansion files to Google Play.
While your app is publishing (the time between you pressing publish and it actually going live on Play) the expansion files are also unavailable, which can lead to some confusion.
From the docs:
Because your application must sometimes manually download the
expansion files when it first opens, it's important that you test this
process to be sure your application can successfully query for the
URLs, download the files, and save them to the device.To test your application's implementation of the manual download
procedure, you must upload your application to Google Play as a
"draft" to make your expansion files available for download:
- Upload your APK and corresponding expansion files using the Google
Play Developer Console.- Fill in the necessary application details
(title, screenshots, etc.). You can come back and finalize these
details before publishing your application. Click the Save button.
Do not click Publish. This saves the application as a draft, such
that your application is not published for Google Play users, but
the expansion files are available for you to test the download
process.- Install the application on your test device using the Eclipse tools or adb.
- Launch the app.
If everything works as
expected, your application should begin downloading the expansion
files as soon as the main activity starts.
See the testing guidelines for full details.
Expansion File (Android): Download failed because the resources could not be found
I was having the same problem and no matter what I tried it still didnt work.
Finally I managed to download the apk expansion file. What I did was the following.
*Make sure your file size is correct (file size not disk size).
*Make sure versionCode matches with your manifest's versionCode.
*Make sure you have changed the SALT bytes.
Step by step:
1- Create a new app in the developer console.
2- Obtain the LVL Licence Key and repace it in your code.
3- Sign and export your application and create a zip with your expansion file without compression (compression: "store" in win rar).
4-Upload your app to google play but upload it in the Beta Testing Section. (without a production version listed, this is very important you must not have a production version saved in draft).
5- Create a google group with the people you want to allow beta acess and under the Beta Testing tab you must add that group.
5- Now its the scary part, you must click on publish. Your app will not show in google play, it will only be shown to your testing groups, TRUST ME. It should look like this:
*Note: Make sure you don't promote the beta to production or it will be shown, also notice I don't have a production version listed.
6- Under Beta Testing tab there is a link that a you must click in order to use the beta.
After that just download the app from google play, you can just type your package name for example:
https://play.google.com/store/apps/details?id=com.mydomain.myapp
and the app will be installed along with the expansion package.
If you want to test the files download, install the app and then delete the obb file downloaded. This will start the obb download process.
Hope this helps, as it did for me!
Cheers.
Download failed because you may not have purchased this app - emulator
The answer is very simple, the application version code must be same like uploaded version to google play.
i.e ( in build.gradle, app level check
versionCode 2
Then you have to confirm from google play that this version is already uploaded and life.
Unity obb downloader failed
For some odd reason, it started working by itself.
APK Expansion Files downloading not working
Here I am answering my own question so that others can get benefit, I have resolved my problem by contacting Google support, As per there reply we only can use Expansion files feature after publish-Beta testing-Alpha testing , we can use in DRAFT mode as per new update.
So now anyone can use expansion except Draft mode.
Cannot install anything with brew, Error: Failed to download resource git--html
Looks like the downloader (a version of curl in this case) is not trusting the CA certificate on the https://mirrors.edge.kernel.org domain. You can try importing the CA that is presented by this webserver (Depends if you really trust the CA).
To import the certificate, you can download the certificate and then double-click on the certificate. MacOS will open it via Keychain by default and ask you if you want to import it. You can refer to the official docs for this.
wget http://crt.sectigo.com/SectigoRSADomainValidationSecureServerCA.crt
Note
How do you know from where to download the certificate if you face this issue with any other domain.
You can inspect the certificate issued by the server to get the above link. eg:
$ echo | openssl s_client -connect mirrors.edge.kernel.org:443 2>/dev/null \
| openssl x509 -noout -text | grep "CA Issuers"
CA Issuers - URI:http://crt.sectigo.com/SectigoRSADomainValidationSecureServerCA.crt
PS: I am not able to get my -ext
flag to work on the libressl, thus the hacky grep
.
Notice the URL. That is the location of the certificate which you will need to trust in order to trust the brew install. This URL is likely to be present in the Authority Information Access section of the certificate.
Related Topics
Android Fastboot Waiting for Devices
How to Connect Localhost in the Android Emulator
I Get Fragment Not Attached to a Context. What Context Need to Use
How to Use Adb With Emulator Like Memu/Bluestacks/Nox App Player
How to Get the Height of Recyclerview Item in "Onbindviewholder"
How to Get the Json Response of a Post Request in a Webview
How to Implement My Custom Toolbar in My Fragment
Android Compress Video Before Upload to Server
How to Get the Current Gps Location Programmatically in Android
How to Set Align (Right or Left) of Text in Textview, Programmatically
Suppress Keyboard from Popping Up
Send Post Request With Json Data Using Volley
Android:Get Current Date and Time from Firebase
How to Synchronously Load Data from Firebase