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
Hey guys,
i have problem whit foursquare whit 2.3.6 version of Leo King by Bologna.
Crash start when press check-in button.
Code:
08-28 14:31:50.666 I/ActivityManager( 625): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=com.joelapenna.foursquared cmp=com.joelapenna.foursquared/.MainActivity bnds=[0,103][120,254]} from pid 890
08-28 14:31:50.716 I/ActivityManager( 625): Start proc com.joelapenna.foursquared for activity com.joelapenna.foursquared/.MainActivity: pid=5109 uid=10054 gids={3003, 1015}
08-28 14:31:51.076 I/ActivityThread( 5109): Pub com.joelapenna.foursquared: com.joelapenna.foursquared.providers.GlobalSearchProvider
08-28 14:31:51.076 I/ActivityThread( 5109): Pub com.joelapenna.foursquared.providers.SearchHistoryProvider: com.joelapenna.foursquared.providers.SearchHistoryProvider
08-28 14:31:51.086 I/ActivityThread( 5109): Pub com.joelapenna.foursquared.providers.foursquarebridgeprovider: com.joelapenna.foursquared.providers.FoursquareBridgeProvider
08-28 14:31:51.086 I/ActivityThread( 5109): Pub com.joelapenna.foursquared.providers.FriendsSearchSuggestionProvider: com.joelapenna.foursquared.providers.FriendsSearchSuggestionProvider
08-28 14:31:51.086 I/ActivityThread( 5109): Pub com.joelapenna.foursquared.providers.ExploreSearchSuggestionProvider: com.joelapenna.foursquared.providers.ExploreSearchSuggestionProvider
08-28 14:31:51.086 I/ActivityThread( 5109): Pub com.joelapenna.foursquared.providers.VenueQuerySuggestionsProvider: com.joelapenna.foursquared.providers.VenueQuerySuggestionsProvider
08-28 14:31:51.466 W/dalvikvm( 5109): Unable to resolve superclass of Lcom/foursquare/core/cAnalyticsMapActivity; (714)
08-28 14:31:51.466 W/dalvikvm( 5109): Link of class 'Lcom/foursquare/core/cAnalyticsMapActivity;' failed
08-28 14:31:51.466 W/dalvikvm( 5109): Unable to resolve superclass of Lcom/joelapenna/foursquared/app/AnalyticsMapActivity; (972)
08-28 14:31:51.466 W/dalvikvm( 5109): Link of class 'Lcom/joelapenna/foursquared/app/AnalyticsMapActivity;' failed
08-28 14:31:51.466 W/dalvikvm( 5109): Unable to resolve superclass of Lcom/joelapenna/foursquared/CheckinActivityAlt; (1964)
08-28 14:31:51.466 W/dalvikvm( 5109): Link of class 'Lcom/joelapenna/foursquared/CheckinActivityAlt;' failed
08-28 14:31:51.466 E/dalvikvm( 5109): Could not find class 'com.joelapenna.foursquared.CheckinActivityAlt', referenced from method com.joelapenna.foursquared.MainActivity.checkin
08-28 14:31:51.466 W/dalvikvm( 5109): VFY: unable to resolve const-class 1655 (Lcom/joelapenna/foursquared/CheckinActivityAlt;) in Lcom/joelapenna/foursquared/MainActivity;
08-28 14:31:51.726 W/dalvikvm( 5109): Unable to resolve superclass of Lcom/foursquare/core/cAnalyticsMapActivity; (714)
08-28 14:31:51.726 W/dalvikvm( 5109): Link of class 'Lcom/foursquare/core/cAnalyticsMapActivity;' failed
08-28 14:31:51.726 W/dalvikvm( 5109): Unable to resolve superclass of Lcom/joelapenna/foursquared/app/AnalyticsMapActivity; (972)
08-28 14:31:51.726 W/dalvikvm( 5109): Link of class 'Lcom/joelapenna/foursquared/app/AnalyticsMapActivity;' failed
08-28 14:31:51.726 W/dalvikvm( 5109): Unable to resolve superclass of Lcom/joelapenna/foursquared/CheckinActivityAlt; (1964)
08-28 14:31:51.726 W/dalvikvm( 5109): Link of class 'Lcom/joelapenna/foursquared/CheckinActivityAlt;' failed
08-28 14:31:51.726 E/dalvikvm( 5109): Could not find class 'com.joelapenna.foursquared.CheckinActivityAlt', referenced from method com.joelapenna.foursquared.fragments.app.BaseListFragment.onOptionsItemSelected
08-28 14:31:51.726 W/dalvikvm( 5109): VFY: unable to resolve const-class 1655 (Lcom/joelapenna/foursquared/CheckinActivityAlt;) in Lcom/joelapenna/foursquared/fragments/app/BaseListFragment;
08-28 14:31:51.756 W/dalvikvm( 5109): Unable to resolve superclass of Lcom/foursquare/core/cAnalyticsMapActivity; (714)
08-28 14:31:51.756 W/dalvikvm( 5109): Link of class 'Lcom/foursquare/core/cAnalyticsMapActivity;' failed
08-28 14:31:51.756 W/dalvikvm( 5109): Unable to resolve superclass of Lcom/joelapenna/foursquared/app/AnalyticsMapActivity; (972)
08-28 14:31:51.756 W/dalvikvm( 5109): Link of class 'Lcom/joelapenna/foursquared/app/AnalyticsMapActivity;' failed
08-28 14:31:51.756 W/dalvikvm( 5109): Unable to resolve superclass of Lcom/joelapenna/foursquared/ExploreMapActivity; (1964)
08-28 14:31:51.756 W/dalvikvm( 5109): Link of class 'Lcom/joelapenna/foursquared/ExploreMapActivity;' failed
08-28 14:31:51.756 E/dalvikvm( 5109): Could not find class 'com.joelapenna.foursquared.ExploreMapActivity', referenced from method com.joelapenna.foursquared.fragments.explore.NearbyFragment.onMapClick
08-28 14:31:51.756 W/dalvikvm( 5109): VFY: unable to resolve const-class 1695 (Lcom/joelapenna/foursquared/ExploreMapActivity;) in Lcom/joelapenna/foursquared/fragments/explore/NearbyFragment;
08-28 14:31:52.836 I/ActivityManager( 625): Displayed com.joelapenna.foursquared/.MainActivity: +2s133ms
08-28 14:31:53.176 E/SQLiteDatabase( 5109): close() was never explicitly called on database '/data/data/com.joelapenna.foursquared/databases/friends_checkin'
08-28 14:31:53.176 E/SQLiteDatabase( 5109): at com.joelapenna.foursquared.receivers.notifications.FriendsCheckinOpenHelper.clearAll(FriendsCheckinOpenHelper.java:87)
08-28 14:31:53.176 E/SQLiteDatabase( 5109): at com.joelapenna.foursquared.receivers.notifications.PushHandler.clearFriendCheckinNotifications(PushHandler.java:753)
08-28 14:31:53.176 E/SQLiteDatabase( 5109): at com.joelapenna.foursquared.fragments.ActivityStreamFragment.onActivityCreated(ActivityStreamFragment.java:106)
08-28 14:31:56.536 E/AndroidRuntime( 5109): java.lang.NoClassDefFoundError: com.joelapenna.foursquared.CheckinActivityAlt
08-28 14:31:56.536 E/AndroidRuntime( 5109): at com.joelapenna.foursquared.MainActivity.checkin(MainActivity.java:349)
08-28 14:31:56.536 E/AndroidRuntime( 5109): at com.joelapenna.foursquared.MainActivity.onOptionsItemSelected(MainActivity.java:340)
08-28 14:31:56.546 W/ActivityManager( 625): Force finishing activity com.joelapenna.foursquared/.MainActivity
08-28 14:31:57.067 W/ActivityManager( 625): Activity pause timeout for ActivityRecord{40e32540 com.joelapenna.foursquared/.MainActivity}
08-28 14:31:57.786 I/ActivityManager( 625): Process com.joelapenna.foursquared (pid 5109) has died.
08-28 14:31:57.786 I/WindowManager( 625): WIN DEATH: Window{40e84498 com.joelapenna.foursquared/com.joelapenna.foursquared.MainActivity paused=false}
Anyone can help me?
Thanks!!
Hi.
Did you solve your issue?
I'm porting an app from samsung s3 mini to cm10 htc one v
I've deodexed apk and then i'm modding classes.dex to fix problem.
only, i can't open mainactivity i'm getting problem from this smali(MainActivity.smali) and this line.
Landroid/util/GateConfig;->isGateEnabled() -- android.util.GateConfig
Class Def Not Found..
Code:
.line 154
invoke-static {}, Landroid/util/GateConfig;->isGateEnabled()Z
move-result v0
sput-boolean v0, Lcom/sec/android/app/myfiles/MainActivity;->FLAG_SUPPORT_GATE_MESSAGE:Z
return-void
.end method
.method public constructor <init>()V
.registers 4
.prologue
const/4 v2, 0x0
const/4 v1, 0x0
also tried adding util/GateConfig file to out folder but.
when i try run smali.jar for compiling again. i get problems...So, i tried delete half of line 154 smali but now i'm getting
Code:
I/ActivityManager( 1765): Start proc com.sec.android.app.myfiles for activity co
m.sec.android.app.myfiles/.MainActivity: pid=5194 uid=10070 gids={1015, 1023, 30
02}
D/Launcher( 2036): onTrimMemory. Level: 20
E/Trace ( 5194): error opening trace file: No such file or directory (2)
W/dalvikvm( 5194): VFY: register index out of range (2 >= 1)
W/dalvikvm( 5194): VFY: register index out of range (1 >= 1)
W/dalvikvm( 5194): VFY: rejecting opcode 0x5c at 0x000d
W/dalvikvm( 5194): VFY: rejected Lcom/sec/android/app/myfiles/MainActivity;.<cl
init> ()V
W/dalvikvm( 5194): Verifier rejected class Lcom/sec/android/app/myfiles/MainActi
vity;
W/dalvikvm( 5194): Class init failed in newInstance call (Lcom/sec/android/app/m
yfiles/MainActivity;)
D/AndroidRuntime( 5194): Shutting down VM
W/dalvikvm( 5194): threadid=1: thread exiting with uncaught exception (group=0x4
0d83300)
E/AndroidRuntime( 5194): FATAL EXCEPTION: main
E/AndroidRuntime( 5194): java.lang.VerifyError: com/sec/android/app/myfiles/Main
Activity
E/AndroidRuntime( 5194): at java.lang.Class.newInstanceImpl(Native Method
)
E/AndroidRuntime( 5194): at java.lang.Class.newInstance(Class.java:1319)
E/AndroidRuntime( 5194): at android.app.Instrumentation.newActivity(Instr
umentation.java:1053)
E/AndroidRuntime( 5194): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2090)
E/AndroidRuntime( 5194): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2210)
E/AndroidRuntime( 5194): at android.app.ActivityThread.access$600(Activit
yThread.java:142)
E/AndroidRuntime( 5194): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1208)
E/AndroidRuntime( 5194): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 5194): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 5194): at android.app.ActivityThread.main(ActivityThrea
d.java:4931)
E/AndroidRuntime( 5194): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 5194): at java.lang.reflect.Method.invoke(Method.java:5
11)
E/AndroidRuntime( 5194): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 5194): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:558)
E/AndroidRuntime( 5194): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 1765): Force finishing activity com.sec.android.app.myfiles
/.MainActivity
and last one thing.
Code:
C:\Users\Doğa\HTCONEVAllFiles\Data>adb shell
[email protected]:/ # am start com.sec.android.app.myfiles/.MyFilesSettings
When i try open settings activity via adb.it works..
only main activity don't work.
how can i change line 154 without problems???
or how can i add android.util.GateConfig ??
i need fix for that ??
some developer should help me ??? PLEASE
doga.ozkaraca said:
I'm porting an app from samsung s3 mini to cm10 htc one v
I've deodexed apk and then i'm modding classes.dex to fix problem.
only, i can't open mainactivity i'm getting problem from this smali(MainActivity.smali) and this line.
Landroid/util/GateConfig;->isGateEnabled() -- android.util.GateConfig
Class Def Not Found..
Code:
.line 154
invoke-static {}, Landroid/util/GateConfig;->isGateEnabled()Z
move-result v0
sput-boolean v0, Lcom/sec/android/app/myfiles/MainActivity;->FLAG_SUPPORT_GATE_MESSAGE:Z
return-void
.end method
.method public constructor <init>()V
.registers 4
.prologue
const/4 v2, 0x0
const/4 v1, 0x0
also tried adding util/GateConfig file to out folder but.
when i try run smali.jar for compiling again. i get problems...So, i tried delete half of line 154 smali but now i'm getting
Code:
I/ActivityManager( 1765): Start proc com.sec.android.app.myfiles for activity co
m.sec.android.app.myfiles/.MainActivity: pid=5194 uid=10070 gids={1015, 1023, 30
02}
D/Launcher( 2036): onTrimMemory. Level: 20
E/Trace ( 5194): error opening trace file: No such file or directory (2)
W/dalvikvm( 5194): VFY: register index out of range (2 >= 1)
W/dalvikvm( 5194): VFY: register index out of range (1 >= 1)
W/dalvikvm( 5194): VFY: rejecting opcode 0x5c at 0x000d
W/dalvikvm( 5194): VFY: rejected Lcom/sec/android/app/myfiles/MainActivity;.<cl
init> ()V
W/dalvikvm( 5194): Verifier rejected class Lcom/sec/android/app/myfiles/MainActi
vity;
W/dalvikvm( 5194): Class init failed in newInstance call (Lcom/sec/android/app/m
yfiles/MainActivity;)
D/AndroidRuntime( 5194): Shutting down VM
W/dalvikvm( 5194): threadid=1: thread exiting with uncaught exception (group=0x4
0d83300)
E/AndroidRuntime( 5194): FATAL EXCEPTION: main
E/AndroidRuntime( 5194): java.lang.VerifyError: com/sec/android/app/myfiles/Main
Activity
E/AndroidRuntime( 5194): at java.lang.Class.newInstanceImpl(Native Method
)
E/AndroidRuntime( 5194): at java.lang.Class.newInstance(Class.java:1319)
E/AndroidRuntime( 5194): at android.app.Instrumentation.newActivity(Instr
umentation.java:1053)
E/AndroidRuntime( 5194): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2090)
E/AndroidRuntime( 5194): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2210)
E/AndroidRuntime( 5194): at android.app.ActivityThread.access$600(Activit
yThread.java:142)
E/AndroidRuntime( 5194): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1208)
E/AndroidRuntime( 5194): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 5194): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 5194): at android.app.ActivityThread.main(ActivityThrea
d.java:4931)
E/AndroidRuntime( 5194): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 5194): at java.lang.reflect.Method.invoke(Method.java:5
11)
E/AndroidRuntime( 5194): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 5194): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:558)
E/AndroidRuntime( 5194): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 1765): Force finishing activity com.sec.android.app.myfiles
/.MainActivity
and last one thing.
Code:
C:\Users\Doğa\HTCONEVAllFiles\Data>adb shell
[email protected]:/ # am start com.sec.android.app.myfiles/.MyFilesSettings
When i try open settings activity via adb.it works..
only main activity don't work.
how can i change line 154 without problems???
or how can i add android.util.GateConfig ??
i need fix for that ??
some developer should help me ??? PLEASE
Click to expand...
Click to collapse
SOLVED !! THANKS I've SUCCESSFULLY PORTED SAMSUNG GALAXY S3 MİNİ FİLE MANAGER TO CM10/AOKP/AOSP I WİLL RELEASE SOON
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)