Context over onCreate : <p>I get :</p>

<pre><code>android.content.Context.getResources()' on a null object reference
</code></pre>

<p>Android Studio is pointing to </p>

<pre><code>Toast toast = Toast.makeText(MainActivity.this, "as", Toast.LENGTH_LONG);
</code></pre>

<p>This toast is over <code>onCreate</code> method and below </p>

<pre><code>public class MainActivity extends AppCompatActivity
</code></pre>

<p>I think it is a problem with context, but i cant debug where is null, app crash instant before breakpoint on this toast.<br>
I tried use <code>this</code> instead <code>MainActivity.this</code> or <code>getAppicationContext()</code>
and i get this same result :/</p>
