-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A problem occurred evaluating project ':flutter_unity_widget'. #6
Comments
If you need additional help, just watch this guide, it should be helpful: https://www.youtube.com/watch?v=exNPmv_7--Q |
@jiangheng90 that is correct, you omitted that step |
Try adding the following lines to the end of
They exist in the example project |
I am having the same error. When I downloaded the repo and did it within the example folder, it worked. But then I tried to make my own folder and use the package within my project I am getting this error. I' followed the ReadMe and the video. @lorant-csonka-planorama what do you mean by: Make sure that you have the built unity project at the android/UnityExport/lib folder? The other two points I did for sure. |
Please follow the tutorial in the readme |
I am having this issue in December, 2019. I have followed the tutorial as well as this issue. After adding the following lines to the end of android/settings.gradle:
I received this error, thus making me to believe that part of the issue had been resolved.
Other than the built unity project in The supplied tutorial video is massively outdated and offers completely nothing that could help me. Adding the following lines to the end of `android/settings.gradle in an attempt to fix the previous error, results in a different error.
@lorant-csonka-planorama could you please supply an up-to-date fix for this issue with |
So, whats the resolution?, i´m having the same issue and i can´t get a workaround, i have already made this changes, i had watched the video (and i agree with the past comments, the video is outdated) and no luck. Please, if you can update the repo solving this issue and make better video explaining detaily the steps. |
And well, i know that i´m doing someting wrong but anyway, opening the android folder generated by flutter in android studio and applying the mention changes (and adding some lines) i overpassed the error and now i have this. In the alone android project it incounter this errors: And when i try to run it with flutter it says: |
The error you're seeing is quite self-explanatory. It states "Could not resolve project :unity-classes". You can use Android Studio's "import jar/aar" feature for this. Just point it at the unity-classes jar and it should generate the module for you (and adjust your gradle files). |
Oh, ok i see, i have seen my mistake, i finally get it running, thanks a lot. |
same for me and others, i hope this gets fixed soon, cause right now means i cannot release an app |
Any update on the :UnityExport issue? I'm having the same error as @luisfmcosta and @DanFaceira , only when building the release version... no problem with the debug one... |
For Android, I managed to solve the problem by opening the Android project in Android Studio and then generating the signed APK there. For iOS, following the instructions in #93. |
@RK21898 Check the following two issues:
|
I got to the bottom of this! I had to import the .lib file using: (File → New Module → Import .JAR/.AAR Package) and NOT by right clicking and adding as a module as was shown in the video tutorial. |
cool!! only your answer solve my question. |
i had the exact same problem "implementation project('unity-classes')" and maybe comment out this |
does anybody have this working on 2022? lol... evrything is outdated and tried everything i saw here... no luck |
When I finish config project and run it,this problem comes out。I dont know how to handle it
The text was updated successfully, but these errors were encountered: