title: Android Canvas: drawing too large bitmap
body: <p>I'm running Ubuntu 16.04. And on Android Studio when I try to run my application in the emulator I get the following error:</p>
  
  <blockquote>
    <p>FATAL EXCEPTION: main
                      Process: <em>project name here</em>, PID: 2528
                      java.lang.RuntimeException: Canvas: trying to draw too large(216090000bytes) bitmap.
                          at android.view.DisplayListCanvas.throwIfCannotDraw(DisplayListCanvas.java:260)
                          at android.graphics.Canvas.drawBitmap(Canvas.java:1415)
                          at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:528)
                          at android.widget.ImageView.onDraw(ImageView.java:1316)
                          at android.view.View.draw(View.java:17185)
                          at android.view.View.updateDisplayListIfDirty(View.java:16167)
                          at android.view.View.draw(View.java:16951)
                          at android.view.ViewGroup.drawChild(ViewGroup.java:3727)
                          at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3513)
                          at android.view.View.updateDisplayListIfDirty(View.java:16162)
                          at android.view.View.draw(View.java:16951)
                          at android.view.ViewGroup.drawChild(ViewGroup.java:3727)
                          at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3513) at<br>
    etc...</p>
  </blockquote>
  
  <p>I did have to run through some hoops to get my emulator working however, needed to create a sym-link so I can run the emulator on AMD. Not sure if this is part of the problem. And for the life of me I cannot figure why it continues to do this. In my group there are others who emulate the project just fine on the same emulated phone and SDK.</p>