I recently switched back to Cyanogen Mod after trying out Android 2.1 for 32B. I did a Titanium Backup of all my apps and restored them after I switched back, however no matter what I do the latest Maps update force closes whenever I open it. I've tried uninstalling and removing the apk altogether but no matter what when I run the latest maps it force closes immediately. Heres a copy of the log that I'm getting when this happens
Code:
I/ActivityManager( 105): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.androi
d.apps.maps/com.google.android.maps.MapsActivity }
I/ActivityManager( 105): Start proc com.google.android.apps.maps for activity c
om.google.android.apps.maps/com.google.android.maps.MapsActivity: pid=618 uid=10
002 gids={3003, 1015}
I/ActivityThread( 618): Publishing provider com.google.android.maps.SuggestionP
rovider: com.google.googlenav.suggest.android.SuggestProvider
D/dalvikvm( 618): GC freed 1803 objects / 139656 bytes in 89ms
I/ActivityThread( 618): Publishing provider com.google.android.maps.FriendsProv
ider: com.google.googlenav.android.friend.FriendsProvider
I/ActivityThread( 618): Publishing provider com.google.android.maps.NavigationA
vailabilityProvider: com.google.googlenav.android.provider.NavigationAvailabilit
yProvider
I/ActivityThread( 618): Publishing provider com.google.android.maps.SearchHisto
ryProvider: com.google.googlenav.android.provider.SearchHistoryProvider
I/ActivityThread( 618): Publishing provider com.google.android.maps.TrafficProv
ider: com.google.googlenav.android.appwidget.traffic.TrafficProvider
I/ActivityThread( 618): Publishing provider com.google.android.maps.LayerInfoPr
ovider: com.google.googlenav.android.layer.LayerInfoProvider
I/ActivityThread( 618): Publishing provider com.google.android.maps.LocalSugges
tionProvider: com.google.googlenav.android.provider.LocalSuggestionProvider
I/Maps ( 618): Build: 4156
D/LocationManager( 618): Constructor: service = android.location.ILocationManag
[email protected]
W/dalvikvm( 618): VFY: unable to find class referenced in signature ([Landroid/
accounts/Account;)
W/dalvikvm( 618): VFY: unable to find class referenced in signature (Landroid/a
ccounts/Account;)
W/dalvikvm( 618): VFY: unable to find class referenced in signature ([Landroid/
accounts/Account;)
W/dalvikvm( 618): VFY: unable to find class referenced in signature (Landroid/a
ccounts/Account;)
W/dalvikvm( 618): VFY: unable to find class referenced in signature (Landroid/a
ccounts/Account;)
W/dalvikvm( 618): VFY: unable to find class referenced in signature (Landroid/a
ccounts/AccountManager;)
W/dalvikvm( 618): VFY: unable to find class referenced in signature (Landroid/a
ccounts/Account;)
I/dalvikvm( 618): Failed resolving Lcom/google/googlenav/android/login/e; inter
face 334 'Landroid/accounts/AccountManagerCallback;'
W/dalvikvm( 618): Link of class 'Lcom/google/googlenav/android/login/e;' failed
E/dalvikvm( 618): Could not find class 'com.google.googlenav.android.login.e',
referenced from method com.google.googlenav.android.login.MultipleAccountsContro
llerSdk5.a
W/dalvikvm( 618): VFY: unable to resolve new-instance 1244 (Lcom/google/googlen
av/android/login/e;) in Lcom/google/googlenav/android/login/MultipleAccountsCont
rollerSdk5;
D/dalvikvm( 618): VFY: replacing opcode 0x22 at 0x0013
D/dalvikvm( 618): Making a copy of Lcom/google/googlenav/android/login/Multiple
AccountsControllerSdk5;.a code (116 bytes)
W/dalvikvm( 618): VFY: unable to find class referenced in signature (Landroid/a
ccounts/Account;)
W/dalvikvm( 618): VFY: unable to find class referenced in signature (Landroid/a
ccounts/AccountManager;)
W/dalvikvm( 618): VFY: unable to find class referenced in signature ([Landroid/
accounts/Account;)
W/dalvikvm( 618): VFY: unable to find class referenced in signature ([Landroid/
accounts/Account;)
W/dalvikvm( 618): VFY: unable to find class referenced in signature (Landroid/a
ccounts/Account;)
W/dalvikvm( 618): VFY: unable to find class referenced in signature (Landroid/a
ccounts/Account;)
W/dalvikvm( 618): VFY: unable to find class referenced in signature ([Landroid/
accounts/Account;)
W/dalvikvm( 618): VFY: unable to resolve instance field 1699
D/dalvikvm( 618): VFY: replacing opcode 0x54 at 0x000c
D/dalvikvm( 618): Making a copy of Lcom/google/googlenav/android/login/Multiple
AccountsControllerSdk5;.c code (72 bytes)
W/dalvikvm( 618): VFY: array-length on non-array
W/dalvikvm( 618): VFY: rejecting opcode 0x21 at 0x002c
W/dalvikvm( 618): VFY: rejected Lcom/google/googlenav/android/login/MultipleAc
countsControllerSdk5;.f ()Landroid/view/View;
W/dalvikvm( 618): Verifier rejected class Lcom/google/googlenav/android/login/M
ultipleAccountsControllerSdk5;
D/AndroidRuntime( 618): Shutting down VM
W/dalvikvm( 618): threadid=3: thread exiting with uncaught exception (group=0x4
001e180)
E/AndroidRuntime( 618): Uncaught handler: thread main exiting due to uncaught e
xception
E/AndroidRuntime( 618): java.lang.RuntimeException: Unable to start activity Co
mponentInfo{com.google.android.apps.maps/com.google.android.maps.MapsActivity}:
java.lang.IllegalStateException: java.lang.ClassNotFoundException: com.google.go
oglenav.android.login.MultipleAccountsControllerSdk5
E/AndroidRuntime( 618): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2492)
E/AndroidRuntime( 618): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2508)
E/AndroidRuntime( 618): at android.app.ActivityThread.access$2200(Activi
tyThread.java:118)
E/AndroidRuntime( 618): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1862)
E/AndroidRuntime( 618): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 618): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 618): at android.app.ActivityThread.main(ActivityThrea
d.java:4358)
E/AndroidRuntime( 618): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 618): at java.lang.reflect.Method.invoke(Method.java:5
21)
E/AndroidRuntime( 618): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 618): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:549)
E/AndroidRuntime( 618): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 618): Caused by: java.lang.IllegalStateException: java.lang.C
lassNotFoundException: com.google.googlenav.android.login.MultipleAccountsContro
llerSdk5
E/AndroidRuntime( 618): at com.google.googlenav.android.login.c.a(Unknow
n Source)
E/AndroidRuntime( 618): at com.google.googlenav.android.login.c.a(Unknow
n Source)
E/AndroidRuntime( 618): at com.google.googlenav.android.j.i(Unknown Sour
ce)
E/AndroidRuntime( 618): at k.u.<init>(Unknown Source)
E/AndroidRuntime( 618): at k.y.<init>(Unknown Source)
E/AndroidRuntime( 618): at com.google.googlenav.android.H.<init>(Unknown
Source)
E/AndroidRuntime( 618): at com.google.googlenav.android.b.<init>(Unknown
Source)
E/AndroidRuntime( 618): at com.google.googlenav.android.b.a(Unknown Sour
ce)
E/AndroidRuntime( 618): at com.google.android.maps.MapsActivity.onCreate
(Unknown Source)
E/AndroidRuntime( 618): at android.app.Instrumentation.callActivityOnCre
ate(Instrumentation.java:1123)
E/AndroidRuntime( 618): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2455)
E/AndroidRuntime( 618): ... 11 more
E/AndroidRuntime( 618): Caused by: java.lang.ClassNotFoundException: com.google
.googlenav.android.login.MultipleAccountsControllerSdk5
E/AndroidRuntime( 618): at java.lang.Class.classForName(Native Method)
E/AndroidRuntime( 618): at java.lang.Class.forName(Class.java:237)
E/AndroidRuntime( 618): at java.lang.Class.forName(Class.java:183)
E/AndroidRuntime( 618): ... 22 more
E/AndroidRuntime( 618): Caused by: java.lang.VerifyError: com.google.googlenav.
android.login.MultipleAccountsControllerSdk5
E/AndroidRuntime( 618): ... 25 more
I/Process ( 105): Sending signal. PID: 618 SIG: 3
I/dalvikvm( 618): threadid=7: reacting to signal 3
E/dalvikvm( 618): Unable to open stack trace file '/data/anr/traces.txt': Permi
ssion denied
I/DumpStateReceiver( 105): Added state dump to 1 crashes
W/ActivityManager( 105): Launch timeout has expired, giving up wake lock!
W/ActivityManager( 105): Activity idle timeout for HistoryRecord{43d64d68 com.g
oogle.android.apps.maps/com.google.android.maps.MapsActivity}
D/dalvikvm( 609): GC freed 7109 objects / 392288 bytes in 107ms
D/dalvikvm( 609): GC freed 2778 objects / 143160 bytes in 118ms
D/dalvikvm( 105): GC freed 12857 objects / 994088 bytes in 211ms
D/dalvikvm( 609): GC freed 7925 objects / 417144 bytes in 136ms
If someone could help me out that would be greatly appreciated! Thanks!
i dont have a 32B so i cant help much but if i wre you i would reflash from fastboot.
Hi, after i recompile HTC Music and i run it i get FC, i try to clear the data and its not helping, even when i recompile without changing anything i get FC.
All others apps i edit working very good and no FC.
Thnaks!
edit:
Code:
I/HtcMusic( 4041): borranx MyGallery.QVGA 2
W/dalvikvm( 4041): VFY: bad exception entry: startAddr=126 endAddr=126 (size=289)
W/dalvikvm( 4041): VFY: rejected Lcom/htc/music/MusicUtils;.getArtworkFromFile (Landroid/content/Context;Landroid/net/Uri;I)Landroid/graphics/Bitmap;
W/dalvikvm( 4041): Verifier rejected class Lcom/htc/music/MusicUtils;
D/AndroidRuntime( 4041): Shutting down VM
W/dalvikvm( 4041): threadid=1: thread exiting with uncaught exception (group=0x400259f8)
E/AndroidRuntime( 4041): FATAL EXCEPTION: main
E/AndroidRuntime( 4041): java.lang.VerifyError: com.htc.music.MusicUtils
E/AndroidRuntime( 4041): at com.htc.music.HtcMusic.onStart(HtcMusic.java:768)
E/AndroidRuntime( 4041): at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1211)
E/AndroidRuntime( 4041): at android.app.Activity.performStart(Activity.java:3822)
E/AndroidRuntime( 4041): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2760)
E/AndroidRuntime( 4041): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2803)
E/AndroidRuntime( 4041): at android.app.ActivityThread.access$2300(ActivityThread.java:135)
E/AndroidRuntime( 4041): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2136)
E/AndroidRuntime( 4041): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 4041): at android.os.Looper.loop(Looper.java:144)
E/AndroidRuntime( 4041): at android.app.ActivityThread.main(ActivityThread.java:4937)
E/AndroidRuntime( 4041): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 4041): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 4041): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 4041): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 4041): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 188): Force finishing activity com.htc.music/.HtcMusic
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
Hello,
I have some video player application and it displays FC message when init video playback. This is logcat log:
Code:
12-04 17:37:11.968 I/dalvikvm( 2430): Could not find method android.widget.VideoView.setOnBufferingUpdateListener, referenced from method com.android.gallery3d.app.MoviePlayer.<init>
12-04 17:37:11.968 W/dalvikvm( 2430): VFY: unable to resolve virtual method 4697: Landroid/widget/VideoView;.setOnBufferingUpdateListener (Landroid/media/MediaPlayer$OnBufferingUpdateListener;)V
12-04 17:37:11.969 D/dalvikvm( 2430): VFY: replacing opcode 0x6e at 0x00fc
12-04 17:37:11.972 I/dalvikvm( 2430): Could not find method android.widget.VideoView.setOnBufferingUpdateListener, referenced from method com.android.gallery3d.app.MoviePlayer.<init>
12-04 17:37:11.973 W/dalvikvm( 2430): VFY: unable to resolve virtual method 4697: Landroid/widget/VideoView;.setOnBufferingUpdateListener (Landroid/media/MediaPlayer$OnBufferingUpdateListener;)V
12-04 17:37:11.973 D/dalvikvm( 2430): VFY: replacing opcode 0x6e at 0x00d2
12-04 17:37:11.993 D/skia ( 2430): Flag is not 10
12-04 17:37:11.996 D/skia ( 2430): Flag is not 10
12-04 17:37:11.998 V/Provider/Settings( 697): from settings cache , name = pdp_watchdog_poll_interval_ms , value = null
12-04 17:37:12.000 D/skia ( 2430): Flag is not 10
12-04 17:37:12.013 D/skia ( 2430): Flag is not 10
12-04 17:37:12.033 D/skia ( 2430): Flag is not 10
12-04 17:37:12.045 D/skia ( 2430): Flag is not 10
12-04 17:37:12.048 D/skia ( 2430): Flag is not 10
12-04 17:37:12.052 D/AndroidRuntime( 2430): Shutting down VM
12-04 17:37:12.055 W/dalvikvm( 2430): threadid=1: thread exiting with uncaught exception (group=0x411c69a8)
12-04 17:37:12.058 E/AndroidRuntime( 2430): FATAL EXCEPTION: main
12-04 17:37:12.058 E/AndroidRuntime( 2430): java.lang.NoSuchMethodError: android.widget.VideoView.setOnBufferingUpdateListener
12-04 17:37:12.058 E/AndroidRuntime( 2430): at com.android.gallery3d.app.MoviePlayer.<init>(MoviePlayer.java:299)
12-04 17:37:12.058 E/AndroidRuntime( 2430): at com.android.gallery3d.app.MovieActivity$6.<init>(MovieActivity.java:338)
12-04 17:37:12.058 E/AndroidRuntime( 2430): at com.android.gallery3d.app.MovieActivity.onCreate(MovieActivity.java:337)
12-04 17:37:12.058 E/AndroidRuntime( 2430): at android.app.Activity.performCreate(Activity.java:5261)
12-04 17:37:12.058 E/AndroidRuntime( 2430): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1081)
12-04 17:37:12.058 E/AndroidRuntime( 2430): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2270)
12-04 17:37:12.058 E/AndroidRuntime( 2430): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2358)
12-04 17:37:12.058 E/AndroidRuntime( 2430): at android.app.ActivityThread.access$600(ActivityThread.java:156)
12-04 17:37:12.058 E/AndroidRuntime( 2430): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1340)
12-04 17:37:12.058 E/AndroidRuntime( 2430): at android.os.Handler.dispatchMessage(Handler.java:99)
12-04 17:37:12.058 E/AndroidRuntime( 2430): at android.os.Looper.loop(Looper.java:153)
12-04 17:37:12.058 E/AndroidRuntime( 2430): at android.app.ActivityThread.main(ActivityThread.java:5297)
12-04 17:37:12.058 E/AndroidRuntime( 2430): at java.lang.reflect.Method.invokeNative(Native Method)
12-04 17:37:12.058 E/AndroidRuntime( 2430): at java.lang.reflect.Method.invoke(Method.java:511)
12-04 17:37:12.058 E/AndroidRuntime( 2430): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
12-04 17:37:12.058 E/AndroidRuntime( 2430): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
12-04 17:37:12.058 E/AndroidRuntime( 2430): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:126)
12-04 17:37:12.058 E/AndroidRuntime( 2430): at dalvik.system.NativeStart.main(Native Method)
setOnBufferingUpdateListener method is available with any android api version, so - how do you think (or how can I check the reason?) - why this method is not found and why is the reason of this exception?
Is this beacause of some native libraries missing/incorrect versions? If so - how can I check find library that causes this problem?
giaur said:
...
12-04 17:37:12.058 E/AndroidRuntime( 2430): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:126)
...
Click to expand...
Click to collapse
Seems like an Xposed module problem Try disabling it or removing it or...?
EDIT: Also might be this http://stackoverflow.com/questions/...elistener-is-undefined-for-the-type-videoview
Without xposed installed still fc:
Code:
12-04 19:55:23.808 I/dalvikvm( 2232): Could not find method android.widget.VideoView.setOnBufferingUpdateListener, referenced from method com.android.gallery3d.app.MoviePlayer.<init>
12-04 19:55:23.808 W/dalvikvm( 2232): VFY: unable to resolve virtual method 4697: Landroid/widget/VideoView;.setOnBufferingUpdateListener (Landroid/media/MediaPlayer$OnBufferingUpdateListener;)V
12-04 19:55:23.808 D/dalvikvm( 2232): VFY: replacing opcode 0x6e at 0x00fc
12-04 19:55:23.809 I/dalvikvm( 2232): Could not find method android.widget.VideoView.setOnBufferingUpdateListener, referenced from method com.android.gallery3d.app.MoviePlayer.<init>
12-04 19:55:23.809 W/dalvikvm( 2232): VFY: unable to resolve virtual method 4697: Landroid/widget/VideoView;.setOnBufferingUpdateListener (Landroid/media/MediaPlayer$OnBufferingUpdateListener;)V
12-04 19:55:23.809 D/dalvikvm( 2232): VFY: replacing opcode 0x6e at 0x00d2
12-04 19:55:23.818 D/skia ( 2232): Flag is not 10
12-04 19:55:23.818 I/SurfaceTextureClient( 130): [STC::queueBuffer] (this:0x420157c0) fps:25.99, dur:1000.20, max:514.42, min:9.50
12-04 19:55:23.818 I/BufferQueue( 130): [FramebufferSurface](this:0x42018008,api:1) [release] fps:26.00, dur:1000.19, max:514.40, min:9.49
12-04 19:55:23.818 I/BufferQueue( 130): [FramebufferSurface](this:0x42018008,api:1) [queue] fps:25.99, dur:1000.20, max:514.38, min:9.05
12-04 19:55:23.818 I/SurfaceFlinger( 130): [SurfaceFlinger] fps:25.994654,dur:1000.21,max:514.36,min:9.01
12-04 19:55:23.821 D/skia ( 2232): Flag is not 10
12-04 19:55:23.823 D/skia ( 2232): Flag is not 10
12-04 19:55:23.827 D/skia ( 2232): Flag is not 10
12-04 19:55:23.845 D/skia ( 2232): Flag is not 10
12-04 19:55:23.850 D/skia ( 2232): Flag is not 10
12-04 19:55:23.854 D/skia ( 2232): Flag is not 10
12-04 19:55:23.857 D/AndroidRuntime( 2232): Shutting down VM
12-04 19:55:23.857 W/dalvikvm( 2232): threadid=1: thread exiting with uncaught exception (group=0x40fdd9a8)
12-04 19:55:23.858 E/AndroidRuntime( 2232): FATAL EXCEPTION: main
12-04 19:55:23.858 E/AndroidRuntime( 2232): java.lang.NoSuchMethodError: android.widget.VideoView.setOnBufferingUpdateListener
12-04 19:55:23.858 E/AndroidRuntime( 2232): at com.android.gallery3d.app.MoviePlayer.<init>(MoviePlayer.java:299)
12-04 19:55:23.858 E/AndroidRuntime( 2232): at com.android.gallery3d.app.MovieActivity$6.<init>(MovieActivity.java:338)
12-04 19:55:23.858 E/AndroidRuntime( 2232): at com.android.gallery3d.app.MovieActivity.onCreate(MovieActivity.java:337)
12-04 19:55:23.858 E/AndroidRuntime( 2232): at android.app.Activity.performCreate(Activity.java:5261)
12-04 19:55:23.858 E/AndroidRuntime( 2232): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1081)
12-04 19:55:23.858 E/AndroidRuntime( 2232): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2270)
12-04 19:55:23.858 E/AndroidRuntime( 2232): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2358)
12-04 19:55:23.858 E/AndroidRuntime( 2232): at android.app.ActivityThread.access$600(ActivityThread.java:156)
12-04 19:55:23.858 E/AndroidRuntime( 2232): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1340)
12-04 19:55:23.858 E/AndroidRuntime( 2232): at android.os.Handler.dispatchMessage(Handler.java:99)
12-04 19:55:23.858 E/AndroidRuntime( 2232): at android.os.Looper.loop(Looper.java:153)
12-04 19:55:23.858 E/AndroidRuntime( 2232): at android.app.ActivityThread.main(ActivityThread.java:5297)
12-04 19:55:23.858 E/AndroidRuntime( 2232): at java.lang.reflect.Method.invokeNative(Native Method)
12-04 19:55:23.858 E/AndroidRuntime( 2232): at java.lang.reflect.Method.invoke(Method.java:511)
12-04 19:55:23.858 E/AndroidRuntime( 2232): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
12-04 19:55:23.858 E/AndroidRuntime( 2232): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
12-04 19:55:23.858 E/AndroidRuntime( 2232): at dalvik.system.NativeStart.main(Native Method)
12-04 19:55:23.861 V/Provider/Settings( 493): from settings cache , name = dropbox:system_app_crash , value = null
EDIT: Also might be this http://stackoverflow.com/questions/1...type-videoview
Click to expand...
Click to collapse
Yes, I suspected the same, but it's not my application, it's camera/gallery application taken from another rom (unfortunately, I have no idea what rom was it) - so I think I can assume that it should work and there is some compability problem in rom where I'm trying to run it.
Any ideas what how to find possible reason? I'm confused...
Might be a difference between the "Gallery" apps on the roms. Checking here ( http://developer.android.com/reference/android/widget/VideoView.html ). You can see that, in fact, the method does not exist for the class "android.widget.VideoView". The class that has that function is "android.media.MediaPlayer". It seems like the code would need to cast the object to the "android.media.MediaPlayer" class to make that function available....
This is only a guess but maybe pulling the "Gallery" app from the same ROM might fix it, MAYBE.
EDIT: Wait, I see that you said it is the Gallery app so that's not going to work.... The only way I can see to fix that is to put the proper cast in there which would require the source or reverse engineering.
if the original code was like this
Code:
VideoView mVideoView = (VideoView) findViewById(R.id.videoView);
mVideoView.setOnBufferingUpdateListener(new OnBufferingUpdateListener(){
public void onBufferingUpdate(MediaPlayer mp, int percent) {
}
});
then it would need to be changed like this
Code:
[B]MediaPlayer [/B]mVideoView = ([B]MediaPlayer[/B]) findViewById(R.id.videoView);
mVideoView.setOnBufferingUpdateListener(new OnBufferingUpdateListener(){
public void onBufferingUpdate(MediaPlayer mp, int percent) {
}
});
Thanks for response. Can I edit smali or I need to decompile apk to java and then compile again? Smali is more easy to decompile/compile but hard to edit - how do you think?
giaur said:
Thanks for response. Can I edit smali or I need to decompile apk to java and then compile again? Smali is more easy to decompile/compile but hard to edit - how do you think?
Click to expand...
Click to collapse
Well, if you could remember the rom then you could probably just get the source but If you can't remember then smali is the only way...:good:
Meticulus said:
Well, if you could remember the rom then you could probably just get the source but If you can't remember then smali is the only way...:good:
Click to expand...
Click to collapse
Strange.... smali is like some kind of magic for me So, after decompile, I have 14(!) files named MoviePlayer$1.smali to 14, some of them looks like duplicated. Logcat says that problem is in <init>, so in MoviePlayer$1.smali I found this:
Code:
# direct methods
.method constructor <init>(Lcom/android/gallery3d/app/MoviePlayer;)V
.locals 0
.prologue
.line 183
iput-object p1, p0, Lcom/android/gallery3d/app/MoviePlayer$1;->this$0:Lcom/android/gallery3d/app/MoviePlayer;
invoke-direct/range {p0 .. p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
Entire file looks like this:
http://pastebin.com/XaZhRcvL
Where to start??
I'm not so good with smali but I think the ".line #" represent the line numbers in the java code. So try looking for "MoviePlayer.java:299" (.line 299 or close) maybe?
Meticulus said:
I'm not so good with smali but I think the ".line #" represent the line numbers in the java code. So try looking for "MoviePlayer.java:299" (.line 299 or close) maybe?
Click to expand...
Click to collapse
Seems to be good idea, so this is what I found:
Code:
.line 299
.end local v3 # "isSavedInstanceStateNull":Z
:cond_2
:goto_0
iget-object v5, p0, Lcom/android/gallery3d/app/MoviePlayer;->mVideoView:Landroid/widget/VideoView;
invoke-virtual {v5, p0}, Landroid/widget/VideoView;->setOnBufferingUpdateListener(Landroid/media/MediaPlayer$OnBufferingUpdateListener;)V
.line 302
iget-object v5, p0, Lcom/android/gallery3d/app/MoviePlayer;->mVideoView:Landroid/widget/VideoView;
invoke-virtual {v5, p0}, Landroid/widget/VideoView;->setOnErrorListener(Landroid/media/MediaPlayer$OnErrorListener;)V
Entire file (MoviePlayer.smali):
http://pastebin.com/TQcsxsZG
Should I change to:
invoke-virtual {v5, p0}, Landroid/widget/MediaPlayer;->setOnBufferingUpdateListener(Landroid/media/MediaPlayer$OnBufferingUpdateListenerV
giaur said:
Should I change to:
invoke-virtual {v5, p0}, Landroid/widget/MediaPlayer;->setOnBufferingUpdateListener(Landroid/media/MediaPlayer$OnBufferingUpdateListenerV
Click to expand...
Click to collapse
Well, You can if you like but it looks like their are multiple instances of the problem through out the code... Changing one instance won't fix it and I'm not good enough with smali to know the right things to change....
I wonder how the original rom's dalvik handled this
The change would be more like this
Code:
invoke-virtual {v5, p0}, [B]Landroid/media/MediaPlayer;[/B]->setOnBufferingUpdateListener(Landroid/media/MediaPlayer$OnBufferingUpdateListener;)V
Also, this is as far as I go with this...
Meticulus said:
Well, You can if you like but it looks like their are multiple instances of the problem through out the code... Changing one instance won't fix it and I'm not good enough with smali to know the right things to change....
I wonder how the original rom's dalvik handled this
The change would be more like this
Code:
invoke-virtual {v5, p0}, [B]Landroid/media/MediaPlayer;[/B]->setOnBufferingUpdateListener(Landroid/media/MediaPlayer$OnBufferingUpdateListener;)V
Also, this is as far as I go with this...
Click to expand...
Click to collapse
I have decompiled code to java (but still I'm unable to compile it back...). This is decompiled MoviePlayer.java:
http://pastebin.com/UQr22mZn
But line numbers don't match Looking at line 299, it does not make any sense for me. Any ideas? Anobody? Also I can't see any invalid cast that suspcted to be a problem...
Meticulus said:
Well, if you could remember the rom then you could probably just get the source but If you can't remember then smali is the only way...:good:
Click to expand...
Click to collapse
I have an app from aliyun OS trying to make it work in a regular android rom and I'm getting a force close. From the logcat I can see it's the smali files .
You say in your quote that if you remember the rom you could get the source. I have the rom, How can I get the source and make my app work?
I'm trying to make QuickMemo work on CM... So far it's not going anywhere as I'm kinda noob with Android... And I'm hoping someone with more knowledge can help me!
I copied LGQMemo.apk to /system/priv-app and was able to run it through Secure settings Launch activity and here is what I got in return:
06-11 11:54:48.412 I/ActivityManager( 826): START u0 {flg=0x10000000 cmp=com.lge.QuickClip/.QuickClipActivity} from pid 8370
06-11 11:54:48.422 I/SecureSettings.ActionService( 8370): onHandleIntent::Action Success
06-11 11:54:48.422 V/Zygote ( 8527): Switching descriptor 42 to /dev/null
06-11 11:54:48.422 V/Zygote ( 8527): Switching descriptor 9 to /dev/null
06-11 11:54:48.422 I/ActivityManager( 826): Start proc com.lge.QuickClip for activity com.lge.QuickClip/.QuickClipActivity: pid=8527 uid=10149 gids={50149, 1028, 1015}
06-11 11:54:48.462 I/dalvikvm( 8527): DexOpt: mismatch dep name: '/data/dalvik-cache/[email protected]@[email protected]' vs. '/system/framework/core.odex'
06-11 11:54:48.462 E/dalvikvm( 8527): /system/priv-app/LGQMemo.apk odex has stale dependencies
06-11 11:54:48.462 D/ActivityThread( 8527): handleBindApplication:com.lge.QuickClip
06-11 11:54:48.462 D/ActivityThread( 8527): setTargetHeapUtilization:0.75
06-11 11:54:48.462 D/ActivityThread( 8527): setTargetHeapMinFree:2097152
06-11 11:54:48.462 W/dalvikvm( 8527): Unable to resolve superclass of Lcom/lge/QuickClip/QuickClipActivity; (270)
06-11 11:54:48.462 W/dalvikvm( 8527): Link of class 'Lcom/lge/QuickClip/QuickClipActivity;' failed
06-11 11:54:48.462 D/AndroidRuntime( 8527): Shutting down VM
06-11 11:54:48.462 W/dalvikvm( 8527): threadid=1: thread exiting with uncaught exception (group=0x419b2ce0)
06-11 11:54:48.472 E/AndroidRuntime( 8527): FATAL EXCEPTION: main
06-11 11:54:48.472 E/AndroidRuntime( 8527): Process: com.lge.QuickClip, PID: 8527
06-11 11:54:48.472 E/AndroidRuntime( 8527): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.lge.QuickClip/com.lge.QuickClip.QuickClipActivity}: java.lang.ClassNotFoundException: Didn't find class "com.lge.QuickClip.QuickClipActivity" on path: DexPathList[[zip file "/system/priv-app/LGQMemo.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
06-11 11:54:48.472 E/AndroidRuntime( 8527): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2120)
06-11 11:54:48.472 E/AndroidRuntime( 8527): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2253)
06-11 11:54:48.472 E/AndroidRuntime( 8527): at android.app.ActivityThread.access$800(ActivityThread.java:145)
06-11 11:54:48.472 E/AndroidRuntime( 8527): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1206)
06-11 11:54:48.472 E/AndroidRuntime( 8527): at android.os.Handler.dispatchMessage(Handler.java:102)
06-11 11:54:48.472 E/AndroidRuntime( 8527): at android.os.Looper.loop(Looper.java:136)
06-11 11:54:48.472 E/AndroidRuntime( 8527): at android.app.ActivityThread.main(ActivityThread.java:5128)
06-11 11:54:48.472 E/AndroidRuntime( 8527): at java.lang.reflect.Method.invokeNative(Native Method)
06-11 11:54:48.472 E/AndroidRuntime( 8527): at java.lang.reflect.Method.invoke(Method.java:515)
06-11 11:54:48.472 E/AndroidRuntime( 8527): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
06-11 11:54:48.472 E/AndroidRuntime( 8527): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:611)
06-11 11:54:48.472 E/AndroidRuntime( 8527): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
06-11 11:54:48.472 E/AndroidRuntime( 8527): at dalvik.system.NativeStart.main(Native Method)
06-11 11:54:48.472 E/AndroidRuntime( 8527): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.lge.QuickClip.QuickClipActivity" on path: DexPathList[[zip file "/system/priv-app/LGQMemo.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
06-11 11:54:48.472 E/AndroidRuntime( 8527): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
06-11 11:54:48.472 E/AndroidRuntime( 8527): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
06-11 11:54:48.472 E/AndroidRuntime( 8527): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
06-11 11:54:48.472 E/AndroidRuntime( 8527): at android.app.Instrumentation.newActivity(Instrumentation.java:1061)
06-11 11:54:48.472 E/AndroidRuntime( 8527): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2111)
06-11 11:54:48.472 E/AndroidRuntime( 8527): ... 12 more
06-11 11:54:48.472 W/ActivityManager( 826): Force finishing activity com.lge.QuickClip/.QuickClipActivity
06-11 11:54:48.472 W/InputMethodManagerService( 826): Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
06-11 11:54:48.972 W/ActivityManager( 826): Activity pause timeout for ActivityRecord{424ae208 u0 com.lge.QuickClip/.QuickClipActivity t15 f}
06-11 11:54:49.022 I/Timeline( 1458): Timeline: Activity_idle id: [email protected] time:413509
06-11 11:54:49.482 D/qcom_sensors_hal( 826): hal_sensor1_data_cb: msg_type 2
06-11 11:54:49.922 I/Process ( 8527): Sending signal. PID: 8527 SIG: 9
06-11 11:54:49.932 D/PhoneStatusBar( 1239): disable: < expand icons alerts ticker system_info back home recent CLOCK* search >
06-11 11:54:49.932 W/InputMethodManagerService( 826): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$S[email protected] attribute=null, token = [email protected]
06-11 11:54:49.932 I/ActivityManager( 826): Process com.lge.QuickClip (pid 8527) has died.
Click to expand...
Click to collapse
Since I cannot install it directly, I was wondering why can the Secure Settings find the application and it's main activity but in the logcat it says it cannot be found?
Thanks in advance! (QMemo and QMemo.odex taken from latest CloudyFlex 2.4)
You may want to look for his people got the remote working. Pretty sure it looks for the eula being agreed to before it works
Sent from my LG-VS980 using Tapatalk
Hummm... But wouldn't it need to be shown on the EULA when you first start the system? As I recall, only the remote and VuTalk where shown...
I tried copying some files the the system/framework folder and got a reboot AND system format for free! Had to reinstall CM! Damn! (as I said I'm not a android/linux expert hehehe)