title: Kivy returning black screen on wi
body: <p>I have been developing a mobile app in Kivy. However, I deleted something in the .py file (cant remember what) and now I cannot get anything other than a black screen when I run the program. I made the .py and .kv files as simple as possible to reduce points of failures and it still doesnt work.</p>
  <p>Here is the .py file:</p>
  <pre><code>from kivy.app import App
  from kivy.lang import Builder
  from kivy.uix.screenmanager import ScreenManager, Screen
  from kivy.core.text import LabelBase
  from kivy.properties import ObjectProperty
  from kivy.uix.boxlayout import BoxLayout
  from kivy.clock import Clock
  from time import strftime
  from kivy.uix.widget import Widget
  from kivy.uix.gridlayout import GridLayout
  from kivy import Config
  Config.set('graphics', 'multisamples', '0')
  
  
  
  
  class Anasayfa(Widget):
      pass
  
  
  kv = Builder.load_file(r&quot;C:\Users\Casper\Desktop\my.kv&quot;)
  class myApp(App):
      def Build(self):
      
          return (kv)
     
  if __name__ == &quot;__main__&quot;:
      
      myApp().run()
  </code></pre>
  <p>There are some unnecessary stuff on import section, they are from the development of the actual app.</p>
  <p>Here is the .kv  file:</p>
  <pre><code>&lt;Anasayfa&gt;
      GridLayout:
          cols:1      
          Label:
              text:&quot;Coming soon&quot;
              color: 1,1,1,1
  </code></pre>
  <p>Thats all, I made both files dead simple and they still dont work. There are no error messages, just a black screen and a mouse cursor. The black screen is in full screen as well, but widgets didnt cover the screen when things did work(think of it like viewing a phone screen on a laptop screen).
  Here is the event log:</p>
  <pre><code>[INFO   ] [Logger      ] Record log in C:\Users\Casper\.kivy\logs\kivy_20-08-26_13.txt
  [INFO   ] [Kivy        ] v1.11.1
  [INFO   ] [Kivy        ] Installed at &quot;C:\Users\Casper\anaconda3\envs\CasperEnv\lib\site-packages\kivy\__init__.py&quot;
  [INFO   ] [Python      ] v3.7.7 (default, May  6 2020, 11:45:54) [MSC v.1916 64 bit (AMD64)]
  [INFO   ] [Python      ] Interpreter at &quot;C:\Users\Casper\anaconda3\envs\CasperEnv\python.exe&quot;
  [INFO   ] [Factory     ] 184 symbols loaded
  [INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
  [INFO   ] [Text        ] Provider: sdl2
  [INFO   ] [Window      ] Provider: sdl2
  [INFO   ] [GL          ] Using the &quot;OpenGL&quot; graphics system
  [INFO   ] [GL          ] GLEW initialization succeeded
  [INFO   ] [GL          ] Backend used &lt;glew&gt;
  [INFO   ] [GL          ] OpenGL version &lt;b'4.5.0 - Build 25.20.100.6373'&gt;
  [INFO   ] [GL          ] OpenGL vendor &lt;b'Intel'&gt;
  [INFO   ] [GL          ] OpenGL renderer &lt;b'Intel(R) HD Graphics 520'&gt;
  [INFO   ] [GL          ] OpenGL parsed version: 4, 5
  [INFO   ] [GL          ] Shading version &lt;b'4.50 - Build 25.20.100.6373'&gt;
  [INFO   ] [GL          ] Texture max size &lt;16384&gt;
  [INFO   ] [GL          ] Texture max units &lt;32&gt;
  [INFO   ] [Window      ] auto add sdl2 input provider
  [INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
  [INFO   ] [Base        ] Start application main loop
  [INFO   ] [GL          ] NPOT texture support is available
  [INFO   ] [Base        ] Leaving application in progress...
  [INFO   ] [WindowSDL   ] exiting mainloop and closing.
  </code></pre>
  <p>I would be grateful if someone can tell me what is wrong, because I have no idea what is wrong here. Thank you.</p>