hushaojie04 / libgdx

Automatically exported from code.google.com/p/libgdx
0 stars 0 forks source link

Android : exception extending World #177

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. public class MyWorld extends World {......}
2. in ApplicationListener.create(){ new MyWorld(new Vector2(1f,1f), true); }

What is the expected output? What do you see instead?
not an exception

What version of the product are you using? On what operating system?
android 2.2.1, libgdx 0.9

Please provide any additional information below.

The output in Android ( on ubuntu 10.10 works fine ) 

D/AndroidGraphics(25750): OGL extensions: GL_OES_byte_coordinates 
GL_OES_fixed_point GL_OES_single_precision GL_OES_matrix_get GL_OES_read_format 
GL_OES_compressed_paletted_texture GL_OES_point_sprite GL_OES_point_size_array 
GL_OES_matrix_palette GL_OES_draw_texture GL_OES_query_matrix 
GL_OES_texture_env_crossbar GL_OES_texture_mirrored_repeat 
GL_OES_texture_cube_map GL_OES_blend_subtract GL_OES_blend_func_separate 
GL_OES_blend_equation_separate GL_OES_stencil_wrap 
GL_OES_extended_matrix_palette GL_OES_framebuffer_object GL_OES_rgb8_rgba8 
GL_OES_depth24 GL_OES_stencil8 GL_OES_compressed_ETC1_RGB8_texture 
GL_OES_mapbuffer GL_OES_EGL_image GL_EXT_multi_draw_arrays 
GL_OES_required_internalformat GL_IMG_read_format 
GL_IMG_texture_compression_pvrtc GL_IMG_texture_format_BGRA8888 
GL_EXT_texture_format_BGRA8888 GL_IMG_texture_stream GL_IMG_vertex_program 
D/AndroidGraphics(25750): framebuffer: (5, 6, 5, 0)
D/AndroidGraphics(25750): depthbuffer: (24)
D/AndroidGraphics(25750): stencilbuffer: (8)
D/dalvikvm(25750): GC_EXTERNAL_ALLOC freed 1148 objects / 83592 bytes in 28ms
D/dalvikvm(25750): GetMethodID: method not found: 
Lcom/awesome/lPhysic;.beginContact:(J)V
D/dalvikvm(25750): GetMethodID: method not found: 
Lcom/awesome/lPhysic;.endContact:(J)V
E/dalvikvm(25750): Class lookup Ljava/lang/NoSuchMethodError; attempted while 
exception Ljava/lang/NoSuchMethodError; pending
I/dalvikvm(25750): DALVIK THREADS:
I/dalvikvm(25750): "main" prio=5 tid=1 WAIT
I/dalvikvm(25750):   | group="main" sCount=0 dsCount=0 s=N obj=0x4001d8b0 
self=0xcca8
I/dalvikvm(25750):   | sysTid=25750 nice=0 sched=0/0 cgrp=default 
handle=-1345017808
I/dalvikvm(25750):   | schedstat=( 70588719 90608821 117 )
I/dalvikvm(25750):   at java.lang.Object.wait(Native Method)
I/dalvikvm(25750):   - waiting on <0x40090d90> (a 
android.opengl.GLSurfaceView$GLThreadManager)
I/dalvikvm(25750):   at java.lang.Object.wait(Object.java:288)
I/dalvikvm(25750):   at 
android.opengl.GLSurfaceView$GLThread.onWindowResize(GLSurfaceView.java:1470)
I/dalvikvm(25750):   at 
android.opengl.GLSurfaceView.surfaceChanged(GLSurfaceView.java:488)
I/dalvikvm(25750):   at 
android.view.SurfaceView.updateWindow(SurfaceView.java:554)
I/dalvikvm(25750):   at 
android.view.SurfaceView.dispatchDraw(SurfaceView.java:341)
I/dalvikvm(25750):   at android.view.ViewGroup.drawChild(ViewGroup.java:1638)
I/dalvikvm(25750):   at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367)
I/dalvikvm(25750):   at android.view.View.draw(View.java:6796)
I/dalvikvm(25750):   at android.widget.FrameLayout.draw(FrameLayout.java:354)
I/dalvikvm(25750):   at android.view.ViewGroup.drawChild(ViewGroup.java:1640)
I/dalvikvm(25750):   at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367)
I/dalvikvm(25750):   at android.view.View.draw(View.java:6796)
I/dalvikvm(25750):   at android.widget.FrameLayout.draw(FrameLayout.java:354)
I/dalvikvm(25750):   at 
com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:189
4)
I/dalvikvm(25750):   at android.view.ViewRoot.draw(ViewRoot.java:1432)
I/dalvikvm(25750):   at 
android.view.ViewRoot.performTraversals(ViewRoot.java:1174)
I/dalvikvm(25750):   at android.view.ViewRoot.handleMessage(ViewRoot.java:1752)
I/dalvikvm(25750):   at android.os.Handler.dispatchMessage(Handler.java:99)
I/dalvikvm(25750):   at android.os.Looper.loop(Looper.java:123)
I/dalvikvm(25750):   at 
android.app.ActivityThread.main(ActivityThread.java:4627)
I/dalvikvm(25750):   at java.lang.reflect.Method.invokeNative(Native Method)
I/dalvikvm(25750):   at java.lang.reflect.Method.invoke(Method.java:521)
I/dalvikvm(25750):   at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
I/dalvikvm(25750):   at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
I/dalvikvm(25750):   at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm(25750): 
I/dalvikvm(25750): "SoundPool" prio=5 tid=11 NATIVE
I/dalvikvm(25750):   | group="main" sCount=0 dsCount=0 s=N obj=0x486251c8 
self=0x236488
I/dalvikvm(25750):   | sysTid=25759 nice=0 sched=0/0 cgrp=default handle=2314888
I/dalvikvm(25750):   | schedstat=( 84500 4643728 1 )
I/dalvikvm(25750):   at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm(25750): 
I/dalvikvm(25750): "SoundPoolThread" prio=5 tid=10 NATIVE
I/dalvikvm(25750):   | group="main" sCount=0 dsCount=0 s=N obj=0x48625108 
self=0x235b40
I/dalvikvm(25750):   | sysTid=25760 nice=0 sched=0/0 cgrp=default handle=2315104
I/dalvikvm(25750):   | schedstat=( 146916 4430604 1 )
I/dalvikvm(25750):   at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm(25750): 
I/dalvikvm(25750): "android.hardware.SensorManager$SensorThread" prio=5 tid=9 
NATIVE
I/dalvikvm(25750):   | group="main" sCount=0 dsCount=0 s=N obj=0x48621008 
self=0x2338a8
I/dalvikvm(25750):   | sysTid=25758 nice=-8 sched=0/0 cgrp=default 
handle=2308584
I/dalvikvm(25750):   | schedstat=( 1130148 10781591 17 )
I/dalvikvm(25750):   at android.hardware.SensorManager.sensors_data_poll(Native 
Method)
I/dalvikvm(25750):   at 
android.hardware.SensorManager$SensorThread$SensorThreadRunnable.run(SensorManag
er.java:391)
I/dalvikvm(25750):   at java.lang.Thread.run(Thread.java:1096)
I/dalvikvm(25750): 
I/dalvikvm(25750): "GLThread 9" prio=5 tid=8 RUNNABLE
I/dalvikvm(25750):   | group="main" sCount=0 dsCount=0 s=N obj=0x4861d4d8 
self=0x232908
I/dalvikvm(25750):   | sysTid=25757 nice=0 sched=0/0 cgrp=default handle=1214192
I/dalvikvm(25750):   | schedstat=( 145305511 56407127 344 )
I/dalvikvm(25750):   at com.badlogic.gdx.physics.box2d.World.newWorld(Native 
Method)
I/dalvikvm(25750):   at 
com.badlogic.gdx.physics.box2d.World.<init>(World.java:100)
I/dalvikvm(25750):   at com.awesome.lPhysic.<init>(lPhysic.java:12)
I/dalvikvm(25750):   at 
com.awesome.SuperAwesomeExample.create(SuperAwesomeExample.java:30)
I/dalvikvm(25750):   at 
com.badlogic.gdx.backends.android.AndroidGraphics.onSurfaceCreated(AndroidGraphi
cs.java:284)
I/dalvikvm(25750):   at 
android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1317)
I/dalvikvm(25750):   at 
android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1116)
I/dalvikvm(25750): 
I/dalvikvm(25750): "Binder Thread #2" prio=5 tid=7 NATIVE
I/dalvikvm(25750):   | group="main" sCount=0 dsCount=0 s=N obj=0x48614430 
self=0x11c608
I/dalvikvm(25750):   | sysTid=25756 nice=0 sched=0/0 cgrp=default handle=1199680
I/dalvikvm(25750):   | schedstat=( 825829 10953312 6 )
I/dalvikvm(25750):   at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm(25750): 
I/dalvikvm(25750): "Binder Thread #1" prio=5 tid=6 NATIVE
I/dalvikvm(25750):   | group="main" sCount=0 dsCount=0 s=N obj=0x48611c50 
self=0x126088
I/dalvikvm(25750):   | sysTid=25755 nice=0 sched=0/0 cgrp=default handle=1199616
I/dalvikvm(25750):   | schedstat=( 3151155 18185216 10 )
I/dalvikvm(25750):   at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm(25750): 
I/dalvikvm(25750): "Compiler" daemon prio=5 tid=5 VMWAIT
I/dalvikvm(25750):   | group="system" sCount=0 dsCount=0 s=N obj=0x4860a348 
self=0x11c178
I/dalvikvm(25750):   | sysTid=25754 nice=0 sched=0/0 cgrp=default handle=1283112
I/dalvikvm(25750):   | schedstat=( 257496 6695855 3 )
I/dalvikvm(25750):   at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm(25750): 
I/dalvikvm(25750): "JDWP" daemon prio=5 tid=4 VMWAIT
I/dalvikvm(25750):   | group="system" sCount=0 dsCount=0 s=N obj=0x4860a2a0 
self=0x122730
I/dalvikvm(25750):   | sysTid=25753 nice=0 sched=0/0 cgrp=default handle=1295800
I/dalvikvm(25750):   | schedstat=( 2265398 5052386 16 )
I/dalvikvm(25750):   at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm(25750): 
I/dalvikvm(25750): "Signal Catcher" daemon prio=5 tid=3 VMWAIT
I/dalvikvm(25750):   | group="system" sCount=0 dsCount=0 s=N obj=0x4860a1e8 
self=0x12f670
I/dalvikvm(25750):   | sysTid=25752 nice=0 sched=0/0 cgrp=default handle=1268520
I/dalvikvm(25750):   | schedstat=( 331999 8768284 2 )
I/dalvikvm(25750):   at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm(25750): 
I/dalvikvm(25750): "HeapWorker" daemon prio=5 tid=2 VMWAIT
I/dalvikvm(25750):   | group="system" sCount=0 dsCount=0 s=N obj=0x4585d368 
self=0x1359e8
I/dalvikvm(25750):   | sysTid=25751 nice=0 sched=0/0 cgrp=default handle=1250352
I/dalvikvm(25750):   | schedstat=( 8940100 20650949 14 )
I/dalvikvm(25750):   at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm(25750): 
E/dalvikvm(25750): VM aborting
V/RenderScript_jni( 3011): surfaceDestroyed

