3
I just migrated my projects from Eclipse to Intellij IDEA (is the same as Androidstudio uses, but with some small differences).
Yet every time I click Build > Build Apk it generates an APK with "debug enabled".
From what I’ve been reading the property android:debuggable="true"
not supported since 2010.
How can I generate APK?
I may be wrong (or not), but I think the mode "no Debugger" is only when the app is signed, hence you have one. apk to send to the play store. You can’t send an unsigned app (hence it’s like Debugger). Ps.: How do you know you are debugging active?
– Carlos Bridi
@Carlosbridi I’m not sure but I think this is because it generates two files like this
app-debug.apk
andapp-debug-unaligned.apk
, how I made this app for company use I can not make available in the playstore :/– Guilherme Nascimento
If you go to Build, you will have two options: Build APK and a Generated Signed APK. You can generate a subscription for you to have in the company (and associate it with your project there in Project Strucutre > Aba Signing - add a new one), preventing others from generating a production apk without your authorization (or whoever has the password) and test if it will generate an apk without debug mode.
– Carlos Bridi
Ps.: I will post as response, if it really is, let me know, if not then I remove the answer
– Carlos Bridi