namespace name 'AndroidJavaClass' could not be found

Hello everyone!
I was trying to get some ads on my game, but when I install the unity ads 3.3.1 I get the following error inside the editor:

I’ve been searching for a solution for this, but I found nothing at all. Anyone knows how to fix this?

Unity version: 2019.2.13f1
build target: Android

Thanks for your time!

Have you upgraded your project from older Unity version?
Go to package manager and enable AndroidJNI package (you should find it under Built-In modules).

4 Likes

That worked, thanks!