SecUSo / privacy-friendly-shopping-list

Privacy Friendly App to create and manage shoppings lists on Android devices.
Apache License 2.0
63 stars 37 forks source link

Unable to build in Android Studio 2023.1.1 #110

Open jahway603 opened 9 months ago

jahway603 commented 9 months ago

Android Studio Version used: Android Studio Hedgehog | 2023.1.1

Currently am not able to build this app in the above version of Android Studio. The error received is the following:

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
   > Could not resolve project :backup-api.
     Required by:
         project :app
      > No matching configuration of project :backup-api was found. The consumer was configured to find an API of a component, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.3.1', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
          - 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

Any help would be appreciated.

jahway603 commented 8 months ago

Was able to build after first running git submodule update --init --recursive in the CLI as recommended by @udenr in Issue https://github.com/SecUSo/privacy-friendly-pain-diary/issues/32. Where should this information be captured in the README.md?