How to disable chrome://inspector debugging?


I have followed
But I still can see my app inside chrome://inspector,
is there any way to disable it?

I see there are couple of showcase apps,
some of them appear in inspector, some of them dont.


Edit your AndroidManifest.xml in platforms/android and find:

<application android:debuggable="true" android:hardwareAccelerated="true" android:icon="@drawable/icon" android:label="@string/app_name">

…and change it to:

<application android:debuggable="false" android:hardwareAccelerated="true" android:icon="@drawable/icon" android:label="@string/app_name">


debuggable=false is not working, I still can see my app in chrome://inspect

I am sure I set debuggable=“false”, and I do reinstall it again.

santinowang@Mac.local /tmp Tue Sep 29 10:02:28
$~/Library/Android/sdk/build-tools/23.0.1/aapt l -a android-release.apk |grep debug
A: android:debuggable(0x0101000f)=(type 0x12)0x0
santinowang@Mac.local /tmp Tue Sep 29 10:05:11
$adb install -r android-release.apk
6736 KB/s (12497108 bytes in 1.811s)
pkg: /data/local/tmp/android-release.apk

Any other suggestion? Thank you!


you are not signing the jar and doing additional steps. what you did was to create an unsigned copy which will be seen in debugger. you need to build the app for app store and then it will not be seen in chrome.


$keytool -printcert -jarfile platforms/android/build/outputs/apk/android-release.apk
Signer #1:


Owner: CN=Santino Wang, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=TW
Issuer: CN=Santino Wang, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=TW
Serial number: 4e71cb67
Valid from: Mon Sep 28 05:04:30 CST 2015 until: Fri Feb 13 05:04:30 CST 2043
Certificate fingerprints:
MD5: B3:5E:9D:DB:55:49:DF:79:C7:61:F4:6D:FE:72:0D:EE
SHA1: 78:14:B0:FB:BC:4A:7C:7B:41:68:79:FB:8E:A0:18:7D:1E:D6:6A:3D
SHA256: 8A:87:75:09:D4:7E:E8:72:D0:C0:56:26:5F:1D:0D:90:F0:8C:11:D9:92:02:7B:F0:25:9A:9A:62:87:5F:E4:5F
Signature algorithm name: SHA256withRSA
Version: 3

Is this not properly signed?


not sure related,
I find a post,

My phone/table are userdebug build, is this the reason I can inpsect?


I find a way to workaround it.

use crosswalk…

android-armv7-debug.apk is fine with inspect.
android-armv7-release.apk is gone from inspect.