Saturday, February 2, 2013

Re: [android-developers] Unpublishing an APK


On Sat, Feb 2, 2013 at 8:08 PM, Jake Colman <jake.colman@gmail.com> wrote:
I uploaded a new APK and discovered a bug a stupid oversight (I forgot
to turn off my debug flag).

You no longer have to manually change the debug flag. Just omit it. When your run through Eclipse (using the debug certificate) it's enabled by default. When you export for release, it's disabled for you.
 
This got me thinking whether there was a better way to handle this. What do I do if I upload a bad APK but need a few hours or days to fix it?

Revert to your last good build in your version control (you do have version control, right?), update version code, re-release.
 
Is there a way to remove the latest APK and restore the APK that was prior to it?

The developer console has this nifty notion of "active APK" and buttons that read "set as active" (at least the old console did). This might lure you into thinking that you can just push a button and go back to a previous version. You actually can't and this idea of "active APK" turns out to be utterly pointless and begs the question of why it was ever even put there in the first place.
 
It see the "unpublish" option that I think that would remove the entire app from the store.

Correct. You don't want to do that.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment