What is a PolicyException? I can't find any info on this for Android -


when app tries backup data using backuptransportservice, error in stack trace. can't find information online , therefore can't figure out why backup failing. ideas?

11-13 19:53:44.481: d/performbackuptask(352): starting agent backup of backuprequest{pkg=com.nsouthproductions.gradetrackerpro} 11-13 19:53:44.501: i/backupmanagerservice(352): got agent android.app.ibackupagent$stub$proxy@441b7118 11-13 19:53:44.501: d/performbackuptask(352): invokeagentforbackup on com.nsouthproductions.gradetrackerpro 11-13 19:53:44.511: v/backupservicebinder(30648): dobackup() invoked 11-13 19:53:44.511: d/gradetracker.mybackupagent(30648): onbackup called 11-13 19:53:44.511: d/backuphelperdispatcher(30648): handling existing helper 'gradetracker.db' android.app.backup.filebackuphelper@425a93e0 11-13 19:53:45.382: e/backuptransportservice(352): com.google.android.backup.backuprequestgenerator$policyexception: server error in app com.nsouthproductions.gradetrackerpro: code 7 11-13 19:53:45.382: e/backuptransportservice(352):  @ com.google.android.backup.backuprequestgenerator.parseresponse(backuprequestgenerator.java:360) 11-13 19:53:45.382: e/backuptransportservice(352):  @ com.google.android.backup.backuptransportservice.sendrequestlocked(backuptransportservice.java:849) 11-13 19:53:45.382: e/backuptransportservice(352):  @ com.google.android.backup.backuptransportservice.access$600(backuptransportservice.java:78) 11-13 19:53:45.382: e/backuptransportservice(352):  @ com.google.android.backup.backuptransportservice$1.finishbackup(backuptransportservice.java:444) 11-13 19:53:45.382: e/backuptransportservice(352):  @ com.android.server.backupmanagerservice$performbackuptask.operationcomplete(backupmanagerservice.java:2320) 11-13 19:53:45.382: e/backuptransportservice(352):  @ com.android.server.backupmanagerservice$backuphandler.handlemessage(backupmanagerservice.java:572) 11-13 19:53:45.552: i/performbackuptask(352): backup pass finished. 

solved it! android backup service key apparently bad. package name in manifest has few capital letters in thought "maybe should make sure key generated package name same capitalization." registered again direct copy/paste of package name manifest , got different key seems working.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -