hylander0 / Iteedee.ApkReader

.NET library written in C# for reading/parsing APK manifest (AndroidManifest.xml) and resource data (Resources.arsc)
97 stars 42 forks source link

Error "Wrong Local header signature: 0x3F8" come while apk reading #15

Open vesvikardipesh opened 6 years ago

vesvikardipesh commented 6 years ago

I am using "Youtube" apk and when this apk reading using this code it will give exception "Wrong Local header signature: 0x3F8" at line "while((item = zip.GetNextEntry()) != null)". Some apk's are read properly but some apk's are giving these type of exceptions.

Can you please help me for this issue.

niyouwoxi commented 5 years ago

i have the same issue

vassav commented 5 years ago

Problem in ZipInputStream. May be incorrect apk file (zip archive). You can try exit from loop after parse "androidmanifest.xml" and "resources.arsc" content. see #19

hylander0 commented 5 years ago

I have accepted the pull request. Please confirm this address the problem.