Red Cricket
Red Cricket

Reputation: 10470

Where do I put my APK expansion file?

I have 90MB of mp3 files that my media player app uses. I want to upload my .apk to google play but since my app is over 50MB I have to put my mp3 files into a expansion file. I have read the documentation here : http://developer.android.com/google/play/expansion-files.html and I have created the expansion file like so ...

red@ubuntu:~/android/workspace/Album/res/raw$ zip -n .mp3 main.1.com.redcricket.Album.obb *mp3

... but the documentation does not say where this file belongs in the android project directory hierarchy. Am I suppose to move the file main.1.com.redcricket.Album.obb to the asset directory?

Upvotes: 0

Views: 1207

Answers (1)

ianhanniballake
ianhanniballake

Reputation: 199805

Expansion files are stored and managed separately from your APK and therefore don't go into the assets folder at all. When you upload the application to Google Play (whether as a draft or publish it), it gives you the option of uploading the expansion files as well.

Upvotes: 1

Related Questions