Search Unity

Could not determine the dependencies of task ':unityLibrary:compileDebugAidl'.

Discussion in 'Editor & General Support' started by Parms, May 27, 2021.

  1. Parms

    Parms

    Joined:
    Nov 28, 2012
    Posts:
    3
    I have a Flutter project in Android Studio and am using Unity as a Library for one of the views which is an AR app. I was getting errors with my own Unity project so I used the sample uaal-example project instead to test. After fixing several issues, I'm currently getting the following errors when building in Android Studio using the command 'Flutter run':

    Code (CSharp):
    1. FAILURE: Build failed with an exception.                              
    2.                                                                        
    3. * What went wrong:                                                    
    4. Could not determine the dependencies of task ':unityLibrary:compileDebugAidl'.
    5. > Could not resolve all task dependencies for configuration ':unityLibrary:debugCompileClasspath'.
    6.    > Could not find :ARPresto:.                                        
    7.      Required by:                                                      
    8.          project :unityLibrary                                        
    9.    > Could not find :UnityARCore:.                                    
    10.      Required by:                                                      
    11.          project :unityLibrary                                        
    12.    > Could not find :arcore_client:.                                  
    13.      Required by:                                                      
    14.          project :unityLibrary                                        
    15.    > Could not find :unityandroidpermissions:.                        
    16.      Required by:                                                      
    17.          project :unityLibrary  
    Does anyone have any idea what is causing this?
     
  2. Zarkend

    Zarkend

    Joined:
    May 11, 2016
    Posts:
    28
    Happened to me,

    Unity version: 2022.1.24f1


    Code (CSharp):
    1. FAILURE: Build failed with an exception.
    2.  
    3. * What went wrong:
    4. Could not determine the dependencies of task ':unityLibrary:compileDebugAidl'.
    5. > Could not resolve all task dependencies for configuration ':unityLibrary:debugCompileClasspath'.
    6.    > Could not find com.google.firebase:firebase-analytics-unity:10.2.0.
    7.      Required by:
    8.          project :unityLibrary
    9.    > Could not find com.google.firebase:firebase-app-unity:10.2.0.
    10.      Required by:
    11.          project :unityLibrary
    12.    > Could not find com.google.firebase:firebase-auth-unity:10.2.0.
    13.      Required by:
    14.          project :unityLibrary
    15.    > Could not find com.google.firebase:firebase-config-unity:10.2.0.
    16.      Required by:
    17.          project :unityLibrary
    18.    > Could not find com.google.firebase:firebase-crashlytics-unity:10.2.0.
    19.      Required by:
    20.          project :unityLibrary
    21.    > Could not find com.google.games:gpgs-plugin-support:0.10.11.
    22.      Required by:
    23.          project :unityLibrary
    No solution yet
     
  3. AlekzFateJumper

    AlekzFateJumper

    Joined:
    Aug 27, 2019
    Posts:
    4