嗨,我剛剛開始Roku開發。我下載了sdk並試圖運行一個hello world應用程序。我有一個源文件夾和一個清單文件。但我仍然不斷收到以下錯誤:錯誤:安裝失敗:沒有清單。無效的包。安裝失敗:沒有清單
Error: Install Failure: No manifest. Invalid package.Install Failure: No manifest.
這裏是世界您好代碼:
sub Main()
' create our screen
screen = CreateObject("roPosterScreen")
' setup a message port so we can receive event information
port = CreateObject("roMessagePort")
screen.SetMessagePort(port)
' change the screen's message text
screen.ShowMessage("Hello World!")
screen.Show()
' start our event loop
while true
msg = Wait(0, port) ' wait for an event
if type(msg) = "roPosterScreenEvent"
' we got a poster screen event
if msg.isScreenClosed()
' the user closed the screen
exit while
end if
end if
end while
screen.Close()
' any time all screens in a channel are closed, the channel will exit
end sub
當我上傳它工作正常,但在SDK中附帶的例子,當我嘗試用上面的代碼替換示例應用程序的Main函數的代碼,我得到上面指定的錯誤。
我一直在關注這個網絡,但沒有多大幫助。任何建議將非常感激。
您是否使用BrightScript插件來部署Eclipse? – Roberto14