I use libzip
to read APK content in native code.
assets/sounds/voice
folder "disappeared" for libzip functions only.
libzip
still see other files.- I still can see it in
assets/sounds/voice
in project folder. - I did
clean
many times. - I still can unzip
APK
file frombin
folder and I see all required files. (including files fromassets/sounds/voice
folder)
I added small logging command and it does not print files from assets/sounds/voice
folder. All other files are present.
int inum = zip_get_num_files(apkzip);
for(int i = 0; i < inum; i++){
const char * name = zip_get_name(apkzip, i, 0);
__android_log_print(ANDROID_LOG_INFO,"FILEZIP", "zip: %s", name);
}
I have no idea what at what step it is wrong. Had eclipse compressed ZPK with new format that my libzip does not able to read? or what could be a reason.