Unity Build Error after Adding Vungle Adapter along with Admob

231 views
Skip to first unread message

Polycot Yarn spinning mills pvt ltd

unread,
Jul 4, 2018, 9:45:55 AM7/4/18
to Google Mobile Ads SDK Developers
Hi,

I added the Vungle Adapter into my Unity project so that I can use Admob mediation. However, while building I get this error:

CommandInvokationFailure: Unable to convert classes into dex format.
/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/bin/java -Xmx2048M -Dcom.android.sdkmanager.toolsdir="/Users/Karan/Library/Android/sdk/tools" -Dfile.encoding=UTF8 -jar "/Applications/Unity/PlaybackEngines/AndroidPlayer/Tools/sdktools.jar" -

stderr[
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
3 errors; aborting
]


Can anyone please help out with this? Thank you. 

mobileadssdk-a...@google.com

unread,
Jul 5, 2018, 3:36:12 AM7/5/18
to Polycot Yarn spinning mills pvt ltd, Google Mobile Ads SDK Developers
Hi,

Thank you for reaching out to us.

I followed the steps below based from this guide and this mediation instructions for Vungle and I was able to build the sample app successfully.
  1. Download the HelloWorld sample app
  2. Import the latest Google Mobile Ads Unity plugin
  3. Import the mediation plugin for Vungle
  4. Build and run the app successfully
Could you download this modified sample app (with Vungle imported) and see if you encounter the same build error? If you are able to build the sample app successfully on your end, then the next step is to add this additional implementation.

For us to test on our end, could you provide to us privately (using Reply privately to author option) a copy of your project where build error is reproducible?

Regards,
Ivan Bautista
Mobile Ads SDK Team

julien.s...@gmail.com

unread,
Jul 5, 2018, 4:44:03 AM7/5/18
to Google Mobile Ads SDK Developers
Do you also have firebase in your project by any chance?

Because I have a similar error :

mobileadssdk-a...@google.com

unread,
Jul 5, 2018, 5:43:44 AM7/5/18
to julien.s...@gmail.com, Google Mobile Ads SDK Developers
Hi Julien,

Let's continue our discussion about your concern on this thread.
Reply all
Reply to author
Forward
0 new messages