小编saa*_*saf的帖子

应用程序正在等待调试器附加

我在eclipse工作开发一个Android应用程序,当我尝试在我的三星选项卡上调试时,我在其屏幕上获得了以下消息"等待dubugger"并在其下面写着"应用程序xxx正在等待调试器附加",我做了一些搜索,发现:

  1. 看目标sdk
  2. 重启eclipse和设备
  3. 更新日食
  4. 从设备卸载应用程序并再次安装

    我尝试了所有这些,但没有任何帮助.请帮助我.

eclipse android

40
推荐指数
6
解决办法
6万
查看次数

用于将消息从弹出窗口发送到内容脚本的chrome扩展

我正在开发一个扩展,当用户在弹出窗口上按下按钮时,我必须从linkedin配置文件页面中提取数据.我,正在将消息从popup.js页面传递给contentscript,作为回应,我将通过内容脚本从linkedin配置文件页面中提取数据,以便我可以在popup.html中显示它.但是,当我检查popup.html时,我收到了错误.错误是:

Port: Could not establish connection. Receiving end does not exist. lastError:29
Error in event handler for 'undefined': Cannot read property 'farewell' of undefined
TypeError: Cannot read property 'farewell' of undefined
    at chrome-extension://kdfgoafjicddfffdbfofdmckejemfije/popup.js:6:25
    at <error: illegal access>
    at Event.dispatchToListener (event_bindings:356:21)
    at Event.dispatch_ (event_bindings:342:27)
    at Event.dispatch (event_bindings:362:17)
    at Object.chromeHidden.Port.dispatchOnDisconnect (miscellaneous_bindings:258:27)
Run Code Online (Sandbox Code Playgroud)

作为参考,我的清单文件是:

{
    "name": "SoftwareGrid",
    "version": "0.5",
    "icons": { "16": "icons/16.png","48": "icons/48.png", "128": "icons/128.png" },
    "description": "Shows user cresidentials on Linkedin",
    "permissions": [
        "cookies",
        "tabs",
        "http://www.linkedin.com/*"
    ],

    "browser_action": {
        "default_title": "Show Profile", …
Run Code Online (Sandbox Code Playgroud)

javascript message-passing google-chrome-extension content-script

8
推荐指数
1
解决办法
8531
查看次数