OutOfMemoryError while decoding and encoding Base64 String into Bitmap

前端 未结 7 1994
你的背包
你的背包 2020-12-14 14:49

I\'m trying to decode and encode a Bitmap image. On some devices it runs perfectly while on others it\'s not. I\'m uploading Bas

7条回答
  •  既然无缘
    2020-12-14 15:22

    Just increase the heap size of your application in manifest file.

    android:largeHeap="true"
    
    eg:
    
    

提交回复
热议问题