I have just finished my android application and now it’s time to test it under real-life conditions. The only problem is I’m clueless as to how to take the application and transfer it over to a device. I have already signed the application. What’s next?
Share
If you can connect the device to your computer you can do it by:
adb install name_file.apk, whereinstall name_file.apkis inside thebindirectory of the project.adbis a command line tool that lives in thetoolsdirectory of the SDK.If you are using Eclipse:
Windows:
ApplyandRunLinux
If you are using Linux, which would be weird since you seem to be afraid of the command line, you first have to create an
udevrule by creating a file called/etc/udev/rules.d/99-android.rulesand putting this content into it:Where
0bb4is theidVendorof your device. To know the idVendor you can use thelsusbcommand. Once you have done so, you can follow the steps I wrote in the Windows section.