Spotify Tutorial example app is blank

徘徊边缘 提交于 2019-12-10 22:31:34

问题


I'm having trouble getting the tutorial project working. I've placed it under homedir/Spotify/Tutorial

In side spotify i enter spotify:app:Tutorial and it asks me if i want to add it to the side bar, which i do. When choosing it its a blank page. Opening up the inspector i see this:

<html>
  <head></head>
  <body></body>
</html>

Any clues whats wrong? I'm running spotify version 0.8.0.952.g.0298b8ce and i have a developer account.

Thanks in advance /Eric


回答1:


When I take a working app and rename it with a capital letter I get the same behaviour you are describing, try renaming your directory from Tutorial to tutorial then load the app with spotify:app:tutorial




回答2:


if you look at index.html in the body tag there is a variable call 'tutorial' I believe it calls for that when you ask for spotify:app:tutorial since there is no 'Tutorial' variable it returns nothing.



来源:https://stackoverflow.com/questions/8719182/spotify-tutorial-example-app-is-blank

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!