Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question how to set value for appAuthRedirectScheme

Discussion in 'Android' started by khanh_gz, Sep 25, 2023.

  1. khanh_gz

    khanh_gz

    Joined:
    Sep 25, 2023
    Posts:
    1
    I am using unity 2023.3.11f1 and I encounter this error when build android. Please help.


    \Library\Bee\Android\Prj\IL2CPP\Gradle\launcher\src\main\AndroidManifest.xml Error:
    Attribute data@scheme at AndroidManifest.xml requires a placeholder substitution but no value for <appAuthRedirectScheme> is provided.

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':launcher:processDebugManifest'.
    > Manifest merger failed : Attribute data@scheme at AndroidManifest.xml requires a placeholder substitution but no value for <appAuthRedirectScheme> is provided.

    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    * Get more help at https://help.gradle.org

    BUILD FAILED in 2s
    Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

    UnityEngine.GUIUtility:processEvent (int,intptr,bool&)
     
  2. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,632
    No, you don't. Unless you are from the future :)

    Could you show the template file for launcher?