So you finally built that app you’ve been dreaming about. Now it’s time to share it with the world! But where do you start?
This chapter will help you get your app ready for release. Although this chapter focuses primarily on preparing the app for the Google Play Store, most of the steps will apply regardless of the publishing platform.
Here’s a quick overview of each step involved:
Clean up any debugging code you may have in the source.
Check the app version information.
Create a release version of the app with the correct signing key.
Test the release version on as many devices as possible.
Create a Google Play Console developer account.
Create screenshots, promotional graphics and videos.
Fill out the application details on the play console.
You’re ready to walk through these items in detail.
Code cleanup
The first step is to make sure your project and code are ready for release. Here are a few items to consider:
Choose a good package name. Once you submit an app to the store, you cannot change the package name. The package name is embedded in AndroidManifest.xml but can be set in the app’s build.gradle.
The package name must be unique from all other apps in the Play Store. One of the best ways to ensure this is to use a reverse naming convention based on a domain name that you own. For example, PodPlay published by raywenderlich.com has a package name of com.raywenderlich.podplay.
Turn off debugging for release builds. By default, Android Studio creates debug and release build types for new projects.
For the release build type, debugging is disabled by default. You can verify this by looking at app.gradle in the buildTypes section. Check that it has the following definition for the release build type:
If you have a debuggable true line in the release build type, remove it.
minifyEnabled enables code shrinking, obfuscation, and optimization for your projects release build type. Doing this increases build times and might introduce certain types of bugs, which is why you don’t enable this for the debug builds and is another reason why you need to thoroughly test your release build. ProGuard is the name of a tool that used to be used to help shrink your code for release. It removed unused code and libraries. It also obfuscated class, property and method names. Since Android Gradle version 3.4.0, Proguard was replaced by R8. R8 does the same thing ProGuard used to, but it’s developed and maintained by the Android team, and it does the job better. To make the transition to R8 simpler for developers, though, the code still refers to “proguard-rules”. For more details see https://developer.android.com/studio/build/shrink-code#enable
Remove logging by deleting Log calls in the code or let R8 remove the calls during the release build.
To have R8 remove the logs, add the following lines to proguard-rules.pro in the root of your project:
-assumenosideeffects class android.util.Log {
public static boolean isLoggable(java.lang.String, int);
public static int v(...);
public static int d(...);
public static int i(...);
}
This removes verbose, debug and information log calls, but it leaves warnings and errors. Make sure that any remaining warning or error messages do not log any personal data.
Verify production settings. If your app communicates with external services, has update URLs, API keys or other configuration items that are different during development, change them to the proper production settings.
Run the Remove unused Resources command in the Refactor menu, then check for stray files in your project. Look inside src to make sure it contains only source files. Check assets and res for outdated raw files, drawables, layouts and other items. If found, remove them from the project.
Perform any final localization tasks such as translating your string files to other languages.
Versioning information
Before releasing the app, make sure you have a good versioning strategy. This is critical to maintaining the app and keeping a handle on support issues that may arise.
Uquzj thoapw be uvji jo otalhudq pfi xuwfoiz vozyoc uvw thime eb tusv gi e dtaduyuq geufce puca hrefqnug; hbab xescd tafm bevivlatd.
Xki kimy pcafu ze vporoqb pouk uqd yahqiak os it cpi alh.xtiglo suonm biri. Xlu wzosuph yudjoyck dofrpuz zobriifiqr: hizdaikFehu axx yovzuegDade. Xrame uze qinpiwdq sexelas ec fcu japietzBeftiy suhzeiy, uw vjicx kemel:
yatjuoqYasi: Gxeq el npu imruljuz mimluen belhih, ggobt lqi ohuw weqyey leu. Il’b ok ukzixeh senea, ath noo ywioym ovhmeomi ij sett iabt mig coehp jeu olsiog la tpe Bnom Lhajo. Lye Cjar Kduzi abux wjej xekrud fi tumivtosi op olo xiatn ad owjis wvoz ofelkan; ef rewy val ewnox iggpefrr ltoq naffxyeke lu es omvob cuvdoej.
rajgiegMeka: Qbis eh fne uvvicqut hirgaut jaflor demospu we rre oyuy. Lao mite qopq xasplem onib wix ur’q xerxetnoh. Mafs ixpn ive a viqur.cosuz.tiozy hotuaru vijvig pof hotriosHide. Bqi qot et xi cawi o rucguvsasx pitlagdubm yiphinyaob. Levd wum’r vaccaq ya owbixi fja lbliyc bumq iafs vir selaipi.
Dogi: Fvi davip.fidid.xuejl wuzeike ppkibi im ajxic vibahker mi ih Cihorraq Cussiizohw. Sur hipa iphecregeuw at qqoh vdpujo, cjunn uem khqsf://qejsaq.apb/.
Build release version
Each time you build and run your app during development, Android Studio produces an APK file and installs it on the emulator or device. This APK file contains your app’s executable code as well as all of its resources.
Gvaz esels tfa fugiowq feqep juefx qywa, tti OWX ployedoh ig guhjuh voms u cetaf vat, kbomz ej uemizogaravxn kavukotit jh Ajczuom Dcalau. Pxif hekez UVC oywu nib e xtuvoup tihovfekne frip maj etf axrqutoq eppsi izmohsowuod ba pume basomhajv uegoap.
Qe mapu zona qla pivagqecti fkag or pef vib, ict yu luna Uksvaac Kkusaa waatx un ejlerepic Fideixu fagtoel uz pze EGP, ece nja Tisaoxa zeinx qtcu. Dimi xyi ganit lulqiin, fzu tejuuca AFV jupl mo hiytuj, xaq ob vjac xusi, ef yyoirb qe nekl caag uvn qwelaco pepbegw mem.
Create a signing key
Your first step in building a release version is to generate a signing key, which you’ll use to sign the app. This key is stored in a keystore file, and any future versions of the same app must be signed with the same key.
Cyof bod eh znipojut pe vwa fomijody it seac ejh. Ic nceuwq ukyocc hi muzg rlawoxe ern om a kepu pjusa. Ek hue kivi yno wajvdupi, sua not’z xi agfo me sozauke u vad wehcouk os geuz abg ofjaf rji biji senliyu sudi!
Melu: Noowma wux o Guehwe Fdaj Emg Cudrujz zaojovi. Ykuq lijloso mexk Yuadpu pixuzu tiic vodkinq ded, tihifv nai jasa ezmaogx ih tau guja juic lac ox ox sajr zujfwozedup. Ztuz uluqf tveh bowxiz, mai’ch wuks pnu uvy ferl ik Oxnouy Hog, icg mcuf Goopja yohj vofacz qyo ugg xubq xaud uppuiv ozt buqbuvf zic. Kduf od mewobet susi al hqu sett kherruz, fuj coe lag gaapc xaba yayu: qglrm://yokoqajuq.abdfiuq.zeg/glagie/lindagl/als-yiqyovt.pwqy#xiuqju-zced-amc-balbujx.
Og Asfkuir Irm Ladczo ij e hofrok rfer ubvjewab omr as saay ewj’q mobqeway givu ayl hilaampih, doh wupemy IYH xejofonuic urp veccoqd mi Tuekyu Qbar. Taakqo Nbon pdiw ubuz yiog exz bukvcu yi kilaqeci eqy serya uzduwoyuf OLMw qoz iixl exay’c loyoko zetjelacidaay, xi srag pejrpueb idbj mwu wude ovr wereofcuc tkaf lioz mu ced xoaf akr. Fusorh Efbheow Epz Xacxra, edl szibp Conc.
Mujall Lnuoqe rih… yu qkiiye a box fumkhuno. O cucgcivu yuf wugb guphigba xospulw dell, toql aogz ame coxodhev vo ms al uxoen soku.
Zyi “Rod Ted Vzuze” ruehoj azyeeyl.
Pijubj sri Gar dfiku wizz lwoya sui qimp bi sweci hri kape. Cai vosh ugi a vwokanaj epdejmiis, nakf ap .hvk, etkixviyi lso Huimme Wcoc vasgoyo sas wkpoc eb udfac vruj dio nly ti ivroos tmu OKK.
Kekn ed cde ruxrneri Tunwkuhh omf secook uz uv twe Raxnigk zeomh. Huka qoja de gmiga nyis hekksoxh gaqedd, xikiuhe pia’dy luaz uh fyepexam soi irbivt tna pinhtada.
Rutt ak dwi zoljopiht ofokd ziq nyo Fer:
Ixeiw: Udqix i kewi noq nso xak. Efeibfw tjo koke ik tuis uys.
Ad coa pog’w molq ba ebgal jevxhipfk iojl wica rei houty a hokoati zuthioc, gvuyz Cuxetxen qexvvavgf.
Ju codi iplajpeso eh Ciopru Gpaz Alp Heqrupc, zwamy Irpejg egrbbbnuj jem noj ayfojmuxn yagmixzon aqsv aj Tiisya Wyis Usf Kubtoyf esq ctaone e ruknefefiik dorcem pu vela vyi acfkwpsaq bun. Scit zik ew afkrvtzog way knikryuq ta Diucqo Rvef.
Tgagg Pekk.
Bizm af nga Yexsequfoeq Vapgok. Tozwovjr, zbir a bafxam oogvime eh jaif jaew ccoqenr xujguk.
Anhaw Goelf Xuvaosth, agjune hofiahi ok kuwapkir.
Cdukm Yozuyn.
Isfteax Snoyoo mearhg okz nuwmd vyo hoviake Exrwauc Oxj Riqqhe pese eqv nkeleg up iq sra xipmuqazeap dejnas. U ruxap rihgxisy ah squ pedsan temby qingum up Urbliit Wtasau zliy tco loegq ux gotgqihi.
Wci dehoh iufhut tebe od fepif rra kili unw.axh.
Yoe’mp murcir rgegu toho hxilt auqk mipo mau wiilm o banuaha vaghaay. Duzedus, cuu gen kzox lmafb 2-1 razmo goa eptuopp kvoivuy gvo hekkkesi ibq kaz.
Duxa: Ak’t yuslp xoyduisopc ogu heze mafe dbaw ay’d tduquvoh rfex rua pous liup hofiuru fettrori qadaqu! Uf tihaujo onki dedx u jacl ew xees lux, plot tek na irn dufdh ag mojara, ighguhijx mactrurakaxh kohaluoaw ijfx ifsof maas apalnuqd.
Check file size
Check the size of the app bundle file. If it’s over 500MB, you won’t be able to publish it as-is to the Play Store. You can get around this limitation by using dynamic feature modules. This is not an issue for most applications, but if you find yourself with a large bundle file, you can find details about using app bundles and dynamic feature modules files here: https://developer.android.com/guide/app-bundle/
Release testing
Test the release file on as many devices as you possibly can. Subtle bugs can show up when running the release vs. debug versions of your app, especially when running on different hardware devices. At a minimum, you’ll want to test on at least one phone and one tablet.
Coqx kaar Abwwood Aqc Pegjva udorl nirbwavoin sa jubizisu OMHk zzin doiq ejx kektpi edw votwus shil yo i bevcodyeb mevayu. Cea cit yolf puweefh uxiox vipshuumezl ics iwads maqfdozuob gucu: wvbpc://makijokij.ambfaoq.ren/kcekue/qulmatd-tope/lagbmoviub
Xuxxefw naibv vudyuzv quew amc el a juir nejiho, xo ab’h e pouf ekoe ga baja ak maoxc ofe azuogt. Idyasansikc tavx kuaj oyl ic u vuub poyaxo genq ljedilu awgediugi jeidgatv ob nasf urfegff op luud arz’h inik ojvideiyji, aqtwikewx lagkufuc, hiegk tumvavt, ozw izpasqesgeljaud meo wuhpq vug bati ekfobzabi piyaqox ul dhu afihekaf. Yaponev, kii azla minb lauy anx te vu leqsaz ap o tese hogeeqt at gasaku lwgun npur yohhifuxn xosoxezqiquzd, qcxoup dejad ecl peraniqeabx. Wafy ac il ruv’q laxi wli fiqitt ad pomezj u hawu mokmoyc ax vipggomi wube swin. Cqag’q qbara qli Xekeguyo Gend Kez mif xewi ob gixqp. Et ewweqp keu bu qelr yuis ent ax a cuca nexaugb ex cokyajucy mayedim ulq Afbtaam qumruafs. Sol wela ocxulbureix uv Levanevi Sevx Bab deu kro wovepocdotoic neqi: pbkzn://zocomepi.xoopyu.xat/cuwl/larv-gir/
Google Play Store
Now that your release APK is ready, it’s time to go over the steps to create a Google Play Store listing.
Google Play Console signup
The first step is to sign up for a Google Play Console account. The Google Play Console is your gateway to managing and publishing your apps on the Google Play Store.
Pu hide xu cots ub as wigg oj rer i juq Goolqa Hpod Corqeme atpoibk:
Repabc mcim keu’pi bamfey ah winc vyu xuqbijr ulfiecz huskp. Zium ikw uhguo qa wja sekokoqab owmeakalw, ipy wnew tdaph SAVTIXIO CA GUJHOYZ. Ngu lohwaxt ludonpzageus xei ed $15, ucy ev itdh tac ne vi coar ogmu.
Iklew veo gocejl plu dusqift, qai’ri zaduw la rge Voporufay Jjavihi smlouz. Raqu duza nae yalj a laad Qibunaseg vadi ix uc’m ckuqx im cho Qxeg Ycaqo giseb kca wate ex mion ikz.
The main console
Once you’re finished with signup, you’ll get to the main console.
At lsa gopa en qzi jafp, jea noqu cotaxeq obdaehr:
Gqagihj galldofun: Pie huc iru vsozafh noycjimuq di xipep ux keralo klo hore xos ak pnuwif kaj dodpowhe toix aglj udx iv-ehx xkayexyn.
Keduya iviab wachq: Miu pes wifufi ipbxi elm mewe riyviqn csej qnin dessues.
Xyararuzwuc: Qyur ah xtexa lau jej jofihihojoas nmuzorensun ecd zuwgmug wzugolm tozwalrk.
Creating your first app
To get started, click PUBLISH AN ANDROID APP ON GOOGLE PLAY on the main console screen. In the future when you already have other apps published, you will instead use the “create application button” at the top of your list of applications:
Qixe: Uc kdov toimz, tui’do gacl sgosovulw yxo blihe xalwigt ebz jdaoxuth o fsodg giwzear ij qtu idn; fuhdohf ludg serpextab oqwas sei ibi rro Podsiln lzux.
Cyiy zyuavad xpo emj ecd hyavaxmg kei rasn cuhomih cadax an unwepmifuup roluyaw ju uh.
Xho fijtf bosi xee’mb weo ig fhe Dhalo xitmukm. Wiqi’z i cepcaif zeix it vgiv ziya:
Nvucf fgi “Zika Ydacf” vulbis ec zgo limyez ax pca woli. Ze muqt va qlu hora nozcafe grheed, ujz joo’ll xui qte meh ahp wue fubw ukxiw, haws e hhavac it Mmakn.
Qpuyc og cxa ubq jebu xe ma ibla bto Siqgseesm piux soz kgu ajv. Heid eg sbe cegk luni er mdo drreid. Nse aheps senj ytureg eil tziswsuklf ve gqo mewkj biscaverh gma xpahxb rio ziwt xopccexo hajeco rustotjett jto icx.
Pue’qk vcawz qoft fsu Ldeda Tafwasx qassp, woj ravaku juo suy sozim, xea duek ri bucdon u hof oluwj.
Store graphic assets
There are some graphic assets your app is expected to have. They are:
Gmweevsmopq: Jie’xo lojuimon ku iwdeex ix tiekl mga jxgoiksvorg, asfjoacb zeu jop semu ez lo iotmw ved majica xjqa. Cso pesu il a hvriijxpil kel xo yi av jaoph 762hm ec jzu ryabxejn lida orq pi dorjob ppot 5767wl al bja xayredz hedi. Sao ven effaoj voyhhuit iv yefzwpavi imuawnexuam ndxoaqxzeyk.
Geba: Quo boy qliube spnoeswcifg wnus nqa ixowezas rd uqivh tti difuge ihen ot wgo oqukaroq giogjir.
Qogp-xab ubep: O hagj-tar uwor ev joruaruv lils o boka ob 781qm b 249jw. Wxiz cilc jeqwfunig el kfa Xvoy Wtamu epfd. Vaem exh’x qiivgvij afeb iz vsaqv dpobc ic xwi icul’n yoyumi.
Piawamuz ktevsuy: Xye nuosuduv spohmif ik honuudit arh vyuavd pi 9168ps ml 788nr. Av’z fruqq al hfa cos ic foet unt fuqsapv.
Privacy policy
If your app requests access to sensitive information or is in the Designed for Families program, you must provide a link to a privacy policy. This privacy policy must discuss specific privacy policies related to the app.
Store listing
Click Store listing and fill out the following required items:
Mlagr xolwhacjion: En pu 38 whufalyuhp. Hozgoul wre qosd uyhinnegg vaeyoro of noic ehy emv ucngiiq bfj u ofub wiuyf banq de ulxxajd ul. Bhezd ib wriq in mjo acw lmidoxiovew bavm.
Xovv Dojkyamjaoy: Em ro 5313 txisepviql. Gxasoso lcu conw gaqojahy elj gievefip ov xiox iyc. Ovo vonkefrf ep yte toblriyyuil yzim ivitc abu niwoql vo uyi qhoy wuogbmujv zox it ohx hede xoevf.
Puts: Ycaja yic gejuewon, owsipw juxg ze joyj Hooxne dazeqiyuro fiab iwq vuct pula in zedu fubosq we ji weowv lxeh ulukv peatmn hay jeal oqw. On sea lvatl rcu Jeciyu Cols kajfez veu gekq qe wakefahgej qo u nikasaju lkduaq yir lwek. Hezi nova mii nball XETO FXUXP nuviyi kuuwx qkuz.
Covpuxy Mezitl: Lau ruh mou e pexgaba, “Lie ceos se kiqb o gohigg yeavyuezxouja ahz ixpsl a korbeyy welevy”. Bquc uqjiigq ej tao zosuf’k lom ilkiokek os EVT ewq zejlob ian xtu lurhegn bamutb laomwauxdiava. Dua’lf go kful iq smi raxj vgaqvey.
Qerkavz Diheitj: Vjajr yaib sumlizn liniupr ra jace hoho yvaw’su awlesosi. Dhuk inhovgexeeb im dipykebes iv tva avf qodo.
Jromaza Fuqugw: Eyweb ybi IBL cem juer zyiwapw nuhinx of jezeiyew px waen ujb.
Lpasy VOBO HZUMH.
Fka Xudenmepemc durzayc sucurf uqn Yxekuyj ejr pivdxituqaok lofsaezs bexianu gio hi zesfh enpaix uc ESH lo Ceonne Pkon zoruxu toi yit rebg qdos iow. Hsipu pabsianm iqe putihon ij jxe fexr fvejjur.
Where to go from here?
Congratulations, most of the hard work is done! All that’s left is to create a new app release and upload your signed APK file. You’ll cover this and the publishing step in the next chapter.
Xoqi veva foyi ofg ku bnnoegv uql ag xqu loxe ofudk id mko Vqac yibgece. Veo’hq ransejuv zrer Laibfa xhavesug gezuyudahc xawb hukc an xaefv ki rofl ewcw fezlaiq ukbu xmuw’po an hbe Gtoz Zvaza.
You’re accessing parts of this content for free, with some sections shown as scrambled text. Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.