multiple versions of gradle plugin when building in unity - unity3d

I am using the skillz sdk to develop a quiz game which requires gradle. My current version of unity is 2019.3.0.a5. When I build the project I get the following errors.
> Failed to apply plugin [id 'com.android.library']
> Using multiple versions of the Android Gradle plugin in the same build is
not allowed.
'C:\Users\Zachary Edgell\cash quiz\Temp\gradleOut\launcher' is using
version 3.2.0
'C:\Users\Zachary Edgell\cash quiz\Temp\gradleOut\unityLibrary' is
using version 3.2.1
I have attempted to down grade to unity 2019.1.8f1when I try to build again I get the error
FileNotFoundException: Temp\gradleOut\build\outputs\apk\release\gradleOut-release.apk does not exist
When I try to do a development build on 2019.1.8f1 I get the following error
FileNotFoundException:Temp\gradleOut\build\outputs\apk\release\gradleOut-debug.apk does not exist
I have also attempted to delete the temp folder and rebuild but I get the same error.

The problem was solved by downgrading to unity 2018.4.3f1 if any one is having this issue just back up your files then try to downgrade to unity 2018.4.3f1

Related

I am having this error in flutter while using google map through dependency map_view kindly help me

The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.10 and higher.
The following dependencies do not satisfy the required version:
project ':map_view' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.50
Your gradle plugin version that is supported in your project is 1.3.10 and higher, the plugin you are trying to install is using gradle 1.2.50 there for not supported. I suggest you find another plugin since the only map view plugin i found states that is discontinued. I suggest when you pick a plugin to use to check how often it get updated and when the last update happent.

Ionic App - build fails with "Minimum supported Gradle version is 4.4"

This is an Ionic Cordova project. I haven't touched in in a while but I came back to it now and when I run
ionic cordova build android
I get the following error:
Minimum supported Gradle version is 4.4. Current version is 4.1. If using
the gradle wrapper, try editing the distributionUrl in
C:\projects\ghost\gradle\wrapper\gradle-wrapper.properties to gradle-4.4-
all.zip
So I did that and had my gradle.properties file looking like this:
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-
all.zip
But the build still fails and the properties file reverts to have 4.1 listed in it.
I have Gradle 4.9 installed and added to the path but that didn't work either.
Windows 10 Machine.
UPDATE:
I tried changing the cordova build script in GradleBuilder.js where it referenced gradle 4.1 to have gradle-4.4-all instead but the result was the same.
Thanks for any input.
Steve
upgrade all your Sdk and do:
ionic cordova platform rm android
ionic cordova platform add android#7.1.1 or latest
this will allow u to correct the gradle problem since it will update the gradle automatic

How to fix error " Could not find android-maven-gradle-plugin.jar "?

how to fix this error: Could not find android-maven-gradle-plugin.jar in ionic build android.
Seems you have upgraded Gradle to latest version, and using the old maven-gradle-plugin.
Here you have two options,
upgrade android-maven-gradle-plugnin to latest version. Check here to choose right plugin
downgrade gradle to previous version

Failed to apply plugin in android studio

I am working on an app its work good. after i apply external plugin that return error Failed to apply plugin .
my build tool version 2.2.3
and compile version 24
Unfortunately, the suggestion of G.K. did not work!
Please run the following command in your terminal:
.gradlew clean --refresh-dependencies
This will grap the newest version of the Calldorado plugin that is causing this error. The newest version has a fix in it.

Playscape Unity Publishing Kit Error

I am integrating Playscape 1.11 SDK to my game in unity. I keep getting an error stating: An error occurred while applying post-build logic: failed to apply patch to the .jar file
I have checked to see if Android 19 and google-play-services are downloaded/installed in the SDK.
Looks like some files were missed. Check that you have removed all previous files of Playscape SDK before importing new version into your Unity project:
/Assets/Plugins/Android/PlayscapeManifestFragments
/Assets/Plugins/Android/PlayscapePublishingKit
/Assets/Plugins/Playscape
/Assets/Temp
/Assets/StreamingAssets/fonts
/Assets/StreamingAssets/level_up_icons
/Assets/StreamingAssets/playscape
/Assets/StreamingAssets/playscape_bootstrap
/Assets/StreamingAssets/WelcomeMessage