xposed log is eating all the space available.
Code:
java.lang.NoSuchFieldError: com.android.systemui.statusbar.policy.ClockCenter#mExpandedHeader
at de.robv.android.xposed.XposedHelpers.findField(XposedHelpers.java:69)
at de.robv.android.xposed.XposedHelpers.getBooleanField(XposedHelpers.java:628)
at ma.wanam.xposed.XSysUIStatusBarClockPackage$1.afterHookedMethod(Unknown Source)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
at com.android.systemui.statusbar.policy.Clock.updateClock(Native Method)
at com.android.systemui.statusbar.policy.Clock$2$1.run(Clock.java:362)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5335)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
can any body know how to fix this?
bump
toinktoink said:
xposed log is eating all the space available.
Code:
java.lang.NoSuchFieldError: com.android.systemui.statusbar.policy.ClockCenter#mExpandedHeader
at de.robv.android.xposed.XposedHelpers.findField(XposedHelpers.java:69)
at de.robv.android.xposed.XposedHelpers.getBooleanField(XposedHelpers.java:628)
at ma.wanam.xposed.XSysUIStatusBarClockPackage$1.afterHookedMethod(Unknown Source)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
at com.android.systemui.statusbar.policy.Clock.updateClock(Native Method)
at com.android.systemui.statusbar.policy.Clock$2$1.run(Clock.java:362)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5335)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
can any body know how to fix this?
Click to expand...
Click to collapse
Can you upload your SystemUI.apk on my main thread?
Related
hey guys it's been like 2 days no when i try to unlock my phone the screen freezes..
sometimes i get this?
java.lang.SecurityException: Permission Denial: opening provider com.google.android.gm.provider.MailProvider from ProcessRecord{407c6ed8 1761:com.sec.android.app.twlauncher/10032} (pid=1761, uid=10032) requires com.google.android.gm.permission.READ_GMAIL or com.google.android.gm.permission.WRITE_GMAIL
at android.os.Parcel.readException(Parcel.java:1322)
at android.os.Parcel.readException(Parcel.java:1276)
at android.app.ActivityManagerProxy.getContentProvider(ActivityManagerNative.java:1882)
at android.app.ActivityThread.getProvider(ActivityThread.java:3351)
at android.app.ActivityThread.acquireProvider(ActivityThread.java:3376)
at android.app.ContextImpl$ApplicationContentResolver.acquireProvider(ContextImpl.java:1826)
at android.content.ContentResolver.acquireProvider(ContentResolver.java:748)
at android.content.ContentResolver.query(ContentResolver.java:256)
at com.sec.android.app.twlauncher.Launcher.onGmailChanged(Launcher.java:30)
at com.sec.android.app.twlauncher.GmailObserver.onChange(GmailObserver.java:23)
at android.database.ContentObserver$NotificationRunnable.run(ContentObserver.java:43)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
at dalvik.system.NativeStart.main(Native Method)
Alright i finally got a SIM card for my baby. Howerver for some weird reason i get a force close when trying to access the Mobile Networks menu in the system settings. Logcat snippet is below:
Code:
05-08 12:43:58.141 I/ActivityManager( 210): START {act=android.intent.action.MAIN cmp=com.android.phone/.Settings} from pid 913
05-08 12:43:58.144 D/AndroidRuntime( 913): Shutting down VM
05-08 12:43:58.144 W/dalvikvm( 913): threadid=1: thread exiting with uncaught exception (group=0x40a311f8)
05-08 12:43:58.154 E/AndroidRuntime( 913): FATAL EXCEPTION: main
05-08 12:43:58.154 E/AndroidRuntime( 913): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.android.phone/com.a
ndroid.phone.Settings}; have you declared this activity in your AndroidManifest.xml?
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1508)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1384)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.app.Activity.startActivityForResult(Activity.java:3190)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.app.Activity.startActivity(Activity.java:3297)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.preference.Preference.performClick(Preference.java:957)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:202)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.widget.AdapterView.performItemClick(AdapterView.java:292)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.widget.AbsListView.performItemClick(AbsListView.java:1083)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.widget.AbsListView$PerformClick.run(AbsListView.java:2539)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.widget.AbsListView$1.run(AbsListView.java:3193)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.os.Handler.handleCallback(Handler.java:605)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.os.Handler.dispatchMessage(Handler.java:92)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.os.Looper.loop(Looper.java:137)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.app.ActivityThread.main(ActivityThread.java:4424)
05-08 12:43:58.154 E/AndroidRuntime( 913): at java.lang.reflect.Method.invokeNative(Native Method)
05-08 12:43:58.154 E/AndroidRuntime( 913): at java.lang.reflect.Method.invoke(Method.java:511)
05-08 12:43:58.154 E/AndroidRuntime( 913): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
05-08 12:43:58.154 E/AndroidRuntime( 913): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
05-08 12:43:58.154 E/AndroidRuntime( 913): at dalvik.system.NativeStart.main(Native Method)
05-08 12:43:58.164 W/ActivityManager( 210): Force finishing activity com.android.settings/.SubSettings
05-08 12:43:58.681 W/ActivityManager( 210): Activity pause timeout for ActivityRecord{416a5ff8 com.android.settings/.SubSettings}
05-08 12:43:58.684 I/Process ( 210): Sending signal. PID: 913 SIG: 3
05-08 12:43:58.684 I/dalvikvm( 913): threadid=3: reacting to signal 3
05-08 12:43:58.688 I/dalvikvm( 913): Wrote stack traces to '/data/anr/traces.txt'
05-08 12:43:59.214 I/Process ( 210): Sending signal. PID: 913 SIG: 3
05-08 12:43:59.218 I/dalvikvm( 913): threadid=3: reacting to signal 3
Secondly, when trying to dial out, i get a FC logcat is below:
Code:
05-08 12:47:30.374 W/dalvikvm( 1315): threadid=1: thread exiting with uncaught exception (group=0x40a311f8)
05-08 12:47:30.374 I/ActivityManager( 210): START {act=android.intent.action.CALL_PRIVILEGED dat=tel:x flg=0x10000000 (has extras)} from pid 1315
05-08 12:47:30.384 E/AndroidRuntime( 1315): FATAL EXCEPTION: main
05-08 12:47:30.384 E/AndroidRuntime( 1315): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.
CALL_PRIVILEGED dat=tel:x flg=0x10000000 (has extras) }
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1512)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1482)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.app.Activity.startActivityFromFragment(Activity.java:3488)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.app.Fragment.startActivity(Fragment.java:973)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at com.android.contacts.dialpad.DialpadFragment.dialButtonPressed(DialpadFragment.java:1174)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at com.android.contacts.dialpad.DialpadFragment.onClick(DialpadFragment.java:953)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.view.View.performClick(View.java:3511)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.view.View$PerformClick.run(View.java:14105)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.os.Handler.handleCallback(Handler.java:605)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.os.Handler.dispatchMessage(Handler.java:92)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.os.Looper.loop(Looper.java:137)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.app.ActivityThread.main(ActivityThread.java:4424)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at java.lang.reflect.Method.invokeNative(Native Method)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at java.lang.reflect.Method.invoke(Method.java:511)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at dalvik.system.NativeStart.main(Native Method)
05-08 12:47:30.398 W/ActivityManager( 210): Force finishing activity com.android.contacts/.activities.DialtactsActivity
05-08 12:47:30.891 I/TaskSwitcherService( 1098): Handle command: org.rabold.android.taskswitcher.action.UPDATE_THUMBNAILS
05-08 12:47:30.898 I/TaskSwitcherService( 1098): Querying thumbnail for task #11: ComponentInfo{com.android.contacts/com.android.contacts.activities.D
ialtactsActivity}
05-08 12:47:30.911 W/ActivityManager( 210): Activity pause timeout for ActivityRecord{414f2918 com.android.contacts/.activities.DialtactsActivity}
05-08 12:47:30.915 I/Process ( 210): Sending signal. PID: 1315 SIG: 3
05-08 12:47:30.915 I/dalvikvm( 1315): threadid=3: reacting to signal 3
05-08 12:47:30.921 I/dalvikvm( 1315): Wrote stack traces to '/data/anr/traces.txt'
Btw there is no traces.txt for some reason i looked -.-
Also this is NOT ROM related it is something to do with my data partition as when i factory reset or wipe my data partition everything works. I would PREFER to find and fix this problem as i have a lot of data and would NOT like to start over again -.-
Thanks all for looking
Bleh nobody has any idea?
Sent from my HTC HD2 using Tapatalk
Hey dude, once i had the same problem as you have it right now
it looks like no ROM issue at all
but after i did clean install. my device work flawlessly
you should try clean install
good luck
mainweb said:
Hey dude, once i had the same problem as you have it right now
it looks like no ROM issue at all
but after i did clean install. my device work flawlessly
you should try clean install
good luck
Click to expand...
Click to collapse
Thanks man however im trying to stear away from clean install. :/
as for an update: Ive narrowed it down to the directory /data/system upon deletion of that directory, it almost acts like a clean install. But all my apps get FC when trying to launch. So i deleted that directory and rebooted, then tried restoring the files but then i get a boot loop. i think clean install is the only option
I updated my Nexus 7 from 4.2.1 to 4.2.2 via OTA.
After updating, the google play app always crashes with message "Unfortunately, Google Play Store has stopped".
Below are some logs taken from the device when the app crashes.
E/AndroidRuntime( 2242): FATAL EXCEPTION: main
E/AndroidRuntime( 2242): java.lang.RuntimeException: java.lang.NullPointerException: expected receiver of type com.google.android.finsky.remoting.protos.Response$Payload, but got null
E/AndroidRuntime( 2242): at com.google.android.volley.MicroProtoHelper.getParsedResponseFromWrapper(MicroProtoHelper.java:38)
E/AndroidRuntime( 2242): at com.google.android.finsky.api.DfeRequest.deliverResponse(DfeRequest.java:456)
E/AndroidRuntime( 2242): at com.google.android.finsky.api.DfeRequest.deliverResponse(DfeRequest.java:49)
E/AndroidRuntime( 2242): at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:99)
E/AndroidRuntime( 2242): at android.os.Handler.handleCallback(Handler.java:725)
E/AndroidRuntime( 2242): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 2242): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2242): at android.app.ActivityThread.main(ActivityThread.java:5041)
E/AndroidRuntime( 2242): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2242): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2242): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
E/AndroidRuntime( 2242): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
E/AndroidRuntime( 2242): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2242): Caused by: java.lang.NullPointerException: expected receiver of type com.google.android.finsky.remoting.protos.Response$Payload, but got null
E/AndroidRuntime( 2242): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2242): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2242): at com.google.android.volley.MicroProtoHelper.getParsedResponseFromWrapper(MicroProtoHelper.java:36)
E/AndroidRuntime( 2242): ... 12 more
Can anyone provide a possible solution?
Thank you.
Hey guys,
I'm having a problem figuring out a way to store the geofences that my app creates, in order to load them when I run the app again. The purpose is to show a list of geofences created by the user.
I tried to serialize them using Java's Serialization and I also tried to use Gson to convert them into a Json string. The problem with Gson it's when I try to load them, it gives me an error message saying that Geofence is not a class. (which is true, it's an interface).
logcat:
Code:
09-09 21:37:16.148 18137-18137/? D/dalvikvm﹕ Late-enabling CheckJNI
09-09 21:37:17.515 18137-18137/? I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.internal.widget.TintTypedArray.getChangingConfigurations
09-09 21:37:17.515 18137-18137/? W/dalvikvm﹕ VFY: unable to resolve virtual method 614: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
09-09 21:37:17.515 18137-18137/? D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
09-09 21:37:17.515 18137-18137/? I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.internal.widget.TintTypedArray.getType
09-09 21:37:17.515 18137-18137/? W/dalvikvm﹕ VFY: unable to resolve virtual method 636: Landroid/content/res/TypedArray;.getType (I)I
09-09 21:37:17.515 18137-18137/? D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
09-09 21:37:18.133 18137-18137/? D/GoogleAPIMsg﹕ Construcao do Client Google
09-09 21:37:18.164 18137-18137/? D/Manager﹕ Loading Geofences...
09-09 21:37:18.203 18137-18137/? D/AndroidRuntime﹕ Shutting down VM
09-09 21:37:18.203 18137-18137/? W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x419307c0)
09-09 21:37:18.234 18137-18137/? E/AndroidRuntime﹕ FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.smartlocation.wilcocsjrxxlxpto/com.smartlocation.wilcocsjrxxlxpto.HomeScreen}: java.lang.RuntimeException: Unable to invoke no-args constructor for interface com.google.android.gms.location.Geofence. Register an InstanceCreator with Gson for this type may fix this problem.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2339)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2389)
at android.app.ActivityThread.access$600(ActivityThread.java:153)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1269)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5289)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: Unable to invoke no-args constructor for interface com.google.android.gms.location.Geofence. Register an InstanceCreator with Gson for this type may fix this problem.
at com.google.gson.internal.ConstructorConstructor$12.construct(ConstructorConstructor.java:210)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:186)
at com.google.gson.Gson.fromJson(Gson.java:810)
at com.google.gson.Gson.fromJson(Gson.java:775)
at com.google.gson.Gson.fromJson(Gson.java:724)
at com.google.gson.Gson.fromJson(Gson.java:696)
at com.smartlocation.wilcocsjrxxlxpto.core.Manager.loadGeofences(Manager.java:203)
at com.smartlocation.wilcocsjrxxlxpto.HomeScreen.load(HomeScreen.java:252)
at com.smartlocation.wilcocsjrxxlxpto.HomeScreen.onCreate(HomeScreen.java:66)
at android.app.Activity.performCreate(Activity.java:5133)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2293)
************at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2389)
************at android.app.ActivityThread.access$600(ActivityThread.java:153)
************at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1269)
************at android.os.Handler.dispatchMessage(Handler.java:99)
************at android.os.Looper.loop(Looper.java:137)
************at android.app.ActivityThread.main(ActivityThread.java:5289)
************at java.lang.reflect.Method.invokeNative(Native Method)
************at java.lang.reflect.Method.invoke(Method.java:525)
************at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
************at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555)
************at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.google.gson.internal.UnsafeAllocator$1.newInstance(UnsafeAllocator.java:48)
at com.google.gson.internal.ConstructorConstructor$12.construct(ConstructorConstructor.java:207)
************at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:186)
************at com.google.gson.Gson.fromJson(Gson.java:810)
************at com.google.gson.Gson.fromJson(Gson.java:775)
************at com.google.gson.Gson.fromJson(Gson.java:724)
************at com.google.gson.Gson.fromJson(Gson.java:696)
************at com.smartlocation.wilcocsjrxxlxpto.core.Manager.loadGeofences(Manager.java:203)
************at com.smartlocation.wilcocsjrxxlxpto.HomeScreen.load(HomeScreen.java:252)
************at com.smartlocation.wilcocsjrxxlxpto.HomeScreen.onCreate(HomeScreen.java:66)
************at android.app.Activity.performCreate(Activity.java:5133)
************at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
************at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2293)
************at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2389)
************at android.app.ActivityThread.access$600(ActivityThread.java:153)
************at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1269)
************at android.os.Handler.dispatchMessage(Handler.java:99)
************at android.os.Looper.loop(Looper.java:137)
************at android.app.ActivityThread.main(ActivityThread.java:5289)
************at java.lang.reflect.Method.invokeNative(Native Method)
************at java.lang.reflect.Method.invoke(Method.java:525)
************at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
************at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555)
************at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.InstantiationException: can't instantiate class com.google.android.gms.location.Geofence; abstract class or interface
at sun.misc.Unsafe.allocateInstance(Native Method)
************at java.lang.reflect.Method.invokeNative(Native Method)
************at java.lang.reflect.Method.invoke(Method.java:525)
************at com.google.gson.internal.UnsafeAllocator$1.newInstance(UnsafeAllocator.java:48)
************at com.google.gson.internal.ConstructorConstructor$12.construct(ConstructorConstructor.java:207)
************at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:186)
************at com.google.gson.Gson.fromJson(Gson.java:810)
************at com.google.gson.Gson.fromJson(Gson.java:775)
************at com.google.gson.Gson.fromJson(Gson.java:724)
************at com.google.gson.Gson.fromJson(Gson.java:696)
************at com.smartlocation.wilcocsjrxxlxpto.core.Manager.loadGeofences(Manager.java:203)
************at com.smartlocation.wilcocsjrxxlxpto.HomeScreen.load(HomeScreen.java:252)
************at com.smartlocation.wilcocsjrxxlxpto.HomeScreen.onCreate(HomeScreen.java:66)
************at android.app.Activity.performCreate(Activity.java:5133)
************at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
************at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2293)
************at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2389)
************at android.app.ActivityThread.access$600(ActivityThread.java:153)
************at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1269)
************at android.os.Handler.dispatchMessage(Handler.java:99)
************at android.os.Looper.loop(Looper.java:137)
************at android.app.ActivityThread.main(ActivityThread.java:5289)
************at java.lang.reflect.Method.invokeNative(Native Method)
************at java.lang.reflect.Method.invoke(Method.java:525)
************at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
************at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555)
************at dalvik.system.NativeStart.main(Native Method)
09-09 21:37:18.648 18137-18137/? I/Process﹕ Sending signal. PID: 18137 SIG: 9
code:
Code:
public class Manager implements ResultCallback<Status>, LocationListener {
// Tag para fazer debug
protected static final String MAN = "Manager";
protected static final String SMS = "eventSMS";
protected static final String RING = "eventRing";
private Context mAppContext;
private GoogleApiClient mGoogleApiClient;
private LocationRequest mLocationRequest;
// Listas de Geofences
private TreeMap<String, Geofence> mGeofences;
private TreeMap<String, Event> mEvents;
private int mCounterActiveGeofences;
private PendingIntent mGeofencePendingIntent;
private Intent updateLocIntent;
/* Save */
private Gson gson;
private SharedPreferences prefs;
public Manager(Context context, GoogleApiClient googleApiClient){
mGeofences = new TreeMap<String, Geofence>();
mEvents = new TreeMap<String, Event>();
mGeofencePendingIntent = null;
mAppContext = context;
mGoogleApiClient = googleApiClient;
mCounterActiveGeofences = 0;
prefs = context.getSharedPreferences(Constants.Geofences, Context.MODE_PRIVATE);
gson = new Gson();
}
...
public void saveGeofences(){
String json;
Geofence geofence;
SharedPreferences.Editor editor = prefs.edit();
Log.d(MAN, "Saving Geofences...");
for (Map.Entry<String, Geofence> entry : mGeofences.entrySet()) {
geofence = mGeofences.get(entry.getKey());
json = gson.toJson(geofence);
editor.putString(geofence.getRequestId(), json);
Log.d(MAN, geofence.getRequestId() + " json: " + json);
}
editor.apply();
}
public void loadGeofences(){
Map<String, ?> keys = prefs.getAll();
Log.d(MAN, "Loading Geofences...");
for (Map.Entry<String, ?> entry : keys.entrySet()) {
String jsonString = prefs.getString(entry.getKey(), null);
Geofence geofence = gson.fromJson(jsonString, Geofence.class);
Log.d(MAN, geofence.getRequestId());
mGeofences.put(geofence.getRequestId(), geofence);
}
}
}
Thank you in advance.
wilcocsjr said:
Hey guys,
I'm having a problem figuring out a way to store the geofences that my app creates, in order to load them when I run the app again. The purpose is to show a list of geofences created by the user.
I tried to serialize them using Java's Serialization and I also tried to use Gson to convert them into a Json string. The problem with Gson it's when I try to load them, it gives me an error message saying that Geofence is not a class. (which is true, it's an interface).
Thank you in advance.
Click to expand...
Click to collapse
Could you show your code and show logcat read sticky thread how to post development questions
Sent from my SM-G530H using XDA Free mobile app
AndroidFire said:
Could you show your code and show logcat read sticky thread how to post development questions
Sent from my SM-G530H using XDA Free mobile app
Click to expand...
Click to collapse
Just edited the original post, sorry about that
Hello folks, I'm Modding my own Xperia Launcher with version 6.4, SDK : 22, And i'm porting Transitions option from Marshmallow Xperia Launcher, So What did i do ? :
Copied :
Strings
IDs
Drawables
Layout
Option XML in Home_Settings => res/xml
Added Transition code in AndroidManifest.xml.
So everything is the same as Marshmallow settings, now let's go to Smali files, I've Copied the following :
HomeSettingsActivity$HomeSettingsFragment$1
HomeSettingsActivity$HomeSettingsFragment$2
PageTransitionPreferenceActivity$PageTransitionFragment$PageTransitionPreference$1
PageTransitionPreferenceActivity$PageTransitionFragment$PageTransitionPreference
PageTransitionPreferenceActivity$PageTransitionFragment
PageTransitionPreferenceActivity
UserSettings$PageTransition
I've Modded the IDs to be the exact as mine ( public.xml ), and copied Smali codes in UserSettings.smali, along with the key value code .
So, What's the problem ?
Transition option isn't openable, and when i'm taking a logcat, I'm having crashes under the hood, above the hood the launcher is working well.
Logcat :
--------- beginning of crash
E/AndroidRuntime(32278): FATAL EXCEPTION: main
E/AndroidRuntime(32278): Process: com.sonyericsson.home, PID: 32278
E/AndroidRuntime(32278): java.lang.NoSuchFieldError: No instance field mPageTransition of type Lcom/sonymobile/home/settings/UserSettings$PageTransition; in class Lcom/sonymobile/home/settings/UserSettings; or its superclasses (declaration of 'com.sonymobile.home.settings.UserSettings' appears in /data/app/com.sonyericsson.home-2/base.apk)
E/AndroidRuntime(32278): at com.sonymobile.home.settings.UserSettings.<init>(UserSettings.java:194)
E/AndroidRuntime(32278): at com.sonymobile.home.HomeApplication.onCreate(HomeApplication.java:153)
E/AndroidRuntime(32278): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
E/AndroidRuntime(32278): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4661)
E/AndroidRuntime(32278): at android.app.ActivityThread.access$1500(ActivityThread.java:156)
E/AndroidRuntime(32278): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412)
E/AndroidRuntime(32278): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(32278): at android.os.Looper.loop(Looper.java:211)
E/AndroidRuntime(32278): at android.app.ActivityThread.main(ActivityThread.java:5389)
E/AndroidRuntime(32278): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(32278): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(32278): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
E/AndroidRuntime(32278): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
E/AndroidRuntime(32441): FATAL EXCEPTION: main
E/AndroidRuntime(32441): Process: com.sonyericsson.home, PID: 32441
E/AndroidRuntime(32441): java.lang.NoSuchFieldError: No instance field mPageTransition of type Lcom/sonymobile/home/settings/UserSettings$PageTransition; in class Lcom/sonymobile/home/settings/UserSettings; or its superclasses (declaration of 'com.sonymobile.home.settings.UserSettings' appears in /data/app/com.sonyericsson.home-2/base.apk)
E/AndroidRuntime(32441): at com.sonymobile.home.settings.UserSettings.<init>(UserSettings.java:194)
E/AndroidRuntime(32441): at com.sonymobile.home.HomeApplication.onCreate(HomeApplication.java:153)
E/AndroidRuntime(32441): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
E/AndroidRuntime(32441): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4661)
E/AndroidRuntime(32441): at android.app.ActivityThread.access$1500(ActivityThread.java:156)
E/AndroidRuntime(32441): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412)
E/AndroidRuntime(32441): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(32441): at android.os.Looper.loop(Looper.java:211)
E/AndroidRuntime(32441): at android.app.ActivityThread.main(ActivityThread.java:5389)
E/AndroidRuntime(32441): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(32441): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(32441): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
E/AndroidRuntime(32441): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
E/AndroidRuntime(32549): FATAL EXCEPTION: main
E/AndroidRuntime(32549): Process: com.sonyericsson.home, PID: 32549
E/AndroidRuntime(32549): java.lang.NoSuchFieldError: No instance field mPageTransition of type Lcom/sonymobile/home/settings/UserSettings$PageTransition; in class Lcom/sonymobile/home/settings/UserSettings; or its superclasses (declaration of 'com.sonymobile.home.settings.UserSettings' appears in /data/app/com.sonyericsson.home-2/base.apk)
E/AndroidRuntime(32549): at com.sonymobile.home.settings.UserSettings.<init>(UserSettings.java:194)
E/AndroidRuntime(32549): at com.sonymobile.home.HomeApplication.onCreate(HomeApplication.java:153)
E/AndroidRuntime(32549): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
E/AndroidRuntime(32549): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4661)
E/AndroidRuntime(32549): at android.app.ActivityThread.access$1500(ActivityThread.java:156)
E/AndroidRuntime(32549): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412)
E/AndroidRuntime(32549): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(32549): at android.os.Looper.loop(Looper.java:211)
E/AndroidRuntime(32549): at android.app.ActivityThread.main(ActivityThread.java:5389)
E/AndroidRuntime(32549): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(32549): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(32549): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
E/AndroidRuntime(32549): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
E/AndroidRuntime(32710): FATAL EXCEPTION: main
E/AndroidRuntime(32710): Process: com.sonyericsson.home, PID: 32710
E/AndroidRuntime(32710): java.lang.NoSuchFieldError: No instance field mPageTransition of type Lcom/sonymobile/home/settings/UserSettings$PageTransition; in class Lcom/sonymobile/home/settings/UserSettings; or its superclasses (declaration of 'com.sonymobile.home.settings.UserSettings' appears in /data/app/com.sonyericsson.home-2/base.apk)
E/AndroidRuntime(32710): at com.sonymobile.home.settings.UserSettings.<init>(UserSettings.java:194)
E/AndroidRuntime(32710): at com.sonymobile.home.HomeApplication.onCreate(HomeApplication.java:153)
E/AndroidRuntime(32710): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
E/AndroidRuntime(32710): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4661)
E/AndroidRuntime(32710): at android.app.ActivityThread.access$1500(ActivityThread.java:156)
E/AndroidRuntime(32710): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412)
E/AndroidRuntime(32710): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(32710): at android.os.Looper.loop(Looper.java:211)
E/AndroidRuntime(32710): at android.app.ActivityThread.main(ActivityThread.java:5389)
E/AndroidRuntime(32710): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(32710): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(32710): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
E/AndroidRuntime(32710): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
E/AndroidRuntime( 301): FATAL EXCEPTION: main
E/AndroidRuntime( 301): Process: com.sonyericsson.home, PID: 301
E/AndroidRuntime( 301): java.lang.NoSuchFieldError: No instance field mPageTransition of type Lcom/sonymobile/home/settings/UserSettings$PageTransition; in class Lcom/sonymobile/home/settings/UserSettings; or its superclasses (declaration of 'com.sonymobile.home.settings.UserSettings' appears in /data/app/com.sonyericsson.home-2/base.apk)
E/AndroidRuntime( 301): at com.sonymobile.home.settings.UserSettings.<init>(UserSettings.java:194)
E/AndroidRuntime( 301): at com.sonymobile.home.HomeApplication.onCreate(HomeApplication.java:153)
E/AndroidRuntime( 301): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
E/AndroidRuntime( 301): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4661)
E/AndroidRuntime( 301): at android.app.ActivityThread.access$1500(ActivityThread.java:156)
E/AndroidRuntime( 301): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412)
E/AndroidRuntime( 301): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 301): at android.os.Looper.loop(Looper.java:211)
E/AndroidRuntime( 301): at android.app.ActivityThread.main(ActivityThread.java:5389)
E/AndroidRuntime( 301): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 301): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 301): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
E/AndroidRuntime( 301): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
E/AndroidRuntime( 379): FATAL EXCEPTION: main
E/AndroidRuntime( 379): Process: com.sonyericsson.home, PID: 379
E/AndroidRuntime( 379): java.lang.NoSuchFieldError: No instance field mPageTransition of type Lcom/sonymobile/home/settings/UserSettings$PageTransition; in class Lcom/sonymobile/home/settings/UserSettings; or its superclasses (declaration of 'com.sonymobile.home.settings.UserSettings' appears in /data/app/com.sonyericsson.home-2/base.apk)
E/AndroidRuntime( 379): at com.sonymobile.home.settings.UserSettings.<init>(UserSettings.java:194)
E/AndroidRuntime( 379): at com.sonymobile.home.HomeApplication.onCreate(HomeApplication.java:153)
E/AndroidRuntime( 379): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
E/AndroidRuntime( 379): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4661)
E/AndroidRuntime( 379): at android.app.ActivityThread.access$1500(ActivityThread.java:156)
E/AndroidRuntime( 379): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412)
E/AndroidRuntime( 379): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 379): at android.os.Looper.loop(Looper.java:211)
E/AndroidRuntime( 379): at android.app.ActivityThread.main(ActivityThread.java:5389)
E/AndroidRuntime( 379): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 379): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 379): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
E/AndroidRuntime( 379): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
E/AndroidRuntime( 615): FATAL EXCEPTION: main
E/AndroidRuntime( 615): Process: com.sonyericsson.home, PID: 615
E/AndroidRuntime( 615): java.lang.NoSuchFieldError: No instance field mPageTransition of type Lcom/sonymobile/home/settings/UserSettings$PageTransition; in class Lcom/sonymobile/home/settings/UserSettings; or its superclasses (declaration of 'com.sonymobile.home.settings.UserSettings' appears in /data/app/com.sonyericsson.home-2/base.apk)
E/AndroidRuntime( 615): at com.sonymobile.home.settings.UserSettings.<init>(UserSettings.java:194)
E/AndroidRuntime( 615): at com.sonymobile.home.HomeApplication.onCreate(HomeApplication.java:153)
E/AndroidRuntime( 615): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
E/AndroidRuntime( 615): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4661)
E/AndroidRuntime( 615): at android.app.ActivityThread.access$1500(ActivityThread.java:156)
E/AndroidRuntime( 615): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412)
E/AndroidRuntime( 615): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 615): at android.os.Looper.loop(Looper.java:211)
E/AndroidRuntime( 615): at android.app.ActivityThread.main(ActivityThread.java:5389)
E/AndroidRuntime( 615): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 615): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 615): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
E/AndroidRuntime( 615): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
E/AndroidRuntime( 1052): FATAL EXCEPTION: main
E/AndroidRuntime( 1052): Process: com.sonyericsson.home, PID: 1052
E/AndroidRuntime( 1052): java.lang.NoSuchFieldError: No instance field mPageTransition of type Lcom/sonymobile/home/settings/UserSettings$PageTransition; in class Lcom/sonymobile/home/settings/UserSettings; or its superclasses (declaration of 'com.sonymobile.home.settings.UserSettings' appears in /data/app/com.sonyericsson.home-2/base.apk)
E/AndroidRuntime( 1052): at com.sonymobile.home.settings.UserSettings.<init>(UserSettings.java:194)
E/AndroidRuntime( 1052): at com.sonymobile.home.HomeApplication.onCreate(HomeApplication.java:153)
E/AndroidRuntime( 1052): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
E/AndroidRuntime( 1052): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4661)
E/AndroidRuntime( 1052): at android.app.ActivityThread.access$1500(ActivityThread.java:156)
E/AndroidRuntime( 1052): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412)
E/AndroidRuntime( 1052): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 1052): at android.os.Looper.loop(Looper.java:211)
E/AndroidRuntime( 1052): at android.app.ActivityThread.main(ActivityThread.java:5389)
E/AndroidRuntime( 1052): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 1052): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 1052): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
E/AndroidRuntime( 1052): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
E/AndroidRuntime( 1733): FATAL EXCEPTION: main
E/AndroidRuntime( 1733): Process: com.sonyericsson.home, PID: 1733
E/AndroidRuntime( 1733): java.lang.NoSuchFieldError: No instance field mPageTransition of type Lcom/sonymobile/home/settings/UserSettings$PageTransition; in class Lcom/sonymobile/home/settings/UserSettings; or its superclasses (declaration of 'com.sonymobile.home.settings.UserSettings' appears in /data/app/com.sonyericsson.home-2/base.apk)
E/AndroidRuntime( 1733): at com.sonymobile.home.settings.UserSettings.<init>(UserSettings.java:194)
E/AndroidRuntime( 1733): at com.sonymobile.home.HomeApplication.onCreate(HomeApplication.java:153)
E/AndroidRuntime( 1733): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
E/AndroidRuntime( 1733): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4661)
E/AndroidRuntime( 1733): at android.app.ActivityThread.access$1500(ActivityThread.java:156)
E/AndroidRuntime( 1733): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412)
E/AndroidRuntime( 1733): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 1733): at android.os.Looper.loop(Looper.java:211)
E/AndroidRuntime( 1733): at android.app.ActivityThread.main(ActivityThread.java:5389)
E/AndroidRuntime( 1733): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 1733): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 1733): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
E/AndroidRuntime( 1733): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
E/AndroidRuntime( 1872): FATAL EXCEPTION: main
E/AndroidRuntime( 1872): Process: com.sonyericsson.home, PID: 1872
E/AndroidRuntime( 1872): java.lang.NoSuchFieldError: No instance field mPageTransition of type Lcom/sonymobile/home/settings/UserSettings$PageTransition; in class Lcom/sonymobile/home/settings/UserSettings; or its superclasses (declaration of 'com.sonymobile.home.settings.UserSettings' appears in /data/app/com.sonyericsson.home-2/base.apk)
E/AndroidRuntime( 1872): at com.sonymobile.home.settings.UserSettings.<init>(UserSettings.java:194)
E/AndroidRuntime( 1872): at com.sonymobile.home.HomeApplication.onCreate(HomeApplication.java:153)
E/AndroidRuntime( 1872): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
E/AndroidRuntime( 1872): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4661)
E/AndroidRuntime( 1872): at android.app.ActivityThread.access$1500(ActivityThread.java:156)
E/AndroidRuntime( 1872): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412)
E/AndroidRuntime( 1872): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 1872): at android.os.Looper.loop(Looper.java:211)
E/AndroidRuntime( 1872): at android.app.ActivityThread.main(ActivityThread.java:5389)
E/AndroidRuntime( 1872): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 1872): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 1872): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
E/AndroidRuntime( 1872): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
E/AndroidRuntime( 2113): FATAL EXCEPTION: main
E/AndroidRuntime( 2113): Process: com.sonyericsson.home, PID: 2113
E/AndroidRuntime( 2113): java.lang.NoSuchFieldError: No instance field mPageTransition of type Lcom/sonymobile/home/settings/UserSettings$PageTransition; in class Lcom/sonymobile/home/settings/UserSettings; or its superclasses (declaration of 'com.sonymobile.home.settings.UserSettings' appears in /data/app/com.sonyericsson.home-2/base.apk)
E/AndroidRuntime( 2113): at com.sonymobile.home.settings.UserSettings.<init>(UserSettings.java:194)
E/AndroidRuntime( 2113): at com.sonymobile.home.HomeApplication.onCreate(HomeApplication.java:153)
E/AndroidRuntime( 2113): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
E/AndroidRuntime( 2113): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4661)
E/AndroidRuntime( 2113): at android.app.ActivityThread.access$1500(ActivityThread.java:156)
E/AndroidRuntime( 2113): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412)
E/AndroidRuntime( 2113): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 2113): at android.os.Looper.loop(Looper.java:211)
E/AndroidRuntime( 2113): at android.app.ActivityThread.main(ActivityThread.java:5389)
E/AndroidRuntime( 2113): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 2113): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 2113): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
E/AndroidRuntime( 2113): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
E/AndroidRuntime( 2427): FATAL EXCEPTION: main
E/AndroidRuntime( 2427): Process: com.sonyericsson.home, PID: 2427
E/AndroidRuntime( 2427): java.lang.NoSuchFieldError: No instance field mPageTransition of type Lcom/sonymobile/home/settings/UserSettings$PageTransition; in class Lcom/sonymobile/home/settings/UserSettings; or its superclasses (declaration of 'com.sonymobile.home.settings.UserSettings' appears in /data/app/com.sonyericsson.home-2/base.apk)
E/AndroidRuntime( 2427): at com.sonymobile.home.settings.UserSettings.<init>(UserSettings.java:194)
E/AndroidRuntime( 2427): at com.sonymobile.home.HomeApplication.onCreate(HomeApplication.java:153)
E/AndroidRuntime( 2427): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
E/AndroidRuntime( 2427): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4661)
E/AndroidRuntime( 2427): at android.app.ActivityThread.access$1500(ActivityThread.java:156)
E/AndroidRuntime( 2427): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412)
E/AndroidRuntime( 2427): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 2427): at android.os.Looper.loop(Looper.java:211)
E/AndroidRuntime( 2427): at android.app.ActivityThread.main(ActivityThread.java:5389)
E/AndroidRuntime( 2427): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 2427): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 2427): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
E/AndroidRuntime( 2427): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
--------- beginning of system
My Smali File vs Original Smali Files :
Mine - Original
Thanks in advnace!