You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am building an app not a game. but when implementing UnityAds i got this build error. I Don't hnow what'is wrong some one help.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':unity_ads_plugin:parseDebugLocalResources'.
> Could not resolve all files for configuration ':unity_ads_plugin:androidApis'.
> Failed to transform android.jar to match attributes {artifactType=android-platform-attr, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
> Execution failed for PlatformAttrTransform: C:\Android\android-sdk\platforms\android-30\android.jar.
> C:\Android\android-sdk\platforms\android-30\android.jar
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
* BUILD FAILED in 32s
>Running Gradle task 'assembleDebug'... 33.7s
>Exception: Gradle task assembleDebug failed with exit code 1
The text was updated successfully, but these errors were encountered:
Added this in this package's android/build.gradle file (dependencies section)
implementation "androidx.core:core-ktx:1.6.0"
and this at very end in the same build gradle file. Somehow it got solved.
configurations.all {
resolutionStrategy {
force 'androidx.core:core-ktx:1.6.0'
}
}
I was stuck for very long. hope anyone else don't have to
I am building an app not a game. but when implementing UnityAds i got this build error.
I Don't hnow what'is wrong some one help.
FAILURE: Build failed with an exception.
The text was updated successfully, but these errors were encountered: