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


OverviewFelgo Plugins Support › Notification plugin: androiddeployqt fails if I add dependency in gradle

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #24358



    I need to send some kind of notification from our custom chat implementation if app is in background and new message is arrived, something like gmail does. I thought may be notification plugin would be a solution and wanted to play with it, but if I add

    dependencies {
       implementation 'net.vplay.plugins:plugin-notification:3.+'

    as described here: https://felgo.com/doc/plugin-notification/#example-usage

    androiddeployqt fails with

    AndroidManifest.xml:22:18-91 Error:
            Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91
            is also present at [androidx.core:core:1.3.0] AndroidManifest.xml:24:18-86 value=(androidx.core.app.CoreComponentFactory).
            Suggestion: add 'tools:replace="android:appComponentFactory"' to <application> element at AndroidManifest.xml:3:5-56:19 to override.
    FAILURE: Build failed with an exception.

    If I add tools:replace as suggested, I’m getting another error saying that tools namespace is undefined.



    Felgo Team
Viewing 2 posts - 1 through 2 (of 2 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