Original issue reported on code.google.com by brigam...@gmail.com on 11 Mar 2011 at 9:52

GoogleCodeExporter commented 9 years ago
All the log:

I/AndroidRuntime( 4484): NOTE: attach of thread 'Binder Thread #2' failed
D/dalvikvm( 4491): Trying to load lib /data/data/com.awesome/lib/libgdx.so 
0x4878a9d8
D/dalvikvm( 4491): Added shared lib /data/data/com.awesome/lib/libgdx.so 
0x4878a9d8
D/dalvikvm( 4491): No JNI_OnLoad found in /data/data/com.awesome/lib/libgdx.so 
0x4878a9d8, skipping init
D/dalvikvm( 4491): GetMethodID: method not found: 
Lcom/awesome/myStuff;.beginContact:(J)V
D/dalvikvm( 4491): GetMethodID: method not found: 
Lcom/awesome/myStuff;.endContact:(J)V
E/dalvikvm( 4491): Class lookup Ljava/lang/NoSuchMethodError; attempted while 
exception Ljava/lang/NoSuchMethodError; pending
I/dalvikvm( 4491): DALVIK THREADS:
I/dalvikvm( 4491): "main" prio=5 tid=1 RUNNABLE
I/dalvikvm( 4491):   | group="main" sCount=0 dsCount=0 s=N obj=0x4001d8b0 
self=0xcca8
I/dalvikvm( 4491):   | sysTid=4491 nice=0 sched=0/0 cgrp=default 
handle=-1345017808
I/dalvikvm( 4491):   | schedstat=( 67022079 35256172 54 )
I/dalvikvm( 4491):   at com.badlogic.gdx.physics.box2d.World.newWorld(Native 
Method)
I/dalvikvm( 4491):   at 
com.badlogic.gdx.physics.box2d.World.<init>(World.java:100)
I/dalvikvm( 4491):   at com.awesome.myStuff.<init>(myStuff.java:9)
I/dalvikvm( 4491):   at 
com.awesome.SuperAwesomeActivity.onCreate(SuperAwesomeActivity.java:18)
I/dalvikvm( 4491):   at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
I/dalvikvm( 4491):   at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
I/dalvikvm( 4491):   at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
I/dalvikvm( 4491):   at 
android.app.ActivityThread.access$2300(ActivityThread.java:125)
I/dalvikvm( 4491):   at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
I/dalvikvm( 4491):   at android.os.Handler.dispatchMessage(Handler.java:99)
I/dalvikvm( 4491):   at android.os.Looper.loop(Looper.java:123)
I/dalvikvm( 4491):   at 
android.app.ActivityThread.main(ActivityThread.java:4627)
I/dalvikvm( 4491):   at java.lang.reflect.Method.invokeNative(Native Method)
I/dalvikvm( 4491):   at java.lang.reflect.Method.invoke(Method.java:521)
I/dalvikvm( 4491):   at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
I/dalvikvm( 4491):   at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
I/dalvikvm( 4491):   at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 4491): 
I/dalvikvm( 4491): "Binder Thread #2" prio=5 tid=7 NATIVE
I/dalvikvm( 4491):   | group="main" sCount=0 dsCount=0 s=N obj=0x4878e798 
self=0x1185c8
I/dalvikvm( 4491):   | sysTid=4497 nice=0 sched=0/0 cgrp=default handle=1194544
I/dalvikvm( 4491):   | schedstat=( 224208 9514555 1 )
I/dalvikvm( 4491):   at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 4491): 
I/dalvikvm( 4491): "Binder Thread #1" prio=5 tid=6 NATIVE
I/dalvikvm( 4491):   | group="main" sCount=0 dsCount=0 s=N obj=0x48788d88 
self=0x11c928
I/dalvikvm( 4491):   | sysTid=4496 nice=0 sched=0/0 cgrp=default handle=1165400
I/dalvikvm( 4491):   | schedstat=( 2147165 13474391 1 )
I/dalvikvm( 4491):   at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 4491): 
I/dalvikvm( 4491): "Compiler" daemon prio=5 tid=5 VMWAIT
I/dalvikvm( 4491):   | group="system" sCount=0 dsCount=0 s=N obj=0x48781348 
self=0x131b80
I/dalvikvm( 4491):   | sysTid=4495 nice=0 sched=0/0 cgrp=default handle=1295800
I/dalvikvm( 4491):   | schedstat=( 182830 9787550 3 )
I/dalvikvm( 4491):   at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 4491): 
I/dalvikvm( 4491): "JDWP" daemon prio=5 tid=4 VMWAIT
I/dalvikvm( 4491):   | group="system" sCount=0 dsCount=0 s=N obj=0x487812a0 
self=0x11c178
I/dalvikvm( 4491):   | sysTid=4494 nice=0 sched=0/0 cgrp=default handle=1250568
I/dalvikvm( 4491):   | schedstat=( 2615687 2621287 19 )
I/dalvikvm( 4491):   at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 4491): 
I/dalvikvm( 4491): "Signal Catcher" daemon prio=5 tid=3 VMWAIT
I/dalvikvm( 4491):   | group="system" sCount=0 dsCount=0 s=N obj=0x487811e8 
self=0x12f760
I/dalvikvm( 4491):   | sysTid=4493 nice=0 sched=0/0 cgrp=default handle=1268520
I/dalvikvm( 4491):   | schedstat=( 345165 6145825 2 )
I/dalvikvm( 4491):   at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 4491): 
I/dalvikvm( 4491): "HeapWorker" daemon prio=5 tid=2 VMWAIT
I/dalvikvm( 4491):   | group="system" sCount=0 dsCount=0 s=N obj=0x4585cc58 
self=0x1359e8
I/dalvikvm( 4491):   | sysTid=4492 nice=0 sched=0/0 cgrp=default handle=1242736
I/dalvikvm( 4491):   | schedstat=( 10715733 17652925 11 )
I/dalvikvm( 4491):   at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 4491): 
E/dalvikvm( 4491): VM aborting
V/RenderScript_jni( 3055): surfaceDestroyed
I/DEBUG   ( 2576): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 
***
I/DEBUG   ( 2576): Build fingerprint: 
'samsung/GT-I9000/GT-I9000/GT-I9000:2.2/FROYO/XXJPO:user/release-keys'
I/DEBUG   ( 2576): pid: 4491, tid: 4491  >>> com.awesome <<<
I/DEBUG   ( 2576): signal 11 (SIGSEGV), fault addr deadd00d
I/DEBUG   ( 2576):  r0 00000026  r1 afd14921  r2 afd14921  r3 00000000
I/DEBUG   ( 2576):  r4 809a23f4  r5 809a23f4  r6 0000cca8  r7 00000000
I/DEBUG   ( 2576):  r8 3f800000  r9 430cbc6c  10 00000001  fp bea1a828
I/DEBUG   ( 2576):  ip deadd00d  sp bea1a3f0  lr afd1596b  pc 809420b8  cpsr 
20000030
I/DEBUG   ( 2576):  d0  643a64696f72646e  d1  6472656767756265
I/DEBUG   ( 2576):  d2  6874654d24746967  d3  677241646e41640a
I/DEBUG   ( 2576):  d4  432f0250432f021c  d5  432f02b8432f0284
I/DEBUG   ( 2576):  d6  bff921fb54400000  d7  000000076dc9c883
I/DEBUG   ( 2576):  d8  0000000000000000  d9  0000000000000000
I/DEBUG   ( 2576):  d10 0000000000000000  d11 0000000000000000
I/DEBUG   ( 2576):  d12 0000000000000000  d13 0000000000000000
I/DEBUG   ( 2576):  d14 0000000000000000  d15 0000000000000000
I/DEBUG   ( 2576):  d16 8095070b487b4fb0  d17 4060000000000000
I/DEBUG   ( 2576):  d18 3fe62e42fee00000  d19 3fe921fb54442d18
I/DEBUG   ( 2576):  d20 bfc999999998ebc4  d21 3fc24924920083ff
I/DEBUG   ( 2576):  d22 bfbc71c6fe231671  d23 3fb745cdc54c206e
I/DEBUG   ( 2576):  d24 bfb3b0f2af749a6d  d25 3fb10d66a0d03d51
I/DEBUG   ( 2576):  d26 bfadde2d52defd9a  d27 3fa97b4b24760deb
I/DEBUG   ( 2576):  d28 bfa2b4442c6a6c2f  d29 0000000000000000
I/DEBUG   ( 2576):  d30 0000000000000000  d31 0000000000000000
I/DEBUG   ( 2576):  scr 60000012
I/DEBUG   ( 2576): 
I/DEBUG   ( 2576):          #00  pc 000420b8  /system/lib/libdvm.so
I/DEBUG   ( 2576):          #01  pc 000686e8  /system/lib/libdvm.so
I/DEBUG   ( 2576):          #02  pc 0006897a  /system/lib/libdvm.so
I/DEBUG   ( 2576):          #03  pc 00068eea  /system/lib/libdvm.so
I/DEBUG   ( 2576):          #04  pc 0004177e  /system/lib/libdvm.so
I/DEBUG   ( 2576):          #05  pc 000490ba  /system/lib/libdvm.so
I/DEBUG   ( 2576):          #06  pc 00034f50  
/data/data/com.awesome/lib/libgdx.so
I/DEBUG   ( 2576):          #07  pc 00016e34  /system/lib/libdvm.so
I/DEBUG   ( 2576): 
I/DEBUG   ( 2576): code around pc:
I/DEBUG   ( 2576): 80942098 20061861 f7d418a2 2000eb86 ecdef7d4 
I/DEBUG   ( 2576): 809420a8 58234808 b1036bdb f8df4798 2026c01c 
I/DEBUG   ( 2576): 809420b8 0000f88c ed44f7d4 00060360 fffe213c 
I/DEBUG   ( 2576): 809420c8 fffe53b0 000003a0 deadd00d f8dfb40e 
I/DEBUG   ( 2576): 809420d8 b503c02c bf00490a 188ba200 f853aa03 
I/DEBUG   ( 2576): 
I/DEBUG   ( 2576): code around lr:
I/DEBUG   ( 2576): afd15948 b5f74b0d 490da200 2600189b 585c4602 
I/DEBUG   ( 2576): afd15958 686768a5 f9b5e008 b120000c 46289201 
I/DEBUG   ( 2576): afd15968 9a014790 35544306 37fff117 6824d5f3 
I/DEBUG   ( 2576): afd15978 d1ed2c00 bdfe4630 0002c9d8 000000d8 
I/DEBUG   ( 2576): afd15988 b086b570 f602fb01 9004460c a804a901 
I/DEBUG   ( 2576): 
I/DEBUG   ( 2576): stack:
I/DEBUG   ( 2576):     bea1a3b0  00000015  
I/DEBUG   ( 2576):     bea1a3b4  afd14951  /system/lib/libc.so
I/DEBUG   ( 2576):     bea1a3b8  afd425a0  /system/lib/libc.so
I/DEBUG   ( 2576):     bea1a3bc  afd4254c  /system/lib/libc.so
I/DEBUG   ( 2576):     bea1a3c0  00000000  
I/DEBUG   ( 2576):     bea1a3c4  afd1596b  /system/lib/libc.so
I/DEBUG   ( 2576):     bea1a3c8  afd14921  /system/lib/libc.so
I/DEBUG   ( 2576):     bea1a3cc  afd14921  /system/lib/libc.so
I/DEBUG   ( 2576):     bea1a3d0  afd14978  /system/lib/libc.so
I/DEBUG   ( 2576):     bea1a3d4  809a23f4  /system/lib/libdvm.so
I/DEBUG   ( 2576):     bea1a3d8  809a23f4  /system/lib/libdvm.so
I/DEBUG   ( 2576):     bea1a3dc  0000cca8  [heap]
I/DEBUG   ( 2576):     bea1a3e0  00000000  
I/DEBUG   ( 2576):     bea1a3e4  afd14985  /system/lib/libc.so
I/DEBUG   ( 2576):     bea1a3e8  df002777  
I/DEBUG   ( 2576):     bea1a3ec  e3a070ad  
I/DEBUG   ( 2576): #00 bea1a3f0  40226f60  
/dev/ashmem/mspace/dalvik-heap/zygote/0 (deleted)
I/DEBUG   ( 2576):     bea1a3f4  809686ed  /system/lib/libdvm.so
I/DEBUG   ( 2576): #01 bea1a3f8  43af9500  
/data/dalvik-cache/system@framework@core.jar@classes.dex
I/DEBUG   ( 2576):     bea1a3fc  48791d68  /dev/ashmem/mspace/dalvik-heap/2 
(deleted)
I/DEBUG   ( 2576):     bea1a400  809a004a  /system/lib/libdvm.so
I/DEBUG   ( 2576):     bea1a404  8096995b  /system/lib/libdvm.so
I/DEBUG   ( 2576):     bea1a408  80983175  /system/lib/libdvm.so
I/DEBUG   ( 2576):     bea1a40c  00000000  
I/DEBUG   ( 2576):     bea1a410  432ef668  /dev/ashmem/dalvik-LinearAlloc 
(deleted)
I/DEBUG   ( 2576):     bea1a414  48791d68  /dev/ashmem/mspace/dalvik-heap/2 
(deleted)
I/DEBUG   ( 2576):     bea1a418  81554030  /data/data/com.awesome/lib/libgdx.so
I/DEBUG   ( 2576):     bea1a41c  809a23f4  /system/lib/libdvm.so
I/DEBUG   ( 2576):     bea1a420  80983175  /system/lib/libdvm.so
I/DEBUG   ( 2576):     bea1a424  81554030  /data/data/com.awesome/lib/libgdx.so
I/DEBUG   ( 2576):     bea1a428  00000000  
I/DEBUG   ( 2576):     bea1a42c  8096897f  /system/lib/libdvm.so
I/BootReceiver( 2917): Copying /data/tombstones/tombstone_05 to DropBox 
(SYSTEM_TOMBSTONE)
I/DEBUG   ( 2576): dumpmesg > /data/log/dumpstate_app_native.log
I/ActivityManager( 2917): Process com.awesome (pid 4491) has died.

