Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo Plugins Support › AdMobBanner causes crash on android

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #25252

    Taher

    Hello,

    I am using AdMobBanner for my android application as below:

     

    AdMobBanner {
    id: adMobBanner
    adUnitId: "<my id>"
    banner: AdMobBanner.Smart
    anchors.horizontalCenter: parent.horizontalCenter
    anchors.bottom: parent.bottom
    testDeviceIds: ["<my test device id>"]

     

     

     

     

    This code is added in main.qml and is loaded as soon as the application is up and running.

    After adding this plugin the app is crashing continuously with below logs:

     

    D DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl
    I Ads     : This request is sent from a test device.
    W Ads     : Invoke Firebase method getInstance error.
    W Ads     : The Google Mobile Ads SDK will not integrate with Firebase. Admob/Firebase integration requires the latest Firebase SDK jar, but Firebase SDK is either missing or out of date
    W ConnectionStatusConfig: Dynamic lookup for intent failed for action: com.google.android.gms.ads.service.CACHE
    E plocker.Fortify: Attempt to load writable dex file: /data/user/0/com.lkdw.application.applocker.Fortify/app_pccache/5/B99FB59820EA3FB27F66CABF9E4B3D20D2D6116D/pcam.jar
    D CompatibilityChangeReporter: Compat change id reported: 218865702; UID 10398; state: ENABLED
    W ziparchive: Unable to open '/data/user/0/com.lkdw.application.applocker.Fortify/cache/1689111357674.dm': No such file or directory
    W ConnectionStatusConfig: Dynamic lookup for intent failed for action: com.google.android.gms.ads.service.START
    I DynamiteModule: Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:234310602
    I DynamiteModule: Selected remote version of com.google.android.gms.ads.dynamite, version >= 234310602
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    F Fortify : QQmlEngine: Illegal attempt to connect to LicenseValidator_QML_113(0x6ea66a4fc0) that is in a different thread than the QML engine QThread(0x6e96631490.
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    W Fortify : Updates can only be scheduled from GUI thread or from QQuickItem::updatePaintNode()
    I Ads     : JS: The jsLoaded GMSG has been sent (https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/production/sdk-core-v40-impl.html:791)
    I chromium: [INFO:CONSOLE(791)] "The jsLoaded GMSG has been sent", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/production/sdk-core-v40-impl.html (791)
    F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 11397 (qtMainLoopThrea), pid 11349 (plocker.Fortify)
    D TrafficStats: tagSocket(146) with statsTag=0xffffffff, statsUid=-1
    I plocker.Fortify: Background concurrent mark compact GC freed 158719(27MB) AllocSpace objects, 53(3268KB) LOS objects, 79% free, 6162KB/30MB, paused 917us,4.639ms total 123.146ms
    
    --------- beginning of crash
    01-21 12:27:22.779 5895 5988 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 5988 (qtMainLoopThrea), pid 5895 (plocker.Fortify)
    01-21 12:27:22.834 6362 6362 E DEBUG : failed to readlink /proc/5988/fd/157: No such file or directory
    01-21 12:27:22.903 6362 6362 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstoneProto
    01-21 12:27:22.904 734 734 I tombstoned: received crash request for pid 5988
    01-21 12:27:22.905 6362 6362 I crash_dump64: performing dump of process 5895 (target tid = 5988)
    01-21 12:27:23.169 6362 6362 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    01-21 12:27:23.169 6362 6362 F DEBUG : Build fingerprint: 'google/cheetah/cheetah:14/UP1A.231105.003/11010452:user/release-keys'
    01-21 12:27:23.169 6362 6362 F DEBUG : Revision: 'MP1.0'
    01-21 12:27:23.169 6362 6362 F DEBUG : ABI: 'arm64'
    01-21 12:27:23.169 6362 6362 F DEBUG : Timestamp: 2024-01-21 12:27:22.917199549+0530
    01-21 12:27:23.169 6362 6362 F DEBUG : Process uptime: 4s
    01-21 12:27:23.169 6362 6362 F DEBUG : Cmdline: com.lkdw.application.applocker.Fortify
    01-21 12:27:23.169 6362 6362 F DEBUG : pid: 5895, tid: 5988, name: qtMainLoopThrea >>> com.lkdw.application.applocker.Fortify <<<
    01-21 12:27:23.169 6362 6362 F DEBUG : uid: 10398
    01-21 12:27:23.169 6362 6362 F DEBUG : tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
    01-21 12:27:23.169 6362 6362 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000000
    01-21 12:27:23.169 6362 6362 F DEBUG : Cause: null pointer dereference
    01-21 12:27:23.169 6362 6362 F DEBUG : x0 0000000000000000 x1 0000006e566269b0 x2 0000000000000000 x3 0000006c2ef70628
    01-21 12:27:23.169 6362 6362 F DEBUG : x4 0000006c2ef76034 x5 0000000000000004 x6 0000000000000002 x7 0000000000000020
    01-21 12:27:23.169 6362 6362 F DEBUG : x8 0000006e566269b0 x9 0000006e76673fa0 x10 0000000000000030 x11 0000006c0bc74cc0
    01-21 12:27:23.169 6362 6362 F DEBUG : x12 0000000000000001 x13 0000000005577777 x14 0000000000000001 x15 00000a2061a63305
    01-21 12:27:23.169 6362 6362 F DEBUG : x16 0000006c2f13b190 x17 0000000000000000 x18 0000006c3e90c000 x19 0000006e566269b0
    01-21 12:27:23.169 6362 6362 F DEBUG : x20 0000006c2ef70628 x21 0000006e76674840 x22 0000000000000000 x23 0000006c3ecec000
    01-21 12:27:23.169 6362 6362 F DEBUG : x24 0000006c3ecec000 x25 0000000000000020 x26 0000000000000020 x27 0000006c3ece7c50
    01-21 12:27:23.169 6362 6362 F DEBUG : x28 0000000000000018 x29 0000006c3ece76b0
    01-21 12:27:23.169 6362 6362 F DEBUG : lr 0000006c2ef70654 sp 0000006c3ece76b0 pc 0000006c2ef1c0e4 pst 0000000020001000
    01-21 12:27:23.169 6362 6362 F DEBUG : 3 total frames
    01-21 12:27:23.169 6362 6362 F DEBUG : backtrace:
    01-21 12:27:23.169 6362 6362 F DEBUG : #00 pc 00000000002550e4 /data/app/~~EfzdGKb_5bWG2xPj2t6d2w==/com.lkdw.application.applocker.Fortify-NZRyybyQQYNxx5r6Ue5NQA==/lib/arm64/libQt6Qml_arm64-v8a.so (QV4::Value::isObject() const+0) (BuildId: 874e4a9386749dd671a9b22f0e148cb949551b35)
    01-21 12:27:23.169 6362 6362 F DEBUG : #01 pc 00000000002a9650 /data/app/~~EfzdGKb_5bWG2xPj2t6d2w==/com.lkdw.application.applocker.Fortify-NZRyybyQQYNxx5r6Ue5NQA==/lib/arm64/libQt6Qml_arm64-v8a.so (QV4::Lookup::setterGeneric(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value&, QV4::Value const&)+40) (BuildId: 874e4a9386749dd671a9b22f0e148cb949551b35)
    01-21 12:27:23.169 6362 6362 F DEBUG : #02 pc 0000000000000730 <anonymous:7011d3a000>
    01-21 12:27:23.208 734 734 E tombstoned: Tombstone written to: tombstone_00
    01-21 12:27:23.212 1531 6368 I DropBoxManagerService: add tag=data_app_native_crash isTagEnabled=true flags=0x2
    01-21 12:27:23.213 1531 6367 W ActivityTaskManager: Force finishing activity com.lkdw.application.applocker.Fortify/.MainActivity
    01-21 12:27:23.213 1531 1906 W NativeTombstoneManager: failed to open /data/tombstones/tombstone_00.pb
    01-21 12:27:23.213 1531 1906 W NativeTombstoneManager: java.io.FileNotFoundException: open failed: ENOENT (No such file or directory)
    01-21 12:27:23.213 1531 1906 W NativeTombstoneManager: at android.os.ParcelFileDescriptor.openInternal(ParcelFileDescriptor.java:351)
    01-21 12:27:23.213 1531 1906 W NativeTombstoneManager: at android.os.ParcelFileDescriptor.open(ParcelFileDescriptor.java:230)
    01-21 12:27:23.213 1531 1906 W NativeTombstoneManager: at com.android.server.os.NativeTombstoneManager.handleProtoTombstone(NativeTombstoneManager.java:158)
    01-21 12:27:23.213 1531 1906 W NativeTombstoneManager: at com.android.server.os.NativeTombstoneManager.handleTombstone(NativeTombstoneManager.java:127)
    01-21 12:27:23.213 1531 1906 W NativeTombstoneManager: at com.android.server.os.NativeTombstoneManager.-$$Nest$mhandleTombstone(NativeTombstoneManager.java:0)
    01-21 12:27:23.213 1531 1906 W NativeTombstoneManager: at com.android.server.os.NativeTombstoneManager$TombstoneWatcher.lambda$onEvent$0(NativeTombstoneManager.java:575)
    01-21 12:27:23.213 1531 1906 W NativeTombstoneManager: at com.android.server.os.NativeTombstoneManager$TombstoneWatcher.$r8$lambda$tfJ_q07NaI9c6UYttszi4EdMJ7Y(NativeTombstoneManager.java:0)
    01-21 12:27:23.213 1531 1906 W NativeTombstoneManager: at com.android.server.os.NativeTombstoneManager$TombstoneWatcher$$ExternalSyntheticLambda0.run(R8$$SyntheticClass:0)
    01-21 12:27:23.213 1531 1906 W NativeTombstoneManager: at android.os.Handler.handleCallback(Handler.java:958)
    01-21 12:27:23.213 1531 1906 W NativeTombstoneManager: at android.os.Handler.dispatchMessage(Handler.java:99)
    01-21 12:27:23.213 1531 1906 W NativeTombstoneManager: at android.os.Looper.loopOnce(Looper.java:205)
    01-21 12:27:23.213 1531 1906 W NativeTombstoneManager: at android.os.Looper.loop(Looper.java:294)
    01-21 12:27:23.213 1531 1906 W NativeTombstoneManager: at android.os.HandlerThread.run(HandlerThread.java:67)
    01-21 12:27:23.213 1531 1906 W NativeTombstoneManager: at com.android.server.ServiceThread.run(ServiceThread.java:46)
    01-21 12:27:23.214 2082 2106 V WindowManagerShell: Transition requested: android.os.BinderProxy@37537a7 TransitionRequestInfo { type = CLOSE, triggerTask = null, remoteTransition = null, displayChange = null }
    01-21 12:27:23.218 1531 1906 I BootReceiver: Copying /data/tombstones/tombstone_00 to DropBox (SYSTEM_TOMBSTONE)
    01-21 12:27:23.218 1531 1906 I DropBoxManagerService: add tag=SYSTEM_TOMBSTONE isTagEnabled=true flags=0x6
    01-21 12:27:23.226 592 592 I BpBinder: onLastStrongRef automatically unlinking death recipients: 
    01-21 12:27:23.244 1531 1906 I DropBoxManagerService: add tag=SYSTEM_TOMBSTONE_PROTO_WITH_HEADERS isTagEnabled=true flags=0x4
    01-21 12:27:23.272 1613 1722 I pixel-thermal: usb_pwr_therm:35.89 raw data: usb_pwr_therm:35890 
    01-21 12:27:23.283 1613 1722 I pixel-thermal: VIRTUAL-USB-THROTTLING:0 raw data: USB-MINUS-NEUTRAL:-1870 USB-MINUS-USB2:-223 VIRTUAL-USB-THROTTLING:0 neutral_therm:37760 usb_pwr_therm:35890 usb_pwr_therm2:36113 
    01-21 12:27:23.283 1613 1722 I pixel-thermal: VIRTUAL-USB-UI:0 raw data: USB-MINUS-NEUTRAL:-1870 USB-MINUS-USB2:-223 VIRTUAL-USB-UI:0 usb_pwr_therm:35890 
    01-21 12:27:23.283 1613 1722 I pixel-thermal: USB-MINUS-USB2:-0.223 raw data: USB-MINUS-USB2:-223 
    01-21 12:27:23.283 1613 1722 I pixel-thermal: USB-MINUS-NEUTRAL:-1.87 raw data: USB-MINUS-NEUTRAL:-1870 
    01-21 12:27:23.350 1531 1759 I WindowManager: WIN DEATH: Window{e66f2a5 u0 com.lkdw.application.applocker.Fortify/com.lkdw.application.applocker.Fortify.MainActivity}
    01-21 12:27:23.350 1531 1759 W InputManager-JNI: Input channel object 'e66f2a5 com.lkdw.application.applocker.Fortify/com.lkdw.application.applocker.Fortify.MainActivity (client)' was disposed without first being removed with the input manager!
    01-21 12:27:23.351 1531 7061 I ImeTracker: com.lkdw.application.applocker.Fortify:f3f9c793: onRequestHide at ORIGIN_SERVER_HIDE_INPUT reason HIDE_REMOVE_CLIENT
    01-21 12:27:23.351 1531 7061 I ImeTracker: com.lkdw.application.applocker.Fortify:f3f9c793: onCancelled at PHASE_SERVER_SHOULD_HIDE
    01-21 12:27:23.351 728 728 W libprocessgroup: Failed to apply NoResetUclampGrp task profile
    01-21 12:27:23.351 1531 7038 I ActivityManager: Process com.lkdw.application.applocker.Fortify (pid 5895) has died: fg TOP 
    01-21 12:27:23.352 728 728 W powerhal-libperfmgr: Failed to set NoResetUclampGrp task profile for tid:6042
    01-21 12:27:23.352 728 728 W libprocessgroup: Failed to apply NoResetUclampGrp task profile
    01-21 12:27:23.352 728 728 W powerhal-libperfmgr: Failed to set NoResetUclampGrp task profile for tid:6043
    01-21 12:27:23.352 728 728 W libprocessgroup: Failed to apply NoResetUclampGrp task profile
    01-21 12:27:23.352 728 728 W powerhal-libperfmgr: Failed to set NoResetUclampGrp task profile for tid:5949
    01-21 12:27:23.352 728 728 W powerhal-libperfmgr: sched_setattr failed for thread 6042, err=3
    01-21 12:27:23.352 728 728 W powerhal-libperfmgr: sched_setattr failed for thread 6043, err=3

    I am using Android API level 34, NDK 26.1.10909125.

    Please let me know what am I missing here.

     

     

     

    #25256

    Günther
    Felgo Team

    Hi Taher!

    Are you integrating both the AdMob and the Firebase Plugin in your application?

    The error message suggests that the used AdMob SDK and Firebase SDK versions might not be compatible, in which case we need to check the used SDK versions in Felgo and potentially do some updates.

    Also, are you using the latest Felgo 4 release, or the old Felgo 3 based on Qt 5?

    Best,
    Günther

    #25257

    Taher

    I have not integrated fire base plugin, it’s only admob plugin.

    I’m using Felgo 4 with Qt 6.

     

    #25258

    Günther
    Felgo Team

    Hi Taher,

    did you perform all necessary integration steps from the documentation?
    https://felgo.com/doc/plugin-admob/#android-integration-steps

    I can not reproduce a crash on my end and can successfully show an Ad Banner.
    What device and OS version are you using for testing?

    Does the crash also happen when trying the AdMob example of the Felgo 4 Developer App?
    https://play.google.com/store/apps/details?id=com.felgo.apps.FelgoLiveQt6
    (you can search for admob and start e.g. the AdMobBanner example)

    Best,
    Günther

    #25259

    Taher
    #25260

    Taher

    Also the crash happens only when there are UI operations going on when AdMobBanner visibility is changing.

    #25261

    Taher

    Can you test above scenario?

    I have a test case where my list view is loading and in the meantime ad becomes visible then it crashes.(Intermittently)

    #25262

    Taher

    Here is my code:

    The above code shows how admobbanner intetntiates on timer triggered. This is to avoid crash while splash screen is running and admob banner shows up.

    On button press list view is getting displayed. If user presses that button while ad is loading app crashes.

    Can you tell me what i am doing wrong?

    App {
        AppPage {
            MyListView {
                id: myListView
            }
            Rectangle {
                id: listViewButton
                MouseArea {
                    anchors.fill: parent
                    onClicked: {
                        myListView.visible = true
                    }
                }
                Item {
                    id: adMobBannerItem
                    width: parent.width
                    height: adMobBanner.height
                    anchors.bottom: parent.bottom
                    // Plugin Item
                    AdMobBanner {
                        id: adMobBanner
                        adUnitId: "..."
                        banner: AdMobBanner.Smart
                        testDeviceIds: ["..."]
                        visible: false
                    }
                }
                Timer { 
                    //NOTE: delaying visibility to avoid showinf ads while splash screen is running. 
                    //It crashes everytime when ads shown while splash screen is running.
                    id: timer
                    interval: 5000
                    repeat: false
                    onTriggered: {
                        adMobBanner.visible = true
                    }
                }
            }
            Component.onCompleted: {
                timer.start()
            }
        }
    }
    #25263

    Günther
    Felgo Team

    I don’t see anything that’s specifically wrong or problematic, and everything works okay for me also with a setup similar to your example.

    Maybe you can try to delay the creation of the AdMob item to when you want you actually show it by loading the item dynamically with e.g. a QML Loader? (so actually creating it later instead of setting the visible property)

    #25264

    Taher

    Let me try that as well, but as you can see from code, it can be the problem with dynamic loading as well.

    The problem lies within onPluginLoaded and onAdReceived signal if user does any UI operation it crashes.

    So even after loading dynamically if user does any operation while plugin is being loaded it might crash.

    Still i will try this one.

    #25271

    Taher

    With Qml Loader its crashing 100%.

    I am delaying loading of item using timer, whenever user does any UI operation. It is working but still crash occurs sometimes.

Viewing 11 posts - 1 through 11 (of 11 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded