I am trying to import a unity3d project into my android project as a module. Everything is fine, gradle synchronization completed without errors, but when I add a unity project as a dependency on my project and run gradle sync, then it says:
Error:Dependency myapplication:unityproject:unspecified on project app resolves to an APK archive which is not supported as a compilation dependency. File: /Users/michal/Documents/Projects/myapplication/unityproject/build/outputs/apk/unityproject-release-unsigned.apk
I tried google but no luck ... Thanks so much for any advice ... I use Android Studio (if that helps)
I can create and run a stand-alone unique3d project on a mobile device, the only problem is that I'm trying to add it as a module (dependency) to another project
android android-studio android-gradle gradle unity3d
Michal Kučera
source share