Archive

Posts Tagged ‘archos’

How to debug your Android application on an Archos 7 internet tablet

27 February 2012 2 comments

You can find information on how to debug on a real device on the Using Hardware Devices page. But since this is missing information about the Archos Internet Table 7 (the device I am using) I will post here how you can do it (on Windows).

First of all you need to download the Archos ADB drivers from the archos site. Install it by following the instructions on the Google USB Driver page.

Then you need to edit the adb_usb.ini file (it should be in your home directory, under the .android folder) and add the following line: 0x0e79. You should get something like the following:

# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
# USE 'android update adb' TO GENERATE.
# 1 USB VENDOR ID PER LINE.
0x0e79

You must kill and restart the adb server by running: adb kill-server and adb start-server (adb is in android-sdk\platform-tools). You can also run adb devices to make sure your device is listed. You should see something like the following:

List of devices attached
A70-3A860001-9FF80000-015DB7D4-???????? device

(the ?????? is probably a name in non-Latin characters that the command window does not recognise).

Once you’ve set it up configure your application and your device to be debugable by following the instructions on the Using Hardware Devices page.

If you have done everything correctly next time you run Eclipse you should see that it’s synchronising the application to your device

[2012-02-27 19:44:16 - Lexicon] Performing sync
[2012-02-27 19:44:16 - Lexicon] Automatic Target Mode: using device 'A70-3A860001-9FF80000-015DB7D4-????????'
[2012-02-27 19:44:16 - Lexicon] Uploading TestApp.apk onto device 'A70-3A860001-9FF80000-015DB7D4-????????'
[2012-02-27 19:44:17 - Lexicon] Installing TestApp.apk...
[2012-02-27 19:44:25 - Lexicon] Success!
[2012-02-27 19:44:26 - Lexicon] \TestApp\bin\TestApp.apk installed on device
[2012-02-27 19:44:26 - Lexicon] Done!

You are ready to start debugging your application on a real android device.

Categories: Android Tags: , , ,