Original comment by brigam...@gmail.com on 11 Mar 2011 at 11:30

GoogleCodeExporter commented 9 years ago
Yeah, that's because you should not derive from World. It's a JNI wrapper, and 
the JNI wrapper can only be bound to a single specific class. In this case it's 
the com.badlogic.gdx.physics.box2d.World class. That's an inherent limitation 
that can't be fixed.

Why would you want to derrive from World?

Original comment by badlogicgames on 11 Mar 2011 at 11:59

GoogleCodeExporter commented 9 years ago
Ops. Thanks....
I am just tring to understand how libgdx work.

Why am i inherit from it?

Dunno ... just tring

extending World

and the JNI wrapper can only be bound to a single specific class. In this
case it's the com.badlogic.gdx.physics.box2d.World class. That's an inherent
limitation that can't be fixed.

Original comment by brigam...@gmail.com on 11 Mar 2011 at 12:07

GoogleCodeExporter commented 9 years ago
I fell into this pitfall too.  Extending World was fine on the desktop, but 
broke on android.  I felt it made sense to extend World because I was creating 
my game's world, which was intended to take the default physics behaviors of 
World and extend upon them...  Considering extending World breaks things and 
that this is unfixable, shouldn't it be declared as a final class?

Original comment by j.tur...@mhnltd.co.uk on 28 Jul 2011 at 6:07

GoogleCodeExporter commented 9 years ago
I'm also voting to declare com.badlogic.gdx.physics.box2d.World with "final" 
modifier. (If it is possible to make it so for JNI wrappers...)

Original comment by robert.komorovsky on 29 Jul 2011 at 1:53

GoogleCodeExporter commented 9 years ago
It's been final for quite some time now :)

Original comment by badlogicgames on 29 Jul 2011 at 4:03

GoogleCodeExporter commented 9 years ago
The same problem. After i`m using proguard, the game not lunching on Android. 
There is no problem on Desktop and was no problem before proguard. Please, 
help, how can i setup proguard config to resolve this problem?

Thank,
Dmitry.

Original comment by markita...@gmail.com on 21 Jan 2013 at 10:25

GoogleCodeExporter commented 9 years ago
You must have an entirely different problem, as you can't derrive from World. 
Please post on the forums, with the output from Android.

Original comment by badlogicgames on 21 Jan 2013 at 10:31

GoogleCodeExporter commented 9 years ago
Hello,

Thanks, i will post on a forum with output at a new issue.

Original comment by markita...@gmail.com on 22 Jan 2013 at 3:11