flutter_applovin_max icon indicating copy to clipboard operation
flutter_applovin_max copied to clipboard

Banner ad causes crashing on Android

Open gkovac42 opened this issue 2 years ago • 1 comments

I'm using default banner ad implementation of this plugin and have been getting a lot of these in my play console ANR crash menu (flutter version 3.0.2, plugin version 2.1.1):

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
signal 6 (SIGABRT), code -1 (SI_QUEUE)

pid: 0, tid: 0 >>> com.domain.name <<<

backtrace:
  #00  pc 000000000004de8c  /apex/com.android.runtime/lib64/bionic/libc.so (abort+164)
  #00  pc 000000000055ea14  /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+2308)
  #00  pc 0000000000013978  /system/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+76)
  #00  pc 0000000000006e18  /system/lib64/liblog.so (__android_log_assert+336)
  #00  pc 0000000000215014  /system/lib64/libhwui.so (android::uirenderer::skiapipeline::SkiaOpenGLPipeline::getFrame()+52)
  #00  pc 000000000021df14  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::draw()+188)
  #00  pc 000000000022059c  /system/lib64/libhwui.so (_ZNSt3__110__function6__funcIZN7android10uirenderer12renderthread13DrawFrameTask11postAndWaitEvE3$_0NS_9allocatorIS6_EEFvvEEclEv$c303f2d2360db58ed70a2d0ac7ed911b+480)
  #00  pc 000000000020ed94  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+220)
  #00  pc 0000000000230024  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+88)
  #00  pc 00000000000154d0  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+260)
  #00  pc 0000000000014d94  /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412)
  #00  pc 00000000000af868  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
  #00  pc 000000000004fe48  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

I should say these crashes only occur on Android 11, anyone has any ideas what's causing it?

gkovac42 avatar Jun 14 '22 09:06 gkovac42

Hey there - AppLovin just released an official plugin. Please feel free to check it out here: (docs, repo).

Thank you @ioridev for developing this stop-gap solution, we really appreciate it.

thomasmso avatar Jun 22 '22 00:06 thomasmso