jfoucry / Pilldroid

Gestion théorique de stock de médicament
Other
3 stars 2 forks source link

Add new prescription close app #30

Open Jean-BaptisteC opened 3 months ago

Jean-BaptisteC commented 3 months ago

How reproduce:

jfoucry commented 3 months ago

I created a branch

jfoucry commented 3 months ago

Cannot compile, errors in the build gradle(pilldroid)


> Could not resolve all files for configuration ':app:devDebugRuntimeClasspath'.
   > Could not find com.google.android.mat                                                        erial:material:1.9.0.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/com/google/android/mat                                                        erial/material/1.9.0/material-1.9.0.pom
       - https://maven.google.com/com/google/android/mat                                                        erial/material/1.9.0/material-1.9.0.pom
     Required by:
         project :app

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
 - ```
Jean-BaptisteC commented 3 months ago

Use clean task gradle and re-try

jfoucry commented 2 months ago

No luck or I did not corectly understood what you want me to do.

I clean the wall project.

Configuration cache state could not be cached: field __librarySourceSets__ of task :app:mapDevDebugSourceSetPaths of type com.android.build.gradle.tasks.MapSourceSetPathsTask: error writing value of type 'org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection'

Could not resolve all files for configuration ':app:devDebugRuntimeClasspath'. Could not find androidx.constraintlayout:constraintlayout:2.1.4. Searched in the following locations:

Jean-BaptisteC commented 2 months ago

Remove this line https://github.com/jfoucry/Pilldroid/blob/381b937a0120367b9a4d89a5f315ff1a224a53ee/gradle.properties#L21 And retry