ministero-salute / it-dgc-verificaC19-android

VerificaC19 is the official Italian customization of the EU Digital COVID Certificate Verifier App for the Android Operating System
https://www.dgc.gov.it
Apache License 2.0
101 stars 54 forks source link

Not able to import project #143

Closed shaheen7007 closed 1 year ago

shaheen7007 commented 3 years ago

Hi, I am not able to import the project and build id. Can anyone help me to do that. Please tell the steps to import the project. Do I need to also import dgca-app-core-android ? How should I do it ?

Thank you

astagi commented 3 years ago

@shaheen7007 yes you need the following structure:

android-app
|___dgca-verifier-app-android
|___dgca-app-core-android
|___dgc-certlogic-android

I'm going to update README file accordingly.

Let me know if it works for you!

py3tr0 commented 3 years ago

I too receive the following errors:

$ ./gradlew build

...
FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:lintVitalRelease'.
> Could not resolve all artifacts for configuration ':app:debugCompileClasspath'.
   > Could not resolve project :dgc-sdk.
     Required by:
         project :app
      > No matching configuration of project :dgc-sdk was found. The consumer was configured to find an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
          - None of the consumable configurations have attributes.
   > Could not resolve project :decoder.
     Required by:
         project :app
      > No matching configuration of project :decoder was found. The consumer was configured to find an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
          - None of the consumable configurations have attributes.

The structure of my project is as follows:

$ cd it-dgc-verificaC19-android/
$ ls -a1
.
..
app
appConfig.json
azure-pipeline.yml
build.gradle
buildSrc
CODE_OF_CONDUCT.md
CODEOWNERS
codestyle
CONTRIBUTING.md
dgca-app-core-android
dgca-verifier-app-android
dgc-certlogic-android
dgc-sdk
.git
.github
.gitignore
gradle
.gradle
gradle.properties
gradlew
gradlew.bat
.grenrc.js
.header-config.json
.idea
LICENSE
logo.png
metadata
NOTICE
publiccode.yml
README.md
release-pipeline.yaml
screenshots
SECURITY.md
settings.gradle
templates
THIRD-PARTY-NOTICES
albertocappellina commented 3 years ago

Same situation here, any ypdate on issue ?

paolodelfabbro commented 2 years ago

android-app |it-dgc-verificaC19-android |dgca-app-core-android |___it-dgc-verificac19-sdk-android

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.