I wanted to create my first data field for the Garmin Edge 1040.
I'm having trouble compiling the project.
Problem validating the manifest file: cvc-elt.1.a: Cannot find the declaration of element 'iq:manifest'.
* The terminal process terminated with exit code: 102.
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<iq:application id="5a941133-1797-49b3-9a67-7e4fe617cf02" type="datafield" name="@Strings.AppName" launcherIcon="@Drawables.LauncherIcon" minSdkVersion="3.2.0" entry="MyDataFieldApp">
<iq:products>
<!-- Kompatybilne komputery rowerowe z serii Edge -->
<iq:product id="edge1040"/>
</iq:products>
<iq:permissions/>
<iq:languages/>
<iq:barrels/>
</iq:application>
</iq:manifest>
MyDataFieldApp.mc:
using Toybox.Application;
using Toybox.WatchUi;
class MyDataFieldApp extends Application.AppBase {
function initialize() {
AppBase.initialize();
}
function onStart(state) {
}
function onStop(state) {
}
function getInitialView() {
return [ new MyDataField() ];
}
}
