Facebook App Review upload apk file issue - android

It was never in vain to integrate Facebook into Android Apps but now things seem to be complicated in a way ,may be to get more secure social media.
That's good though .
The Problem what am having is with the Submit Approval Process . i am unable to upload the .apk file in my application as my file size exceeds 100MB. when i upload the .apk file in zip form on dropbox and shared the download link/Url to facebook , it says that MIME/TYPE should be in application/zip.
I have tried following scenarios but no Success:
1) Uploading .apk single file on my dropbox then using its downloadable link.
2) Uploading .zip file containing only .apk file int on my dropbox then using its downloadable link.
3) Uploading .rar file containing only .apk file int on my dropbox then using its downloadable link.
I cannot go for the second option of submitting the app to google play store as my App is Paid App there and Unlike iPhone ,Google does not support for Promo codes but Facebook needs promo-codes for paid app to download it from google play store .

Can you reduce the APK size to <100MB?
Perhaps an other approach is to upload an empty APK, but make it clear in your comments that the real APK can be found on your Dropbox link. State that you are limited by upload size, but that the APK in the Dropbox link should be reviewed.

Did you try this solution to reduce the APK size ? :
In Android studio: Refactor -> Remove Unused Resources.

Related

Sketchware - Issues Publishing to Play Store

Using the Sketchware app and Android, I am trying to export to the Google Play store, I have to select the .json for the service account to allow it to publish the app.
However, when I try to select the .json file I have downloaded to my phone, I navigate to the directory the .json file is stored in then when I try to click on it, it is greyed out and I cannot click on it.
(P.S.: I have tried contacting Sketchware support. However, it has been over three days now and I understand due to coronavirus the response may be delayed, but I thought I would ask here if anyone has a solution.)
Why are you publishing the app directly from Sketchware to PlayStore?
You better sign the apk usin APK SIGNER app and manually upload the APK to the Play Console.
I have never used Google Play Console before, but I think this could help you:
Download your app
Using Apk Extractor (play.google.com/store/apps/details?id=com.ext.ui) is a software that will help you to get APK file from an pre installed app from Android ONLY. Using this software you can actually get an APK or Android Package that you can use while publishing app
There are many application available on Google Play that can convert your app file to AAB format.
Yes, download Apk editor and select generic key or test key (try them out, there's a few) in settings in the app, and edit the API version to the correct number. And set up a Google Play console account.
Yes, we do have a solution. Send the file to WhatsApp. Then share it from WhatsApp, choose file manager, copy the file to the place that you want, open sketchware, choose the file that you added in the JSON file, and enjoy.

Android build to share to other devices and to upload on itch.io

I am currently working on an android game but when I try to build it, we can do it in two ways i.e.
If we check the Bundle Opting in the build menu then it will come in a single file of formate .adb (Android Debug Bride) it may or may not work with Google Play Store or the App Store but I am not targeting on that I wanted a file or files that I can share with my friends or on itch.io because you can only upload a file or files on it, it is not responsible for installing for anything and whoever downloads the from it, he will just get the file on his/her android device and will not get an installed app to start playing it.
we can also check the Splitting opting in the player menu of project setting and then the build will split into two files, 1. .apk , 2. .obb. well this is a good option but with the same problem if I upload it to a distributor or share it to my friends the two files will be downloaded or shared with no installation
Please tell me a way how I can make a file that can download itself or any solution to this.
I just want a way to build an android game that can easily be installed through a distributor or through sharing
Thank You in Advance
What you want is just an APK.
An app bundle is intended for the Google Play Store. If you upload your app as an app bundle to the Play Store, Google repackages it into multiple APKs which only contain the data and code that is required for specific device configurations of end users. E.g. it only contains specific languages, and code for specific architectures and so on.
If you enable the "Split Application Binary" option, Unity limits the size of your APK to 100MB since this is the limit of the Google Play Store. It then creates the expansion file (.obb) which you would also upload to the Play Store.
In your case, you don't need any of it. You need one APK.
Disable "Build AppBundle (Google Play)" and "Split Application Binary" and you should be able to create one big APK.

Where to upload Expansion File on market?

I have created expansion file with "main.1.packagename.obb" name after searching on the internet.
But I can not find any option on developer account to upload that file.
If anyone can show me screenshot of market that where to upload that file or how to thats appreciated.
I can only find this in my account. Can you please send me any link or screenshot where it actually shows how to upload.
Here is the screen which shows after upload, where is the link to upload expansion file??
I have found the solution.
In new developer console, there is no option to upload apk in first time.
But first upload dummy apk and than upload new apk will enable option to add expansion file.
So its a problem due to new dev console.
Here is the screenshot while adding 2nd apk and than expansion file

Disable automatic download of APK expansion files

Is it possible to disable the automatic download of the APK expansion file when you download the application from google play?
Can I force google play to disable the download and let the application download itself the expansion file?
Thanks
If it's your own application you want to test, the best option is to install localy the .apk file on your device without the expansion pack. Upload the application and expansion pack to Google Play and activate it without publishing. When you first start your application, the expansion files will be downloaded from Google Play. This way you can test your expansion files downloader.
#Kai
Is there a specific reason for you to wish for downloading the files yourself?
Yea, our App has many stages(game), each requires its own specific data(media), so downloading only the required data will help increase convenience of the user by avoiding unwanted paid mobile data usage...

Apk external data, Android Expansion

I am using concept of Android Expansion which helps us to remove obstacle of 50mb limitation of Apk.
Following all the steps http://developer.android.com/guide/market/expansion-files.html
I understood that you need to follow file format like this [main|patch].<expansion-version>.<package-name>.obb and did the same.
And also Expansion files may be in (ZIP, PDF, MP4, etc.) format.
I uploaded additional expansion files while publishing apk on Google play. At the time of download apk I get all the additional in my Local(Advanced latest Device), But through code I am not able to get the expansable files of my application.
In code looking at the sampleDownloader code I came to know that it requires three parameter (int type, int expansionCode, long fileSize)
here type: main/patch expansionCode: integer value but I am just wondering how to give FileSize in Long(exact)? and second thing its show message like Download failed because the resource could not be found
Any idea?
Update
Done, all steps are shown here
Did you go through Downloading the Expansion Files? It mentions that
If the expansion files are not there with your Application downloaded from Android Market,
You have to perform Application Licensing to get your app's expansion file names, sizes, and URLs.
Perform a request using Google Play's Application Licensing to get your app's expansion file names, sizes, and URLs.
Use the URLs provided by Google Play to download the expansion files and save the expansion files.
UPDATE:
No, its not compulsory that Google Licensing only works with paid Application. There is a clear Note: defined in the Docs itself that any application may use licensing service to initiate the download of an APK expansion file. But, in that case your request will be only for expansion files and not for a check whether the user paid for the app or not.

Categories

Resources