Git Product home page Git Product logo

Comments (4)

strazzere avatar strazzere commented on July 17, 2024

This is definitely odd. I've just upgraded the gradle wrapper (which really shouldn't change anything, however it was old and needed for my machine) - can you try rebuilding and running it again? I've just done a fresh build and it worked fine for me on all manifests I've tried (approximately 10).

Can you post the files you're running it again? These tags are not always needed so while this 100% could be a bug, it could be a file which simply has this as an output.

[98%]diff@bebop:[~/repo/axmlprinter/instagram-test] $ shasum instagram-29-0-0-0-18.apk 
8d08d46ef8ed620224efd30a5093771e426dc1d2  instagram-29-0-0-0-18.apk
[98%]diff@bebop:[~/repo/axmlprinter/instagram-test] $ java -jar ../build/libs/axmlprinter-0.1.7.jar contents/AndroidManifest.xml 
<?xml version="1.0" encoding="utf-8"?>
<manifest
	xmlns:amazon="http://schemas.amazon.com/apk/res/android"
	xmlns:android="http://schemas.android.com/apk/res/android"
	manifest:versionCode="87084037"
	manifest:versionName="29.0.0.0.18"
	manifest:installLocation="0"
	package="com.instagram.android"
	>
	<uses-sdk
		manifest:minSdkVersion="16"
		manifest:targetSdkVersion="23"
		>
	</uses-sdk>
	<uses-permission
		manifest:name="android.permission.INTERNET"
		>
	</uses-permission>
	<uses-permission
		manifest:name="android.permission.ACCESS_NETWORK_STATE"
		>
	</uses-permission>
	<uses-permission
		manifest:name="android.permission.WAKE_LOCK"
		>
	</uses-permission>
	<uses-permission
		manifest:name="android.permission.GET_ACCOUNTS"
		>
	</uses-permission>
	<uses-permission
		manifest:name="android.permission.USE_CREDENTIALS"
		>
	</uses-permission>

from axmlprinter.

jeremyblalock avatar jeremyblalock commented on July 17, 2024

@strazzere The AndroidManifest.xml seems to work fine for me as well. However the layout files are where the problem is occurring. An example of a file with an error is res/layout/zoom_media.xml (uploaded below).

zoom_media.xml.zip

from axmlprinter.

jeremyblalock avatar jeremyblalock commented on July 17, 2024

Also tried with Kik (kik.android.apk) with similar results.

from axmlprinter.

strazzere avatar strazzere commented on July 17, 2024

Ah yes, to parse these there will likely need to be more work done. Currently the AXMLprinter only targets the AndroidManifest. The other ASRC (?) compiled resources are of a very similar format, though I haven't actually needed to parse them myself so I didn't fully implement it in this project.

from axmlprinter.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.