- Create a “templates” folder (or similar)
- Add
<template path="to/your/templates/folder" />
to your project.xml (with the absolute or relative path to your new folder) - Mirror the Lime template directory structure up to and including the file/directory you would like to override
- (In this case) You should duplicate the following file into your own “templates/android/MainActivity.java” file:
https://github.com/haxelime/lime/blob/develop/templates/android/MainActivity.javahttps://github.com/haxelime/lime/blob/develop/templates/android/MainActivity.java
3 Likes