What would happen if Android app is released with debuggable on?

后端 未结 5 1809
夕颜
夕颜 2020-11-30 23:48

The golden rule is to set debuggable option to off prior to releasing your Android application to the public.

What would happen if I leave (forget to turn off) this

5条回答
  •  臣服心动
    2020-12-01 00:13

    how would it manifest to a user?

    A normal user won't notice the difference.

    By the way:

    Support for a true debug build. Developers no longer need to add the android:debuggable attribute to the tag in the manifest — the build tools add the attribute automatically. In Eclipse/ADT, all incremental builds are assumed to be debug builds, so the tools insert android:debuggable="true". When exporting a signed release build, the tools do not add the attribute. In Ant, a ant debug command automatically inserts the android:debuggable="true" attribute, while ant release does not. If android:debuggable="true" is manually set, then ant release will actually do a debug build, rather than a release build.

提交回复
热议问题