Monday, July 13, 2015

Using Chrome Dev Editor to Deploy to Android Devices

The Chrome Dev Editor can be used to edit programs and deploy them for testing onto your Android devices.

Install the Chrome Dev Editor here:

https://chrome.google.com/webstore/detail/chrome-dev-editor-develop/pnoffddplpippgcfjdhbmhkofpnaalpg?hl=en


You'll need to make sure your device is ready before you can deploy to it. You'll need to install an app on your phone or tablet called the Chrome App Developer Tool. Follow this article to get your Android devices up and running with the editor:

https://github.com/GoogleChrome/chromedeveditor/blob/master/doc/GettingStarted.md


Once your device settings have been set to interact with your computer, you can begin to work on your first example app. A good tutorial to follow can be found here:

https://developer.chrome.com/apps/first_app


Now that you have some code, you can deploy it onto your Android device for testing. I had a few troubles getting mine to deploy at first and ended up having to specify the IP of my device.

For troubleshooting deployment issues, these two StackOverflow pages helped:

http://stackoverflow.com/questions/21925992/chrome-devtools-devices-does-not-detect-device-when-plugged-in

http://stackoverflow.com/questions/8162581/why-does-adb-return-offline-after-the-device-string/9966660#9966660

I think the Chrome Dev Editor is a great step in the right direction for not only Chrome development (extensions) but for mobile apps as well.


No comments:

Post a Comment