Question by
evanngo · Jun 16, 2017 at 05:02 AM ·
androidplugin
Android file don't understand imported libraries in gradle after import into Unity Project
Now I'm in Unity Project, in this project all the screen was created by Unity, just only 1 screen made by android studio. Now I have a problem , in this android screen I wanna use MediaRouteButton of 'com.android.support:mediarouter-v7:23.4.0' library, I have imported this library into gradle file. But when I copy it into UnityProject and build APK file. Run apk file I get error:
Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7/app/MediaRouteButton;
Everyone can fix it? how I can fix it?
Comment
Your answer
