app stops

A project to port LÖVE to Android handhelds
Locked
User avatar
undef
Party member
Posts: 438
Joined: Mon Jun 10, 2013 3:09 pm
Location: Berlin
Contact:

app stops

Post by undef »

The app I built crashes when I try to run it.
This is the logcat output:

Code: Select all

I/ActivityManager( 2215): Start proc com.undef.quadrant for activity com.undef.quadrant/.QuadrantActivity: pid=29815 uid=10109 gids={50109, 3003, 1028, 1015}

D/PhoneApp(11827): mReceiver: ACTION_ANY_DATA_CONNECTION_STATE_CHANGED

D/PhoneApp(11827): - state: CONNECTED

D/PhoneApp(11827): - reason: null

D/NotificationMgr(11827): hideDataDisconnectedRoaming()...

D/dalvikvm(29815): Late-enabling CheckJNI

D/ConnectivityService( 2215): Setting TCP values: [0] which comes from [net.tcp.usercfg.default]

E/ConnectivityService( 2215): Can't set delayed ACK size:java.io.FileNotFoundException: /sys/kernel/ipv4/tcp_use_userconfig: open failed: ENOENT (No such file or directory)

D/ConnectivityService( 2215): Setting TCP values: [1] which comes from [net.tcp.delack.default]

E/ConnectivityService( 2215): Can't set delayed ACK size:java.io.FileNotFoundException: /sys/kernel/ipv4/tcp_delack_seg: open failed: ENOENT (No such file or directory)

D/ActivityThread(29811): handleBindApplication:com.android.deskclock

D/ActivityThread(29811): setTargetHeapUtilization:0.25

D/ActivityThread(29811): setTargetHeapMinFree:524288

I/ActivityManager( 2215): Config changes=480 {1.0 262mcc3mnc en_AU ldltr sw320dp w533dp h294dp 240dpi nrml long land finger -keyb/v/h -nav/h s.73 themeResource=null}

I/InputReader( 2215): Reconfiguring input devices.  changes=0x00000004

I/InputReader( 2215): Device reconfigured: id=6, name='sec_touchscreen', size 480x800, orientation 1, mode 1, display id 0

I/InputReader( 2215): Reconfiguring input devices.  changes=0x00000004

D/PhoneStatusBar( 2338): mSettingsPanelGravity = 55

D/GeckoApplication(29611): onConfigurationChanged: en_AU, background: false

D/ActivityThread(29815): handleBindApplication:com.undef.quadrant

D/ActivityThread(29815): setTargetHeapUtilization:0.25

D/ActivityThread(29815): setTargetHeapMinFree:524288

W/dalvikvm(29815): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lorg/libsdl/app/SDLActivity;

W/dalvikvm(29815): Class init failed in newInstance call (Lcom/undef/quadrant/QuadrantActivity;)

D/AndroidRuntime(29815): Shutting down VM

W/dalvikvm(29815): threadid=1: thread exiting with uncaught exception (group=0x41909ce0)

D/GeckoSharedPrefs(29611): Current version = 1, prefs version = 1

E/AndroidRuntime(29815): FATAL EXCEPTION: main

E/AndroidRuntime(29815): Process: com.undef.quadrant, PID: 29815

E/AndroidRuntime(29815): java.lang.UnsatisfiedLinkError: Couldn't load gnustl_shared from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.undef.quadrant-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.undef.quadrant-1, /vendor/lib, /system/lib]]]: findLibrary returned null

E/AndroidRuntime(29815): 	at java.lang.Runtime.loadLibrary(Runtime.java:358)

E/AndroidRuntime(29815): 	at java.lang.System.loadLibrary(System.java:526)

E/AndroidRuntime(29815): 	at org.libsdl.app.SDLActivity.<clinit>(SDLActivity.java:63)

E/AndroidRuntime(29815): 	at java.lang.Class.newInstanceImpl(Native Method)

E/AndroidRuntime(29815): 	at java.lang.Class.newInstance(Class.java:1208)

E/AndroidRuntime(29815): 	at android.app.Instrumentation.newActivity(Instrumentation.java:1061)

E/AndroidRuntime(29815): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2122)

E/AndroidRuntime(29815): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2271)

E/AndroidRuntime(29815): 	at android.app.ActivityThread.access$800(ActivityThread.java:144)

E/AndroidRuntime(29815): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1205)

E/AndroidRuntime(29815): 	at android.os.Handler.dispatchMessage(Handler.java:102)

E/AndroidRuntime(29815): 	at android.os.Looper.loop(Looper.java:136)

E/AndroidRuntime(29815): 	at android.app.ActivityThread.main(ActivityThread.java:5146)

E/AndroidRuntime(29815): 	at java.lang.reflect.Method.invokeNative(Native Method)

E/AndroidRuntime(29815): 	at java.lang.reflect.Method.invoke(Method.java:515)

E/AndroidRuntime(29815): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)

E/AndroidRuntime(29815): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)

E/AndroidRuntime(29815): 	at dalvik.system.NativeStart.main(Native Method)

D/GeckoLocales(29611): No selected locale. No correction needed.

W/ActivityManager( 2215):   Force finishing activity com.undef.quadrant/.QuadrantActivity
No Idea what to do about this...
Does anyone know this problem?
Help is highly appreciated!

Edit:

The game works if I start it with the löve app, it just doesn't work if I build an apk.
twitter | steam | indieDB

Check out quadrant on Steam!
User avatar
undef
Party member
Posts: 438
Joined: Mon Jun 10, 2013 3:09 pm
Location: Berlin
Contact:

Re: app stops

Post by undef »

Tried it again on another device, the problem still persists.
It's strange that it works unfused, but not if you install the apk.

I'm using the latest love for android version.
twitter | steam | indieDB

Check out quadrant on Steam!
Locked

Who is online

Users browsing this forum: Google Adsense [Bot] and 3 guests