Code Monkey home page Code Monkey logo

xml2axml's Introduction

参考的原项目地址:https://github.com/hzw1199/xml2axml
当AndroidManifest.xml中要进行UTF-8编码的修改的时候,原项目会出现乱码、加解密异常,本项目主要是为了解决这个问题

xml2axml

xml2axml.jar

支持二进制类型的AXML和文本类型的AXML进行相互转换(xml2axml.jar)

  • 【encode】把文本类型的AndroidManifest.xml转化为二进制类型的AndroidManifest.xml
java -jar xml2axml e [AndroidManifest-readable-in.xml] [AndroidManifest-bin-out.xml]
  • 【decode】把二进制类型的AndroidManifest.xml转化为文本类型的AndroidManifest.xml
java -jar xml2axml d [AndroidManifest-bin-in.xml] [AndroidManifest-readable-out.xml]

注意事项

如果明文AndroidManifest.xml转二进制AndroidManifest.xml之后 重新打包签名失败,可以先解密,修改axml内容,再加密,解密,再加密;再重新打包签名

xml2axml's People

Contributors

afinalstone avatar

Stargazers

 avatar  avatar  avatar  avatar EricZhao avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

o2e chenxinxue521

xml2axml's Issues

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.