Android remote debugging for Phonegap app does not work

后端 未结 7 1805
借酒劲吻你
借酒劲吻你 2021-02-02 15:08

Hi I am trying to debug my phonegap app on my device via Chrome I have followed all the steps and my phone is recognized by adb devices command,

Then I go to chrome://ins

7条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-02 15:32

    Here is another solution that might work for some people

    A long time ago I had setup the certificate signing with Phonegap Build and because of that it was automatically generating "release" versions of my app. It was so long ago I had forgotten about this little detail.

    To get it to give you a debug version of the app you have to specifically choose No key selected in the dropdown for android on the Phonegap Build page. Then when you download the apk it generates, it will have appname-debug.apk instead of appname-release.apk.

提交回复
热议问题