I have the build script from this project here:
https://github.com/melix/gr8confagenda/blob/master/gr8confagenda/build.gradle
But when I try to run the project, I get this error:
* What went wrong:
A problem occurred configuring project ':gr8confagenda'.
> Could not resolve all dependencies for configuration ':gr8confagenda:_debugCompile'.
> Could not find com.android.support:support-v4:19.1.0.
Required by:
gr8confagenda:gr8confagenda:unspecified
Where I'm making the mistake?
Related
I am trying to build sample app (apk) for alexa-auto-sdk. I am facing issues when building. the error i'm getting is.
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':alexa-auto-app:dataBindingMergeDependencyArtifactsLocalRelease'.
> Could not resolve all task dependencies for configuration ':alexa-auto-app:localReleaseRuntimeClasspath'.
> Could not find :autovoicechrome:.
Searched in the following locations:
- file:/home/chetan/Projects/Amazon_Alexa/alexa-auto-sdk/aacs/android/sample-app/alexa-auto-app/libs/autovoicechrome.aar
- file:/home/chetan/Projects/Amazon_Alexa/alexa-auto-sdk/aacs/android/app-components/alexa-auto-voice-ui/libs/autovoicechrome.aar
- file:/home/chetan/Projects/Amazon_Alexa/alexa-auto-sdk/aacs/android/app-components/alexa-auto-voice-interaction/libs/autovoicechrome.aar
Required by:
project :alexa-auto-app > project :alexa-auto-voice-ui
I cloned in version 4.0 as I was facing issues when building with 4.1.
This is the README.md for sample app
https://github.com/alexa/alexa-auto-sdk/blob/4.0/aacs/android/sample-app/README.md
Please help with any information that you might have related to this.
You should request this aar from Amazone support.
I updated the Gradle from android studio. and when I try to run the project in vs code (Yes I already changed inside the build Gradle file too) showing this error.
What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not find com.android.tools.build:gradle:7.4.1.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/7.4.1/gradle-7.4.1.pom
- https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/7.4.1/gradle-7.4.1.pom
Required by:
project :
how can I fix this?
The gradle plugin has different versions in project level build.grade and gradle-wrapper.properties Here is the official documentation about this
* What went wrong:
Execution failed for task ':app:DownloadSources'.
> Could not resolve all files for configuration ':app:downloadSources_927fef28-7488-4483-9527-5596851d39e8'.
> Could not find com.google.android.exoplayer:exoplayer-core:2.16.1#aar.
Required by:
project :app
I am unable to download sources for any of the library, once I click on download sources, I get the above error.
(Note : None of the existing answers worked for me, either they are obsolete (or) had some other error.)
boycotting our country with all of our IPs by Google i can't build Android project which i made that with Flutter, so i get this error:
* What went wrong:
A problem occurred configuring project ':path_provider'.
> Could not resolve all artifacts for configuration ':path_provider:classpath'.
> Could not find builder-3.3.0.jar (com.android.tools.build:builder:3.3.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/3.3.0/builder-3.3.0.jar
> Could not get unknown property 'android' for project ':path_provider' of type org.gradle.api.Project.
now i can download this file and i want to know witch directory this file should be paste? i think after past this file i can install that offline
I think it will be easier to add the jar to the gradle config:
dependencies {
compile files('lib/local.jar')
}
https://discuss.gradle.org/t/put-jar-file-to-cache-manually/29488
I'm trying to create project to .apk file but got this error when I type - ./gradlew bundleRelease:
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:preReleaseBuild'.
> Could not resolve all task dependencies for configuration ':app:releaseRuntimeClasspath'.
> Could not resolve project :react-native-gesture-handler.
Required by:
project :app
> Unable to find a matching configuration of project :react-native-gesture-handler: None of the consumable configurations have attributes.
I know there are some questions like mine but none is exact the same. I'm sorry if there is already existing solution, but I didn't found.
You may not link the library react-native-gesture-handler