publish app with expansion file - android

I have referred many related links but i was not successful yet .
I have an app with 615 mb , so i have optimized such that my main .apk has 24 mb and rest in the extension file as .zip . Now i could not find where to upload my extension .zip file in the Play Store .
I have referred :
http://docs.xamarin.com/guides/android/deployment,_testing,_and_metrics/publishing_an_application/part_2_-_publishing_an_application_on_google_play
http://developer.android.com/google/play/expansion-files.html
can you please suggest me where to upload this extension file . It would be helpful if any tutorial or step by step process is explained .
Thanks in advance .

Sometimes the extension file upload simple don't appear. I have solved it by switching to advanced mode, unpublish the current version, and when I upload the new version it ask for extension file.

Related

Unity Generation of the Firebase Android resource file google-services.xml from Assets/GoogleService-Info.plist failed

I would like to setup Firebase in Unity 2020.1.14.
I downloaded the GoogleService-Info.plist into my assets folder and set up a project in the Firebase console.
But as soon as I import the FirebaseAnalytics 7.0 package I'm getting this error:
Generation of the Firebase Android resource file google-services.xml from Assets/GoogleService-Info.plist failed.
If you have not included a valid Firebase Android resources in your app it will fail to initialize.
"python" "/Users/joerg/Projekte/UnityTest/FirebaseTest2012042/Assets/Firebase/Editor/generate_xml_from_google_services_json.py" -i "Assets/GoogleService-Info.plist" -l --plist
Could not find key in plist file: [DATABASE_URL]
How do I set the [DATABASE_URL] in GoogleService-Info.plist?
Thanks
Joerg
This was really frustrating. There is no mention on the original setup tutorial about this issue. I'm assuming more people are going to run in to this problem. So here is the solution:
Go to Firebase Console
Choose your project
Go to "Realtime Database"
Create Realtime Database
After database is created.
Go to "Project Settings"
Download google-services.json and GoogleService-Info.plist
Replace these files in you Unity project. (these files should be inside of the Assets folder, or if you've created a Data folder, then you can find them there.)
In the newly generated files there is a "firebase_url":. Which was missing before. This should now fix this particular error message.
Ok, I found the solution: I just had to setup a database in the Firebase Console and then the url is written to the plist file.
This wasn't mentioned in the Google tutorial.
Simple solution, just add those lines:
<key>DATABASE_URL</key>
<string>https://unexisting.fake.database.firebaseio.com</string>
p.s. I would not recommend enabling database service since it's paid. If for some reason, some plugin will attempt to use it in some way, you will be charged. The only reason I am not using those awesome paid services from Google is that they are only POST PAID without ability to set limit (except you wrote some complicated script yourself which will run in real time and will turn off services once you reach certain limit). There are lot of developers stories who woke up with 5-10k bills due to some error in script.

How to convert all source code to dex file [Android Decomplie]

I have some problems with my project. I lost all source code yesterday, I have apk that signed and uploaded to google play. Now I need to decode apk file to get all source code back. After that, I want to change some feature in source code class. then I want to compile that source code to apk and send to my customer.I have try some tool to get my source code , I decoded I gotten 70% source code ( Thank God !) . I need to stay and type rest of it then compile. It's hard to do this. So I continute researching.. I read about that Apktool can help me in get source code then decompile to apk. But I can not find out way to get source, apktool just get xml for me. So I stuck with this.
I need some help for me, for my project.
Thank inadvance!

Unable to upload upadated version of expnasion file in google play store?

I am developing an application with expansion feature.
First time I uploaded an apk with expansion file successfully.But i want to upload next version of apk with updated expansion file version.But its disable dropdown to upload the expansion file.And enabled only patch version uploaded.
Example:-
First Time :-
Apk:- firstdemov1.apk
Expansion File:- main.1.com.apps.firstdemo.obb.zip
Second Time :-
Apk:- firstdemov2.apk
Expansion File:- main.2.com.apps.firstdemo.obb.zip
If anyone have idea please reply.
Thanks in advance..
I think that it's because your apk must have the same name as before.
Just increase the versionCode in your manifest, and the versionName as-well if you want to (the last one is optional).

How to play video as live wallpaper android?

Does anyone know how to play .mp4 video as live wallpaper?
I searched a lot, but couldn't find the solution. I just found this one but I am not getting any idea from it.
Please help me if you have any idea regarding this concept.
After spending 3 days finally I run this project in eclipse.
I am sharing the steps as it may help others:
Firstly, the most important thing is that Your project path and ndk path should not contain spaces else you will have problems following these steps. I also faced problems with it so please remove the spaces, if any.
For example :-
android ndk/Live wallpaper
replace it with
androidndk/Livewallpaper
Following are steps :-
1) Install NDK from Android NDK page
(I used Ubuntu OS)
2) Install plugins for NDK ( https://dl-sl.google.com/android/eclipse/ )
3) Open your terminal and go to your project directory path
For Example :- /yourprojectname$
4) Now from your project directory path write Your Android NDk path
For Example :-
/home/rainc/android_setup/android-ndk-r8d/ndk-build
And Press Enter. This will give you a .so file which means the library file has been generated..
You have done it successfully. If you are getting error(s) here then the installation and the other steps might be having error(s).
Following links helped me in my research:
First
Second
Third
And also thanks to Lazy Ninja for helping me.
You are up on a good challenge, unless you are familiar with android ndk. There is the library ffmpeg which will save you some time.
A tutorial on Video Live Wallpaper here.Go through part 1 -4.
And here is a link of the project code.
Hope it will help you get started.

Decompiling of .apk files

How to decode the .apk files, I followed http://dedexer.sourceforge.net/ but ddx.jar didnot produce any output file.
Check out APKTool. Original XDA post by Brut.all. Google Code-page
Hope the below link will satisfy your need :
Decompile your apk
Thanks,
Sen

Categories

Resources