Tell me more ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I'm learning to use the Backup API to backup/restore app data. Then I used bmgr tools to test it and met the following problem.

I typed these commands as below in cmd:

**adb shell bmgr backup com.example.myapp**   ---------------OK
**adb shell bmgr run**                        ---------------Ok

then I enter the settings -> app to clean the data of this app. I continue to type:

**adb shell bmgr restore com.example.myapp**  ---------------Ok

This seems to work fine. But when I uninstall the app and re-install it, nothing happens. There no data is restored automatically.

And when I use adb shell bmgr restore com.example.myapp to force the restoring, I met this response : unable to restore package com.example.myapp.


My env:

  • Emulator: Google API16
  • the Google account has been set
  • check auto backup

Has anyone met this problem ? How should I solve it ?

share|improve this question
1  
It looks like this question is asked from a developers perspective. Please be aware that Android Enthusiasts is for end-user questions only and it may be off-topic as per FAQ. – Flow Aug 23 '12 at 0:06

closed as off topic by Flow, Zuul, Al Everett, Izzy, roxan Aug 24 '12 at 9:17

Questions on Android Enthusiasts Stack Exchange are expected to relate to Android within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

Browse other questions tagged or ask your own question.