<div dir="ltr"><div>Package - <span style="font-size:13px">android-tools-a</span><span style="font-size:13px">db</span><br></div>adb version - Android Debug Bridge version 1.0.31<br>Devices - Nexus 5 and OnePlus One.<div><div><br></div><div>I am getting 'error: device offline' when I don't accept to 'Allow USB debugging?'  prompt which appears after connecting the device. But when I accept to 'Allow USB debugging?' prompt then adb shell gets connected without any issues.</div></div></div>