Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug vs Release variable for renaming APKs #50

Closed
coreyog opened this issue Nov 23, 2015 · 11 comments
Closed

Debug vs Release variable for renaming APKs #50

coreyog opened this issue Nov 23, 2015 · 11 comments

Comments

@coreyog
Copy link

coreyog commented Nov 23, 2015

The APKs manifest should indicate if the APK is "debuggable." I know the play store can determine if I am trying to upload a debug build so it seems possible.

@kkguo
Copy link
Owner

kkguo commented Dec 1, 2015

Hi, @coreyog , I'm not really sure which part is indicating debug/release within apk file, can you send me 2 samples? one for debug and one for release version?

@coreyog
Copy link
Author

coreyog commented Dec 1, 2015

Here are Debug and Release apk's for my alarm clock app. If I try to upload DEBUG.apk to the Play Market I'm not allowed and it tells me that it's a debuggable apk (I believe it has a debuggable attribute in the Android Manifest). RELEASE.apk is fully signed and would be accepted as non-debuggable.

DEBUG: https://dl.dropboxusercontent.com/u/2509448/DEBUG.apk
RELEASE: https://dl.dropboxusercontent.com/u/2509448/RELEASE.apk

The app is free so I'm not worried about it being available here.

@sylveon
Copy link

sylveon commented Dec 3, 2015

Somewhere in your androidmanifest.xml of the debug version, there is the line:
d e b u g g a b l e
In the release, there is no such line.

@kkguo
Copy link
Owner

kkguo commented Mar 24, 2016

Hi, @coreyog, Sorry for letting you wait so long, can you send me the DEBUG.apk again? as I cannnot find it anymore.
restarting...

@coreyog
Copy link
Author

coreyog commented Mar 24, 2016

I have restored DEBUG.apk and RELEASE.apk in my dropbox. The links are:

https://dl.dropboxusercontent.com/u/2509448/DEBUG.apk
https://dl.dropboxusercontent.com/u/2509448/RELEASE.apk

@kkguo
Copy link
Owner

kkguo commented Apr 27, 2016

fixed by release v0.1.5961.24160

@kkguo kkguo closed this as completed Apr 27, 2016
@coreyog
Copy link
Author

coreyog commented Apr 27, 2016

I just tried it. It always says Release.

I set my Rename Pattern to: %AppName%_%Version%_%Debuggable%

On my DEBUG.apk and RELEASE.apk files provided above, both files are renamed to "Dysania_1.9_Release.apk"

kkguo added a commit that referenced this issue Apr 27, 2016
@kkguo kkguo reopened this Apr 27, 2016
@kkguo
Copy link
Owner

kkguo commented Apr 27, 2016

Sorry, check the updated release, 26220

@kkguo kkguo closed this as completed Apr 27, 2016
@kkguo
Copy link
Owner

kkguo commented Apr 29, 2016

@coreyog, does it work for you?

@coreyog
Copy link
Author

coreyog commented Apr 29, 2016

Sorry about the delay. Yes, it's working perfectly on my APKs. I really appreciate the work you've put into it.

@kkguo
Copy link
Owner

kkguo commented Apr 29, 2016

Cool

On Fri, Apr 29, 2016, 5:12 PM coreyog notifications@github.com wrote:

Sorry about the delay. Yes, it's working perfectly on my APKs. I really
appreciate the work you've put into it.


You are receiving this because you modified the open/close state.

Reply to this email directly or view it on GitHub
#50 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants