Android offline install com.android.tools.build:builder:3.3.0 - android

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

Related

showing this Gradle error when trying to run flutter project

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

Gradle build failure when packaging GooglePAD asset packs in Unreal Engine

I have followed this guide to implement the GooglePAD plugin in UE 4.27, but I'm met with the following error when I try to package the project for the second time (first time generates the asset packs):
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:assetPackDebugPreBundleTask'.
> Could not resolve all task dependencies for configuration ':app:assetPackFiles'.
> Could not resolve project :assetpacks:on-demand:OnDemandPack.
Required by:
project :app
> Project :app declares a dependency from configuration 'assetPackFiles' to configuration 'packElements' which is not declared in the descriptor for project :assetpacks:on-demand:OnDemandPack.
I see that there is a similar question here, but their solution doesn't seem to apply to me since I'm certain my folders are properly named. This happens with all 3 of my on-demand packs. The build.gradle file inside the asset pack folders is exactly the same as the one included in the guide, though I have tried just writing the pack names as shown here to no avail.
What should I do to build successfully with this plugin?

Could not determine the dependencies of task ':app:preReleaseBuild'

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

Failure building Android project with gradle error: "Illegal embedded sign character"

Can't make Android project build with gradle assemble task. I'm getting
What went wrong:
A problem occurred configuring root project 'MyProjectTitle'.
> Could not resolve all files for configuration ':classpath'.
> Could not download javax.activation.jar (com.sun.activation:javax.activation:1.2.0)
> Failed to download SHA1 for resource 'https://nexus.mycompanydomain.com/repository/jcenter-cache/com/sun/activation/javax.activation/1.2.0/javax.activation-1.2.0.jar'.
> Illegal embedded sign character
We are using our own Nexus artifactory repository. It works fine for some colleagues.
Turns out, you need to clean ~/.gradle/caches/ folder.

Gradle cant find support lib, Android

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?

Categories

Resources