Rockbox Development > New Ports

Rockbox as an Application (Android, WebOS etc.)

<< < (78/88) > >>

p.h.:

--- Quote from: ploco on September 07, 2015, 08:19:42 PM ---as soon as it step into wps, crash! with no meaningfull adb logs.
my log shows somthing about was updateing framebuffer then stackoverflow.

--- End quote ---

Have you tried to use old-fashioned printf() to output debug messages at critical points?

wodz:
The current theory is that due to stricter policy in ART, JNI calls can be made from the rockbox main thread only.

p.h.:
An app of hello world type, with single JNI call from outside main thread, should give an answer whether or not the theory is true.

wodz:
Feel free to test.

p.h.:
Unfortunately I'm not Android programmer. I'm merely build RaaA.

But I have found something that could help in finding the cause. It is possible to get more detailed debug logs, after enabling CheckJNI.
http://android-developers.blogspot.com/2011/07/debugging-android-jni-with-checkjni.html

There's a website, which give some tips on how to verify an app is ART ready:
http://developer.android.com/guide/practices/verifying-apps-art.html

Hope this helps.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version