Title here
Summary here
Add an android profile in your app.config.json
file:
"base-android": {
"base": {
"name": "android",
"vendors": [
"@dana/engine-android",
"@dana/renderer-android"
]
},
"device": {
"platform": "android",
"type": "androidtv"
}
},
// For debug
"android-dev": {
"mixins": ["base-android"],
"device": {
"debugMode": true
}
},
// For release
"android-release": {
"mixins": ["base-android"],
"device": {
"debugMode": false
}
}
When launching the application with grunt serve --profile=android-dev
for the first time, some files will be created. You will mainly see:
template/android.js.tpl
which is basically the index.js of the application,app_android
containing native code, which is the wrapper for the application,Caution
You must commit those files.