aboutsummaryrefslogtreecommitdiff
path: root/files/pt-br/tools/webide/troubleshooting/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/pt-br/tools/webide/troubleshooting/index.html')
-rw-r--r--files/pt-br/tools/webide/troubleshooting/index.html62
1 files changed, 62 insertions, 0 deletions
diff --git a/files/pt-br/tools/webide/troubleshooting/index.html b/files/pt-br/tools/webide/troubleshooting/index.html
new file mode 100644
index 0000000000..7f36c6749e
--- /dev/null
+++ b/files/pt-br/tools/webide/troubleshooting/index.html
@@ -0,0 +1,62 @@
+---
+title: Resolução de Problemas WebIDE
+slug: Tools/WebIDE/Troubleshooting
+translation_of: Archive/WebIDE/Troubleshooting
+---
+<div>{{ToolsSidebar}}</div><h2 id="Conectando_a_um_dispositivo_Firefox_OS">Conectando a um dispositivo Firefox OS</h2>
+
+<p>Se você está tentando conectar um dipositivo FirefoxOS ao WebIDE e ele não é exibido, aqui estão alguma coisas que você pode tentar:</p>
+
+<ul>
+ <li>Cheque a versão do seu FirefoxOS: verifique se seu dispositivo está executando o<strong> Firefox OS 1.2/Boot2Gecko 1.2 ou superior</strong>. Para checar esta versão, vá para o aplicativo Configurações no dispositivo, então <code>Informações do Dispositivo &gt; Software</code>. Se você  não tem uma versão alta suficiente procure seu aparelho no <a href="/en-US/Firefox_OS/Developer_phone_guide">guia de telefone para desenvolvedor</a> e siga as instruções para a atualização.</li>
+ <li>Ative o debugging remoto: in the Settings app on the device, go to <code>Device information &gt; More information &gt; Developer</code>.
+ <ul>
+ <li>Firefox OS 1.3 e anterior: "Remote Debugging" é somente uma checkbox. Marque a caixa.</li>
+ <li>Firefox OS 1.4 e posterior: "Remote Debugging" asks you to enable for just ADB, or for ADB and DevTools. Selecione "ADB e DevTools".</li>
+ </ul>
+ </li>
+ <li>Desative a tela de bloqueio no dispositivo: in the Settings app on the device, go to <code>Screen Lock</code> and unchecking the <code>Lock Screen</code> checkbox. This is a good idea because when the screen gets locked, the phone connection gets lost, meaning it is no longer available for debugging.</li>
+ <li>Verifique se você não tem nenhum dispositivo Android conectado ao mesmo tempo com o telefone FirefoxOS em seu computador.</li>
+ <li>Verifique o cabo que você está utilizando:
+ <ul>
+ <li>Tente desconectar e reconectar o cabo USB.</li>
+ <li>Tente plugat o cabo USB em uma porta diferente do seu computador. Você pode ter que alternar as portas.</li>
+ <li>Tente usar um cabo USB diferente. Os cabos que vem com o telefone são muitas vezes de má qualidade e muitas vezes falham.</li>
+ <li>Tente um cabo USB curto. Cabos USB longos tem sido conhecidos por não funcionar bem.</li>
+ </ul>
+ </li>
+ <li>Try disabling and re-enabling Remote Debugging in the Settings app on the device.</li>
+ <li>If <a href="/en-US/docs/Tools/WebIDE#Custom_runtimes">you disabled the ADB Addon Helper</a>, did you successfully run the <code>adb forward</code> command?</li>
+ <li>If you use Linux, make sure you added add a <code>udev</code> rules file, as documented in step 3 of this guide to <a class="external external-icon" href="http://developer.android.com/tools/device.html#setting-up">setting up an Android device</a>. The <code>idVendor</code> attribute to use for the Geeksphone is "05c6", and <a class="external external-icon" href="http://developer.android.com/tools/device.html#VendorIds">this page</a> lists other <code>idVendor</code> values.</li>
+ <li>Se você usa Windows:
+ <ul>
+ <li>you need to install drivers, as documented in step 3 of this guide to <a class="external external-icon" href="http://developer.android.com/tools/device.html#setting-up">setting up an Android device</a>. You can find drivers for Geeksphone devices on the <a class="external external-icon" href="http://downloads.geeksphone.com/">Geeksphone web site</a> and drivers for Google devices on <a href="http://developer.android.com/sdk/win-usb.htm">Google web site</a>. Windows 8 by default will not let you install unsigned drivers. See this tutorial on <a class="external-icon external" href="http://www.craftedge.com/tutorials/driver_install_windows8/driver_install_win8.html" title="http://www.craftedge.com/tutorials/driver_install_windows8/driver_install_win8.html">"How to install an unsigned driver on Windows 8"</a>.</li>
+ <li>if the WebIDE can't see your device after following all the steps, you may have to <a class="external-icon external" href="http://blog.fh-kaernten.at/wehr/?p=1182">edit adb_usb.ini</a>.</li>
+ </ul>
+ </li>
+ <li>If you're a EasyTether user (OS X), you will need to uninstall or disable EasyTether: <code>sudo kextunload /System/Library/Extensions/EasyTetherUSBEthernet.kext</code></li>
+</ul>
+
+<h3 id="Unrestricted_debugging_(including_certified_apps_built-in_apps_apps_already_installed_on_a_device)">Unrestricted debugging (including certified apps, built-in apps, apps already installed on a device)</h3>
+
+<p>If you are finding that you can't debug certified apps, built-in apps, or apps already installed on a real device, then you may be coming across WebIDE's restricted privileges security policy. To find out more, see the section on <a href="/en-US/docs/Tools/WebIDE#Unrestricted_app_debugging_%28including_certified_apps.2C_main_process.2C_etc.%29">Unrestricted app debugging (including certified apps, main process, etc.)</a>.</p>
+
+<h2 id="Conectando_a_outros_navegadores_(Chrome_Safari)">Conectando a outros navegadores (Chrome, Safari)</h2>
+
+<p>WebIDE makes use of <a href="/en-US/docs/Tools/Firefox_Tools_Adapter">Valence (formerly Firefox Tools Adapter)</a> to reach other browsers, like Chrome and Safari. </p>
+
+<p>If you are having trouble connecting to these other browsers, check the setup steps and other notes for those browsers on the <a href="/en-US/docs/Tools/Firefox_Tools_Adapter">Valence page</a>.</p>
+
+<h2 id="Ativando_logging">Ativando logging</h2>
+
+<p>You can also enable verbose logging to gather diagnostics:</p>
+
+<ol start="1" style="list-style-type: decimal;">
+ <li>visit <a class="external external-icon" href="http://kb.mozillazine.org/About:config">about:config</a>, and add a new preference called <span class="message"><span class="content"><code><span class="email">extensions.adbhelper@mozilla.org.sdk</span>.console.logLevel</code>, with the string value <code>all, and set </code></span></span>extensions.adbhelper@mozilla.org.debug<span class="message"><span class="content"><code> to true</code></span></span></li>
+ <li>In the <a class="external external-icon" href="https://support.mozilla.org/en-US/kb/disable-or-remove-add-ons">Add-ons Manager</a>, disable and then re-enable the ADB Helper add-on.</li>
+ <li>Open the <a href="https://developer.mozilla.org/en-US/docs/Tools/Browser_Console">Browser Console</a> and you'll now see console messages prefixed with <code>adb</code>. If the messages don't mean anything to you, <a href="/en-US/docs/Tools/WebIDE/Troubleshooting#Get_help">ask for help</a>.</li>
+</ol>
+
+<h2 id="Obtenha_Ajuda">Obtenha Ajuda</h2>
+
+<p>Vá para <a class="external external-icon" href="https://wiki.mozilla.org/DevTools/GetInvolved#Communication">#devtools sala no IRC</a> e nós tentaremos te ajudar.</p>