Thursday, 28 November 2013

HTC physical device not listed in android device chooser in windows os

Steps to make the HTC device available in android device chooser:

1. Download the latest HTC sync from http://www.htc.com/www/support/content.aspx?id=6196 and install the same. Your device should be recognised in HTC sync. Make the connection type in your phone as HTC sync.Uncheck USB debugging mode in development.

2. Right click Computer->Manage->Device Manager->Android USB devices->My Htc->right click-> update driver software->Browse my computer for  driver software->select the path adt-bundle->sdk->extras->google->usb driver and click on next and finish the installation sucessfully.

If google folder is not found in extras, then open Android SDK Manager in eclipse and install Google usb drivers package in extras section. This will create the google folder with the usb driver folders in the above specified path.

3. Now check the USB debugging mode and restart the eclipse. Run the Android project , your device will be listed in the android device chooser.




Friday, 22 November 2013

Fix for com.google.android.maps cannot be resolved to a type

Error:  com.google.android.maps cannot be resolved to a type

Fix: Right click on project->properties->android->Project Build target->select the relevant Google api (vendor Google inc)

If Google Apis is not present in project build target, install the Google API using Android sdk manager.
Restart the eclipse ,clean and rebuild the project with the Google API selected to fix the error.