0

MonkeyC でドローアブルを作成して実験しようとしているので、独自の WatchFace を作成できます。ただし、次のエラーが発生し続けるため、リソース コンパイラが機能していないようです。

BUILD: ERROR: D:\MonkeyC\O-face\source\OfaceView.mc:70:  extraneous input '<' expecting {<EOF>, 'using', '(', 'native', 'static', 'hidden', 'var', 'const', 'class', 'function', 'module', 'enum'}

これは私の関連するコードです:

<resources>
    <drawable-list id="Post" x ="30" y ="30" width = "40" height = "40" background="Gfx.COLOR_BLACK">
        <shape type="Polygon" x="37" y="3" points = "3" width = "34" height = "34" color="Gfx.COLOR_ORANGE" />
        <shape type="Polygon" x="3" y="3" points = "3" width = "34" height = "34" color="Gfx.COLOR_WHITE" />
    </drawable-list>
</resources>
4

1 に答える 1