[Spirit FM] :
[MENTION=3575078]mikereidis[/MENTION]:

Thank you for this great app! Also thank you for opensourcing a free version and putting it to github. If I get it running, I'll surely donate for your work.

Speaking of getting it running: I built it from your github source. When starting Spirit2Free it throws a lot of nullpointers.

Maybe this has to do with my phone, maybe with the rom I use - but maybe you got an idea about that.

My setup is I9195 (Galaxy S4 Mini) and CM 11. The radio app that comes with CM11 works fine.

What happens when I start Spirit2Free: The app loads but the only button that works is the support button ;)

Here are some logcats:

No known package when getting value for resource number 0x7f020036
Token{41ad0718 ActivityRecord{41a6d800 u0 fm.a2d.sf/.gui_act t66}} failed creating starting window
android.content.res.Resources$NotFoundException: Resource ID #0x7f020036
at android.content.res.Resources.getValue(Resources.java:1195)
at android.content.res.Resources.getDrawable(Resources.java:729)
at android.content.res.Resources.getDrawable(Resources.java:711)
at com.android.internal.widget.ActionBarView.setIcon(ActionBarView.java:699)
at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:3422)
at com.android.internal.policy.impl.PhoneWindow.getDecorView(PhoneWindow.java:1731)
at com.android.internal.policy.impl.PhoneWindowManager.addStartingWindow(PhoneWindowManager.java:2196)
at com.android.server.wm.WindowManagerService$H.handleMessage(WindowManagerService.java:7345)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.os.HandlerThread.run(HandlerThread.java:61)

Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lfm/a2d/sf/svc_aud;
java.lang.UnsatisfiedLinkError: Couldn't load jut from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/fm.a2d.sf-1.apk"],nativeLibraryDirectories=[/data/app-lib/fm.a2d.sf-1, /vendor/lib, /system/lib]]]: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:358)
at java.lang.System.loadLibrary(System.java:526)
at fm.a2d.sf.svc_aud.<clinit>(svc_aud.java:790)
at fm.a2d.sf.svc_svc.onCreate(svc_svc.java:102)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2596)
at android.app.ActivityThread.access$1800(ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1287)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5146)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
at dalvik.system.NativeStart.main(Native Method)

This problem most likely has to do with the build problems i run into. If I build the app i see this:

work@workplace-T410s:~/Work/src/opt/software/spirit2_free$ ./build_spirit2_free
Updated project.properties
Updated local.properties
Updated file ./build.xml
Updated file ./proguard-project.txt
It seems that there are sub-projects. If you want to update them
please use the --subprojects parameter.
ndk-build start
[armeabi] Compile thumb : bt-hci <= bt-hci.c
jni/bt-hci.c:135:32: fatal error: ../../ul/jni/utils.c: No such file or directory
compilation terminated.
make: *** [obj/local/armeabi/objs/bt-hci/bt-hci.o] Error 1

real	0m0.284s
user	0m0.077s
sys	0m0.072s
mv: der Aufruf von stat für »libs/armeabi/s2d“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden
mv: der Aufruf von stat für »libs/armeabi/ssd“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden
[subant] No sub-builds to iterate on
[subant] No sub-builds to iterate on
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.

BUILD SUCCESSFUL
Total time: 8 seconds
jar signed.

I'd appreciate if you would have a look at this and give some help.

Regards.

Thomson