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

Forums

OverviewFelgo 2 Support (Qt 5) › Cannot compile with "androidx.biometric:biometric:1.0.1"

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #22906

    NgapWei

    I would like to perform fingerprint authentication on android and add this line into the build.gradle(you can see it at pastebin), but then it give me error messages

     

    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.1.0] AndroidManifest.xml:24:18-86 value=(androidx.core.app.CoreComponentFactory).

    Suggestion: add ‘tools:replace=”android:appComponentFactory”‘ to <application> element at AndroidManifest.xml:6:5-63:19 to override.

     

    As their suggestions, I change the xml file like this(at pastebin)

     

    But then it give me error messages like these

     

    C:\Users\yyyy\programs\Qt\app_to_simplify_ml\cv_projects\samples\build-android_ui-Android_for_arm64_v8\android-build\AndroidManifest.xml Error:

    Validation failed, exiting

    See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.

    :processDebugManifest FAILED

    FAILURE: Build failed with an exception.

    * What went wrong:

    Execution failed for task ‘:processDebugManifest’.

    > Manifest merger failed with multiple errors, see logs

     

    After that I add one more line to the application of manifest

    <span class="pln">android</span><span class="pun">:</span><span class="pln">appComponentFactory</span><span class="pun">=</span><span class="str">"whateverString"</span>
    Then it give me following error message–at pastebin

     

     

Viewing 1 post (of 1 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