1. <i id='Md8xT'><tr id='Md8xT'><dt id='Md8xT'><q id='Md8xT'><span id='Md8xT'><b id='Md8xT'><form id='Md8xT'><ins id='Md8xT'></ins><ul id='Md8xT'></ul><sub id='Md8xT'></sub></form><legend id='Md8xT'></legend><bdo id='Md8xT'><pre id='Md8xT'><center id='Md8xT'></center></pre></bdo></b><th id='Md8xT'></th></span></q></dt></tr></i><div id='Md8xT'><tfoot id='Md8xT'></tfoot><dl id='Md8xT'><fieldset id='Md8xT'></fieldset></dl></div>
      <tfoot id='Md8xT'></tfoot>
    2. <legend id='Md8xT'><style id='Md8xT'><dir id='Md8xT'><q id='Md8xT'></q></dir></style></legend>

      1. <small id='Md8xT'></small><noframes id='Md8xT'>

          <bdo id='Md8xT'></bdo><ul id='Md8xT'></ul>

        Android 应用程序不从 Eclipse 启动

        时间:2023-06-26
        <tfoot id='EE7OC'></tfoot>
        • <bdo id='EE7OC'></bdo><ul id='EE7OC'></ul>

        • <i id='EE7OC'><tr id='EE7OC'><dt id='EE7OC'><q id='EE7OC'><span id='EE7OC'><b id='EE7OC'><form id='EE7OC'><ins id='EE7OC'></ins><ul id='EE7OC'></ul><sub id='EE7OC'></sub></form><legend id='EE7OC'></legend><bdo id='EE7OC'><pre id='EE7OC'><center id='EE7OC'></center></pre></bdo></b><th id='EE7OC'></th></span></q></dt></tr></i><div id='EE7OC'><tfoot id='EE7OC'></tfoot><dl id='EE7OC'><fieldset id='EE7OC'></fieldset></dl></div>
            <tbody id='EE7OC'></tbody>
          <legend id='EE7OC'><style id='EE7OC'><dir id='EE7OC'><q id='EE7OC'></q></dir></style></legend>

            <small id='EE7OC'></small><noframes id='EE7OC'>

                  本文介绍了Android 应用程序不从 Eclipse 启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  在你开始之前:我搜索了谷歌和stackoverflow,没有一个给出明确的答案.

                  Before u start: I searched the google and stackoverflow, none of them gave clear answer.

                  情况:我在 Windows 上使用 Eclipse 来开发 Android 应用程序.所以当我尝试运行应用程序时,系统会输出到控制台

                  Situation: I'm using Eclipse on Windows to develop Android application. So when I'm trying to run the app, the system outputs to console

                  [2010-06-14 17:04:39 - HelloLinearLayout] ------------------------------
                  [2010-06-14 17:04:39 - HelloLinearLayout] Android Launch!
                  [2010-06-14 17:04:39 - HelloLinearLayout] adb is running normally.
                  [2010-06-14 17:04:39 - HelloLinearLayout] Performing com.example.HelloLinearLayout.HelloLinearLayout activity launch
                  [2010-06-14 17:04:39 - HelloLinearLayout] Automatic Target Mode: launching new emulator with compatible AVD 'Default_2.1'
                  [2010-06-14 17:04:39 - HelloLinearLayout] Launching a new emulator with Virtual Device 'Default_2.1'
                  

                  启动模拟器,但不上传 .apk 并且不启动活动.所以,应用程序无论如何都没有启动.

                  starts the emulator, but doesn't upload the .apk and doesn't start the activity. So, app is not started anyway.

                  我找到了一个解决方案"here,但不清楚并且似乎不起作用.例如,我不知道要杀死哪个模拟器处理".我只找到了 adb.exe.这就是重点:有时我很幸运能够杀死他们想要的所有东西并启动应用程序.但还没有确定.

                  I found a "solution" here, but it's unclear and seems to not work. For example, I don't know, which "emulator processed" are meant to be killed. I found adb.exe only. And that's the main point: sometimes I'm lucky enough to kill all that they wanted and start the app. But it's undetermined.

                  请帮忙,我完全被这个问题困住了.

                  Please help, I'm completely stuck with this trouble.

                  推荐答案

                  我已经多次遇到这种情况,不得不做几件事来解决这个问题.

                  I've run into this situation many times and have had to do several things to resolve the issue.

                  1) 如果 DDMS 正在运行,请将其关闭(有时会干扰调试).

                  1) If DDMS is running, close it (it seems to interfere with debugging sometimes).

                  2) 启动模拟器,尝试连接DDMS,然后断开连接,然后返回eclipse并启动调试器.

                  2) Start the emulator, try connecting with DDMS, then disconnect, then go back to eclipse and start the debuggerer.

                  3) 杀死模拟器,在任务管理器中杀死adb进程,重启eclipse,然后尝试调试让Eclipse启动模拟器,有时模拟器第一次加载超时,完全启动后,重新开始调试.

                  3) Kill the emulator, kill the adb process in task manager, restart eclipse, then try debugging letting Eclipse launch the emulator, sometimes the first load of the emulator times out so when it's fully started up, start debugging again.

                  但总的来说,我发现不使用模拟器并使用实际设备要容易得多,对我来说这是一个更快的过程.

                  Overall though, I've found it is much easier to not use the emulator and use an actual device, for me it's a much faster process.

                  这篇关于Android 应用程序不从 Eclipse 启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何在运行时获取设备高度和宽度? 下一篇:无法实例化活动 ComponentInfo

                  相关文章

                • <legend id='nHI8r'><style id='nHI8r'><dir id='nHI8r'><q id='nHI8r'></q></dir></style></legend>
                • <i id='nHI8r'><tr id='nHI8r'><dt id='nHI8r'><q id='nHI8r'><span id='nHI8r'><b id='nHI8r'><form id='nHI8r'><ins id='nHI8r'></ins><ul id='nHI8r'></ul><sub id='nHI8r'></sub></form><legend id='nHI8r'></legend><bdo id='nHI8r'><pre id='nHI8r'><center id='nHI8r'></center></pre></bdo></b><th id='nHI8r'></th></span></q></dt></tr></i><div id='nHI8r'><tfoot id='nHI8r'></tfoot><dl id='nHI8r'><fieldset id='nHI8r'></fieldset></dl></div>
                • <small id='nHI8r'></small><noframes id='nHI8r'>

                    <tfoot id='nHI8r'></tfoot>
                        <bdo id='nHI8r'></bdo><ul id='nHI8r'></ul>