Adding my first app in Google play ?

I have my app apk already build and has tested and works perfectly in my android, now i want to Upload into google play account but i have this message : the Upload failed You need to reduce your APK file size to 50MB or use APK Expansion Files.

how can I make the upk file less than 50MB or how can i use a expansion files ?

I download the license from google play how can I add to my App ? [import]uid: 180288 topic_id: 35430 reply_id: 335430[/import]

What kind of app is it? I built two games and both are under 20 MB (although with more art they could easily be much higher).

If you’re using sprite sheets, this page has some great ways to shrink down image file size by programatically animating and coloring sprites:

http://www.coronalabs.com/blog/2012/10/09/dynamically-optimized-sprite-sheets/

It might also help if you tell us what your biggest files are, that way we can offer advice on shirinking them.

I don’t know about expansion files or putting the Google Play license into the app, but I may be able to help you reduce your file size(s).

-Treb [import]uid: 181948 topic_id: 35430 reply_id: 140820[/import]

You seem to be asking 3 different questions, lets look at each of them:

  1. My app is too big, how can I make it smaller.
    As @treb.stewart said, sprite sheets help keep your files smaller by minimzing wasted transparency space if you you a texture packing program. There are other things you can do. First, if you have any images that are solid (no transparency) like your backgrounds (which tend to be the bigger images): consider making them JPEG’s instead of PNGs.

Don’t include @4x graphics (though today’s Kindle Fire HD’s and Nook HD’s) can take better advantage of the larger images… or don’t include @4x graphics for images that will scale up nicely.

Make sure your sound files are 11Khz mono sounds. I know some people want great sounding audio, but in most games they are playing through the speakers on the device or ear buds and you’re not getting the greatest fidelity anyway. This could save a ton of space.

  1. Can I use APK Expansion files?
    Not at this time. You could have sounds/images on a web server and download new content as you need it. You can’t download any code this way, though you could download data that your existing code could read to have it do more stuff. This is a bit much to try and explain in a forum post, but it is an option. Expansion files is pretty high up on the list of Android features at http://feedback.coronalabs.com If you have not voted for it, you could add additional votes to help drive this feature’s popularity.

  2. How do I use Google Play’s new license stuff.
    You can’t unless you are an Enterprise subscriber. Google’s existing DRM (while being deprecated) still works, so you can ignore the licensing stuff for now.
    [import]uid: 199310 topic_id: 35430 reply_id: 140848[/import]

What kind of app is it? I built two games and both are under 20 MB (although with more art they could easily be much higher).

If you’re using sprite sheets, this page has some great ways to shrink down image file size by programatically animating and coloring sprites:

http://www.coronalabs.com/blog/2012/10/09/dynamically-optimized-sprite-sheets/

It might also help if you tell us what your biggest files are, that way we can offer advice on shirinking them.

I don’t know about expansion files or putting the Google Play license into the app, but I may be able to help you reduce your file size(s).

-Treb [import]uid: 181948 topic_id: 35430 reply_id: 140820[/import]

You seem to be asking 3 different questions, lets look at each of them:

  1. My app is too big, how can I make it smaller.
    As @treb.stewart said, sprite sheets help keep your files smaller by minimzing wasted transparency space if you you a texture packing program. There are other things you can do. First, if you have any images that are solid (no transparency) like your backgrounds (which tend to be the bigger images): consider making them JPEG’s instead of PNGs.

Don’t include @4x graphics (though today’s Kindle Fire HD’s and Nook HD’s) can take better advantage of the larger images… or don’t include @4x graphics for images that will scale up nicely.

Make sure your sound files are 11Khz mono sounds. I know some people want great sounding audio, but in most games they are playing through the speakers on the device or ear buds and you’re not getting the greatest fidelity anyway. This could save a ton of space.

  1. Can I use APK Expansion files?
    Not at this time. You could have sounds/images on a web server and download new content as you need it. You can’t download any code this way, though you could download data that your existing code could read to have it do more stuff. This is a bit much to try and explain in a forum post, but it is an option. Expansion files is pretty high up on the list of Android features at http://feedback.coronalabs.com If you have not voted for it, you could add additional votes to help drive this feature’s popularity.

  2. How do I use Google Play’s new license stuff.
    You can’t unless you are an Enterprise subscriber. Google’s existing DRM (while being deprecated) still works, so you can ignore the licensing stuff for now.
    [import]uid: 199310 topic_id: 35430 reply_id: 140848[/import]