createBitmap — java.lang.IllegalArgumentException: x must be < bitmap.width()

前端 未结 4 1830
天涯浪人
天涯浪人 2020-12-09 11:50

I am getting error while taking screenshot and create bitmap with cropping picture

below is my code

    View v1 = mKittyBGLayer.getRootView();
    v1         


        
4条回答
  •  心在旅途
    2020-12-09 12:41

    If you are getting java.lang.IllegalArgumentException: x must be < bitmap.width()

    This is system crash on version 6.0.1 on Samsungs. At this moment I couldn't find cause.

提交回复
热议问题