Home

Awesome

marco

marco — Manifest & resources compiler for .apk files

NOTE: marco currently can handle only the simplest AndroidManifest.xml files. If you need anything more, just extend it — and please feel encouraged to contribute the improvements back upstream!

Usage

$ git clone https://github.com/akavel/marco
$ cd marco
$ nimble build

$ cat src/AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.helloworld">
    <application android:label="HelloWorld">
        <activity android:name="HelloActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
</manifest>
$ ./marco < src/AndroidManifest.xml > apk/AndroidManifest.xml

References