Could you send me a test case for reproducing this issue? Thanks.
I am just zipping the folder for my extra games & then putting it in Internal storage /Android/obb/com.test.games/ main.1.com.test.game.obb in the zip i am including sounds & texture in First time testing.
Second time testing i removed the sound & let it go with the apk & inside the obb i just kept the textures.
But in both the cases sound didnt work. When i go to the folder & rename the obb file then sound starts woking for the main scene & all the sounds inside apk & apk is not changed or recompiled.
I have also changed the Android & external.zip folder
Hi, I have updated the cmake to build the vorbis and pvmp3 decoder:
vorbis (put it in the same folder as the android.mk file: external/android-specific/pvmp3dec | tremolo)
NOTE: for the pvmp3, there are some options in the android.mk file that I don’t know how to translate in CMake language, if anybody could help:
LOCAL_CFLAGS += -Werror LOCAL_CLANG := true LOCAL_SANITIZE := signed-integer-overflow ... LOCAL_ARM_MODE := arm
And if you want to add them to the cocos build, just change the cocos/CMakeLists.txt from
target_link_libraries(cocos2d cocos2dInternal cpufeatures)
target_link_libraries(cocos2d cocos2dInternal cpufeatures pvmp3dec vorbisidec)
and add (
if(ANDROID) include_directories(../external/android-specific/pvmp3dec/src) include_directories(../external/android-specific/pvmp3dec/include) include_directories(../external/android-specific/tremolo) include_directories(../external/android-specific/tremolo/Tremolo) endif(ANDROID)
after those line:
#todo: provide prebuild versions of the xx libs for all platforms include_directories(../external/xxtea) include_directories(../external/clipper)
it should build the library and put them in (tremolo | pvmp3dec)/library/lib
Hi, I have a crash in the engine: