apparently there seems to be some kind of problem with RWops on Android 4.4 with ART (not Dalvik), when my application try to read a file inside assets directory it throws an error:
The application works fine as soon as I switch to Dalvik.
Also it is worth mentioning that along with updated NDK there seems to be a warning regarding visibility of a symbol:
/android-ndk-r8d/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/…/lib/gcc/arm-linux-androideabi/4.6/…/…/
…/…/arm-linux-androideabi/bin/ld.exe: warning: hidden symbol ‘__cxa_begin_cleanup’ in ./obj/local/armeabi-v7a/libgnust
l_static.a(eh_arm.o) is referenced by DSO ./obj/local/armeabi-v7a/libSDL2.so
/android-ndk-r8d/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/…/lib/gcc/arm-linux-androideabi/4.6/…/…/
…/…/arm-linux-androideabi/bin/ld.exe: warning: hidden symbol ‘__cxa_type_match’ in ./obj/local/armeabi-v7a/libgnustl_s
tatic.a(eh_arm.o) is referenced by DSO ./obj/local/armeabi-v7a/libSDL2.so
It seems the new VM does not like allocating a buffer of size zero. This
one in particular should be an easy fix, but I wouldn’t chase after these
bugs until they stabilize ART.
2013/11/26 .3lite > Hello folks,
apparently there seems to be some kind of problem with RWops on Android
4.4 with ART (not Dalvik), when my application try to read a file inside
assets directory it throws an error:
The application works fine as soon as I switch to Dalvik.
Also it is worth mentioning that along with updated NDK there seems to be
a warning regarding visibility of a symbol:
/android-ndk-r8d/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/…/lib/gcc/arm-linux-androideabi/4.6/…/…/
…/…/arm-linux-androideabi/bin/ld.exe: warning: hidden symbol
’__cxa_begin_cleanup’ in ./obj/local/armeabi-v7a/libgnust
l_static.a(eh_arm.o) is referenced by DSO
./obj/local/armeabi-v7a/libSDL2.so
/android-ndk-r8d/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/…/lib/gcc/arm-linux-androideabi/4.6/…/…/
…/…/arm-linux-androideabi/bin/ld.exe: warning: hidden symbol
’__cxa_type_match’ in ./obj/local/armeabi-v7a/libgnustl_s
tatic.a(eh_arm.o) is referenced by DSO ./obj/local/armeabi-v7a/libSDL2.so