Skip to content

Instantly share code, notes, and snippets.

@artyklololo
Forked from zhuowei/addon_compat_version.md
Last active August 29, 2015 14:22
Show Gist options
  • Save artyklololo/3de2dff4af3e0d19d2ce to your computer and use it in GitHub Desktop.
Save artyklololo/3de2dff4af3e0d19d2ce to your computer and use it in GitHub Desktop.

You need to add

        <meta-data android:name="net.zhuoweizhang.mcpelauncher.api.targetmcpeversion" android:value="(the MCPE version you tested this addon with)"/>

to your addon's AndroidManifest.xml: for example,

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="net.zhuoweizhang.mcpelauncher.addon.bow"
      android:versionCode="1"
      android:versionName="1.0">
    <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="17"/>
    <application android:label="@string/app_name" android:hasCode="false">
        <meta-data android:name="net.zhuoweizhang.mcpelauncher.api.nativelibname" android:value="zhuoweibow"/>
        <meta-data android:name="net.zhuoweizhang.mcpelauncher.api.targetmcpeversion" android:value="0.11.0"/>
    </application>
</manifest> 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment