"Cannot resolve dependency for "



  • Hi,

    After seeing you updated the repository for davdroid I am curious to find out what changed. However, after downloading the repository using:

    git clone --recurse-submodules https://gitlab.com/bitfireAT/davx5-ose.git

    And opened both the davx5-ose-master-ose and the /app as separate projects in Android Studio, however it returns:

    "Could not determine the dependencies of task '..
    

    I have not yet found a way to overcome this problem, do you have any suggestions on resolving this issue?

    The complete log is:

    16:48:33: Executing task 'assemble'...
    
    Executing tasks: [assemble]
    
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Could not determine the dependencies of task ':app:lintVitalStandardRelease'.
    > Could not resolve all task dependencies for configuration ':app:standardReleaseRuntimeClasspath'.
       > Could not resolve project :cert4android.
         Required by:
             project :app
          > Unable to find a matching configuration of project :cert4android: None of the consumable configurations have attributes.
       > Could not resolve project :dav4android.
         Required by:
             project :app
          > Unable to find a matching configuration of project :dav4android: None of the consumable configurations have attributes.
       > Could not resolve project :ical4android.
         Required by:
             project :app
          > Unable to find a matching configuration of project :ical4android: None of the consumable configurations have attributes.
       > Could not resolve project :vcard4android.
         Required by:
             project :app
          > Unable to find a matching configuration of project :vcard4android: None of the consumable configurations have attributes.
    
    * 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 0s
    16:48:34: Task execution finished 'assemble'.
    

    Kind regards.



  • The solution was to re-execute the git clone --recurse-submodules https://gitlab.com/bitfireAT/davx5-ose.git with a stable internet connection. Inspection of the command in a re-try showed it had not completed successfully.

    Retrying the command until it completed successfully was sufficient for Android Studio to build the project. I apologize for this sloppiness.


Log in to reply
 

Similar topics

  • 6
  • 1
  • 3