-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android studio 3.0 apks #66
Comments
can you test since 4d23e0f ? |
Have the same problem after building with AndroidStudio 3.0. Tested out 4d23e0f and I'm getting
|
@achretien 4d23e0f fixed the issue for me
|
Hello. I face similar issues with latest version:
or
|
In my case all works well with the last versión. |
Tested again (with the 4d23e0f) and still getting error:
I ran this code: try{
$apk = new \ApkParser\Parser($apk_path);
} catch(Exception $e){
print_r($e);
}
$apk->getManifest()->getVersionName(); // <-- The error happens here |
Just wanted to share how I resolved this. The AndroidManifest.xml actually had a syntax error in it. The APK still would build and run on a device, but would break here when uploading because the XML syntax was bad. Hopefully this will help someone! |
the same happens to me, there was a lost [ on manifest. |
Hello I'm getting an error using apkParser since I have update to android studio 3.0 It seems that something has change in the apk compiler, maybe the encoding o something like that. The error is
ErrorException in XmlParser.php line 244:
Undefined offset: 4476
I looked the function and its trying to get a position greater of the array length
I tried with other versions of the same apk compiled with older android studio versions and it works
I make a test apk for you to test it
app-debug.apk.zip
Regards
The text was updated successfully, but these errors were encountered: