title: My app keeps stopping / crashing in emulator (after OS reinstall)
body: <p>I am doing some Android courses and part of my assignments I have to build a mock-up music player app. The app doesn't have to have any functionality so it's mostly xml code.
  While I try to run it in the emulator, the app keeps crashing with messages like: "Vibes has stopped" or "Vibes keeps stoping".</p>
  
  <p>What might be important to add is that I recently reinstalled the os on my Mac (did a full wipe). I am now running macOS High Sierra. I had some compatibility problems with HAXM, but it was solved with the latest update from Intel on the HAXM component.
  Java is installed, so I am not sure if there is anything else I am missing here.</p>
  
  <p>I have also tried importing older projects, which worked before, and have the same issue. So based on this, I doubt that the code is the problem here.</p>
  
  <p>Any advice is more than welcome! :-)</p>
  
  <p>Here is manifest file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.example.alexcojocaru.vibes"&gt;
  
  &lt;application
      android:allowBackup="true"
      android:icon="@mipmap/ic_launcher"
      android:label="@string/app_name"
      android:roundIcon="@mipmap/ic_launcher_round"
      android:supportsRtl="true"
      android:theme="@style/AppTheme"&gt;
      &lt;activity android:name=".MainActivity"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
  
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
      &lt;activity android:name=".Library"
          android:label="Music Library"/&gt;
      &lt;activity android:name=".Discover"
          android:label="Discover Music"&gt;&lt;/activity&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p></p>
  
  <p>And here is the correct log:</p>
  
  <blockquote>
    <p>11-15 14:45:13.248 10725-10725/com.example.alexcojocaru.vibes E/AndroidRuntime: FATAL EXCEPTION: main
                                                                                    Process: com.example.alexcojocaru.vibes, PID: 10725
                                                                                    java.lang.RuntimeException: Canvas: trying to draw too large(144000000bytes) bitmap.
                                                                                        at android.view.DisplayListCanvas.throwIfCannotDraw(DisplayListCanvas.java:229)
                                                                                        at android.view.RecordingCanvas.drawBitmap(RecordingCanvas.java:97)
                                                                                        at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:529)
                                                                                        at android.view.View.getDrawableRenderNode(View.java:19381)
                                                                                        at android.view.View.drawBackground(View.java:19317)
                                                                                        at android.view.View.draw(View.java:19114)
                                                                                        at android.view.View.updateDisplayListIfDirty(View.java:18073)
                                                                                        at android.view.View.draw(View.java:18851)
                                                                                        at android.view.ViewGroup.drawChild(ViewGroup.java:4214)
                                                                                        at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4000)
                                                                                        at android.view.View.updateDisplayListIfDirty(View.java:18064)
                                                                                        at android.view.View.draw(View.java:18851)
                                                                                        at android.view.ViewGroup.drawChild(ViewGroup.java:4214)
                                                                                        at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4000)
                                                                                        at android.view.View.updateDisplayListIfDirty(View.java:18064)
                                                                                        at android.view.View.draw(View.java:18851)
                                                                                        at android.view.ViewGroup.drawChild(ViewGroup.java:4214)
                                                                                        at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4000)
                                                                                        at android.view.View.updateDisplayListIfDirty(View.java:18064)
                                                                                        at android.view.View.draw(View.java:18851)
                                                                                        at android.view.ViewGroup.drawChild(ViewGroup.java:4214)
                                                                                        at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4000)
                                                                                        at android.view.View.updateDisplayListIfDirty(View.java:18064)
                                                                                        at android.view.View.draw(View.java:18851)
                                                                                        at android.view.ViewGroup.drawChild(ViewGroup.java:4214)
                                                                                        at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4000)
                                                                                        at android.view.View.updateDisplayListIfDirty(View.java:18064)
                                                                                        at android.view.View.draw(View.java:18851)
                                                                                        at android.view.ViewGroup.drawChild(ViewGroup.java:4214)
                                                                                        at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4000)
                                                                                        at android.view.View.updateDisplayListIfDirty(View.java:18064)
                                                                                        at android.view.View.draw(View.java:18851)
                                                                                        at android.view.ViewGroup.drawChild(ViewGroup.java:4214)
                                                                                        at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4000)
                                                                                        at android.view.View.updateDisplayListIfDirty(View.java:18064)
                                                                                        at android.view.View.draw(View.java:18851)
                                                                                        at android.view.ViewGroup.drawChild(ViewGroup.java:4214)
                                                                                        at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4000)
                                                                                        at android.view.View.draw(View.java:19126)
                                                                                        at com.android.internal.policy.DecorView.draw(DecorView.java:785)
                                                                                        at android.view.View.updateDisplayListIfDirty(View.java:18073)
                                                                                        at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:643)
                                                                                        at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:649)
                                                                                        at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:757)
                                                                                        at android.view.ViewRootImpl.draw(ViewRootImpl.java:2980)
                                                                                        at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2794)
                                                                                        at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2347)
                                                                                        at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1386)
                                                                                        at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6733)
                                                                                        at android.view.Choreographer$CallbackRecord.run(Choreographer.java:911)
                                                                                        at android.view.Choreographer.doCallbacks(Choreographer.java:723)
                                                                                        at android.view.Choreographer.doFrame(Choreographer.java:658)
                                                                                        at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:897)
                                                                                        at android.os.Handler.handleCallback(Handler.java:789)
                                                                                        at android.os.Handler.dispatchMessage(Handler.java:98)
                                                                                        at android.os.Looper.loop(Looper.java:164)
                                                                                        at android.app.ActivityThread.main(ActivityThread.java:6541)
                                                                                        at java.lang.reflect.Method.invoke(Native Method)
                                                                                        at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
                                                                                        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)</p>
  </blockquote>