Difference between revisions of "AppSuite:UI remote debugging android mac"

 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Stability-experimental}}
+
The content on this page has moved to https://documentation.open-xchange.com/7.10.2/ui/
  
<div class="title">How to setup remote debugging for chrome on android devices with a mac</div>
+
Note: Open-Xchange is in the process of migrating all its technical documentation to a new and improved documentation system (documentation.open-xchange.com). Please note as the migration takes place more information will be available on the new system and less on this system. Thank you for your understanding during this period of transition.
 
 
==Prerequisites==
 
 
 
You need the latest X-Code and a working setup of the latest Homebrew. Check with <tt>brew doctor</tt>.
 
 
 
==Setup==
 
<pre>
 
$ brew install android-sdk
 
</pre>
 
Add this to your shells rc (e.g. .bashrc or .zshrc)
 
<pre>
 
export ANDROID_HOME=/usr/local/opt/android-sdk
 
</pre>
 
 
 
Launch the "Android SDK Manager".
 
<pre>
 
$ android
 
</pre>
 
Check <tt>Android SDK Platform-tools</tt> and <tt>Android Support Library</tt> uncheck everything else, except if you plan on using other components of the SDK.
 
 
 
Add this to your shells rc (e.g. .bashrc or .zshrc) for convenience:
 
 
 
<pre>
 
alias chrome-android="adb forward tcp:9222 localabstract:chrome_devtools_remote"
 
</pre>
 
 
 
==Usage==
 
 
 
Connect an Android Device via USB.
 
 
 
Open a terminal and enter "chrome-android".
 
 
 
Open Chrome on your device.
 
 
 
Visit <tt>localhost:9222</tt> on your desktop machine for remote debugging.
 
 
 
==Chrome Plugin==
 
 
 
A simpler way to perform remote debugging directly with Chrome is to install the "ADB Plugin". It's a Chrome Plugin/App and can be installed from the Chrome Webstore. All you need is a running Android SDK, nothing else. The ADB Plugin adds a icon to the Chrome toolbar which shows all inspectable targets on connected devices/emulators.
 

Latest revision as of 09:12, 15 May 2019

The content on this page has moved to https://documentation.open-xchange.com/7.10.2/ui/

Note: Open-Xchange is in the process of migrating all its technical documentation to a new and improved documentation system (documentation.open-xchange.com). Please note as the migration takes place more information will be available on the new system and less on this system. Thank you for your understanding during this period of transition.