[IOS/Android] UnityAds Video and Rewarded Video (0.1.4)

rodolfovs

  • *
  • Posts: 178
Hi Robin,

I updated Stencyl to version 10458 and the UnityAds extension has stopped working, I can no longer test the game on android device, appears the error  below:
Code: [Select]
stencyl.sw.util.StreamGobbler [haxelib] * Get more help at https://help.gradle.org
stencyl.sw.util.StreamGobbler [haxelib] Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
stencyl.sw.util.StreamGobbler [haxelib] * Try:
stencyl.sw.util.StreamGobbler [haxelib]          project :deps:unityads
stencyl.sw.util.StreamGobbler [haxelib]      Required by:
stencyl.sw.util.StreamGobbler [haxelib]        - http://repo1.maven.org/maven2/com/android/tools/build/gradle/3.5.1/gradle-3.5.1.jar
stencyl.sw.util.StreamGobbler [haxelib]        - http://repo1.maven.org/maven2/com/android/tools/build/gradle/3.5.1/gradle-3.5.1.pom
stencyl.sw.util.StreamGobbler [haxelib]      Searched in the following locations:
stencyl.sw.util.StreamGobbler [haxelib]    > Could not find com.android.tools.build:gradle:3.5.1.
stencyl.sw.util.StreamGobbler [haxelib] > Could not resolve all artifacts for configuration ':deps:unityads:classpath'.
stencyl.sw.util.StreamGobbler [haxelib] A problem occurred configuring project ':deps:unityads'.
stencyl.sw.util.StreamGobbler [haxelib] * What went wrong:
stencyl.sw.util.StreamGobbler [haxelib] FAILURE: Build failed with an exception.
Do I need to update anything else for the extension to work again?

« Last Edit: November 23, 2019, 01:41:26 pm by rodolfovs »


Krimm

  • *
  • Posts: 110
Hey Robin,

I'm having a similar issue, in that I can't get the UnityAds extension to work. I'm currently on build 10562 on Mac OS Catalina. Whenever I try to build to Android, I get the following error.

Quote
stencyl.sw.util.StreamGobbler   [haxelib] AAPT2 aapt2-3.5.1-5435860-osx Daemon #3: shutdown
stencyl.sw.util.StreamGobbler   [haxelib] AAPT2 aapt2-3.5.1-5435860-osx Daemon #2: shutdown
stencyl.sw.util.StreamGobbler   [haxelib] AAPT2 aapt2-3.5.1-5435860-osx Daemon #1: shutdown

I tried the solution posted above, by doing the following steps:

Quote
1- go to engine-extension folder
2- Open [EXTENSON_NAME]/dependencies/build.gradle
3- Replace:

repositories {
      maven {
                url "http://repo1.maven.org/maven2/"
      }
}
With:

repositories {
      jcenter()
      google()
}

But the version of the extension I have already has that in the build.gradle file. Any idea what the issue could be?