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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support