I am testing my custom BackupAgent. The below is my test in Simulator & Eclipse ADT
Test 1 backup & restore using command ---- WORK WELL
- adb shell bmgr enabled
 - adb shell bmgr backup app_package
 - adb shell bmgr run ---------------------- Run backup (BackupAgent.onBackup called)
 - On the app, I deleted some data
 - adb shell bmgr restore app_package ------- Restore data from backup
 - All is restored including some data I deleted on step 4 ------ WORK WELL
 
Test 2 Backup / uninstall app / re-install app ---- NOT WORK
- adb shell bmgr enabled
 - adb shell bmgr backup app_package
 - adb shell bmgr run ----------------------Run backup (BackupAgent.onBackup called)
 - adb uninstall app_package --------------- Uninstall the app after backup
 - Debug As / Android Application again ---- Application re-installed BUT NO data is restored ( data backup at step 3)
 
Updated
- I found Test 2 worked on Nexus 5 Simulator (API 19 - 4.4.2)
 - BUT Test 2 didn't work on Nexus 4 Simulator (API 16-4.1.2)
 
Anyone has any ideas? Thank you!
                        
very late, but have you tried setting the transport service to local?
prints
change it to the local one