Specifications

Toverifythatthedriversuccessfullyrecognizedthedevice,openacommandpromptandtype
thecommand:
adbdevices
Note:YouwillneedtosuccessfullysetupyourAndroiddevelopmentenvironmentinorderto
usethiscommand.Seethenextsection:AndroidDevelopmentEnvironmentSetup
Ifthedevicedoesnotshowup,verifythatthedeviceisturnedonwithenoughbatterypower,
andthatthedriverisinstalledproperly.
Mac OS
Ifyou'redevelopingonMacOSX,youdonotneedtoinstallUSBdrivers.YourSamsung
devicemaydisplayanotificationrecommendingyouinstallAndroidFileTransfer.Ahandy
applicationfortransferringfilesbetweenOSXandAndroid.
Linux
Ifyou'redevelopingonUbuntuLinux,youneedtoaddaudevrulesfilethatcontainsaUSB
configurationforeachtypeofdeviceyouwanttousefordevelopment.Intherulesfile,each
devicemanufacturerisidentifiedbyauniquevendorID,asspecifiedbytheATTR{idVendor}
property.ForalistofvendorIDs,seeUSBVendorIDs.TosetupdevicedetectiononUbuntu
Linux:
1. Loginasrootandcreatethisfile:/etc/udev/rules.d/51android.rules.
2. Usethisformattoaddeachvendortothefile:
SUBSYSTEM=="usb",ATTR{idVendor}=="04e8",MODE="0666",GROUP="plugdev"
3. Nowexecute:chmoda+r/etc/udev/rules.d/51android.rules
Inthisexample,thevendorIDisforSamsung.TheMODEassignmentspecifiesread/write
permissions,andGROUPdefineswhichUnixgroupownsthedevicenode.
Note:Therulesyntaxmayvaryslightlydependingonyourenvironment.Consulttheudev
documentationforyoursystemasneeded.Foranoverviewofrulesyntax,seethisguideto
writingudevrules.
8