[android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-11-20 Thread Build Account
This is definitely the Android OS DEFECT eventhough the people the framework engineer saying something mambo jumbo. Shit...The Android getting sucks to develop which reveals not even stable. On Sunday, June 24, 2012 6:51:50 AM UTC+9, Build Account wrote: > Hello. > > If app has well defined B

RE: [android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-29 Thread nona sonta-816
Date: Mon, 25 Jun 2012 00:07:13 -0700 From: newandroi...@gmail.com To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'?? Hi. Oh, is it? understood. Then..to investigate further..here is sev

Re: [android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-26 Thread Build Account
Hi. First, thank you for your advice. * Then, *I suppose about problem that probably the problem came from ADT plugin or Eclipse. The reason why is that sometime Android screaming ClassNotFound error when just launched an blank activyty in debugger about even usual normal start activity class

Re: [android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-25 Thread Dianne Hackborn
On Mon, Jun 25, 2012 at 12:07 AM, Build Account wrote: > Do you know...which module/app save an apk into '/data/app/' > 1. when it downloaded from the app Google Play?(Google Play itself?) > PackageManagerService > 2. when run debugger through Eclipse, which module save into? > PackageManagerS

Re: [android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-25 Thread Build Account
Hi. Oh, is it? understood. Then..to investigate further..here is several questions, Do you know...which module/app save an apk into '/data/app/' 1. when it downloaded from the app Google Play?(Google Play itself?) 2. when run debugger through Eclipse, which module save into? 3. Is that always o

Re: [android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-24 Thread RichardC
On Sunday, June 24, 2012 10:35:12 PM UTC+1, Build Account wrote: > > hi. > > Yes you are correct > but the point of question was(which is not so clear) > why OS looking for the apk in that path because of?? > why not from installed/extracted binary?? The contents of of an APK are not extract

Re: [android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-24 Thread Build Account
Hi. Please refer manifest snippet below. Before you consider that the path of backupagent applied in many ways absolute full package path, one class name since exists in root, relative path as below. But seem that not a differences.(No well consolidated chart for difference result about when I c

Re: [android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-24 Thread Build Account
hi. Yes you are correct but the point of question was(which is not so clear) why OS looking for the apk in that path because of?? why not from installed/extracted binary?? On Monday, June 25, 2012 4:51:21 AM UTC+9, RichardC wrote: > > One thing weired is >> why OS looking path '/data/app/' ?

[android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-24 Thread Build Account
Hi. Well...I don't agree with your comment, since the proguard option came(one came, another one derived) which${sdk.dir}/tools/proguard/proguard-android.txt and from my experience decompiling myself my app that the class was not obfuscation... So...are you sure the setting your suggestion??

Re: [android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-24 Thread RichardC
Would you post your manifest please. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@g

Re: [android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-24 Thread RichardC
> > One thing weired is > why OS looking path '/data/app/' ?? Do you know that? > >> >> >From your LogCat: E/AndroidRuntime(1954): java.lang.RuntimeException: Unable to create BackupAgent com.company.appname.mybackuphelper: java.lang.ClassNotFoundException: com.company.appname.

[android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-24 Thread Nobu Games
> > *-keep public class * extends android.app.backup.BackupAgent* > *-keep public class * extends android.app.backup.BackupAgentHelper* I think that's your problem. Your setting only protects child classes of BackupAgent and BackupAgentHelper from obfuscation. You should change these lines to

Re: [android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-24 Thread Build Account
Hi. Well...the class name of my backupagenthelper altered in the proguard.cfg(my config file name) with below setting. *-keep public class * extends android.app.backup.BackupAgent -keep public class * extends android.app.backup.BackupAgentHelper *And the command 'adb shell bmgr run' also works f

Re: [android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-24 Thread Harri Smått
Just to make sure, are you using obfuscation, and if yes, are you sure this classname isn't altered? -- H On Jun 24, 2012 9:46 AM, "Build Account" wrote: > First, thank you for your note. > but that is a kind of blinded name from commercial offical name on Google > Play > to post on here. > The

[android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-23 Thread Build Account
First, thank you for your note. but that is a kind of blinded name from commercial offical name on Google Play to post on here. The point is that, So far, nobody know the solution how to solve this serious problem even on Gingerbread. Google guy must answer and announce a solution to solve this

[android-developers] Re: How to solve 'ClassNotFoundException' on 'BackupAgent'??

2012-06-23 Thread RichardC
Unless this is just a test application I would really rename your package. "com.company.appname" is technically legal but it is definitely not a good globally unique name. On Saturday, June 23, 2012 10:51:50 PM UTC+1, Build Account wrote: > > Hello. > > If app has well defined BackupAgent class