juicycleff / flutter-unity-view-widget

Embeddable unity game engine view for Flutter. Advance demo here https://github.com/juicycleff/flutter-unity-arkit-demo
BSD 3-Clause "New" or "Revised" License
2.09k stars 504 forks source link

Need help #924

Closed bomxo007 closed 4 months ago

bomxo007 commented 5 months ago

Screenshot 2024-02-05 145331

what wrong It seems like you followed the recommendations provided earlier, but encountered an error during the build process. Prior to this error, there were warnings about the usage of deprecated APIs in the UnityPlayerActivity.java file. To address this, you may need to recompile with the -Xlint:deprecation flag for more details on the deprecation warnings. Could you provide more information about the error that occurred during the build process?

Note: C:\Users\anantasit.ba\Documents\Unity\Fluttertest\ar_tes2\exsample\android\unityLibrary\src\main\java\com\unity3d\player\UnityPlayerActivity.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.

timbotimbo commented 5 months ago

Don't use an emulator. Unity doesn't support the x64 buildtarget for android.

bomxo007 commented 4 months ago

Thank !!! but i can set emu for the project or cannot be done at all

timbotimbo commented 4 months ago

Simple answer: don't use an emulator.

More advanced: Check the emulator documentation in the readme. You might get it working, but in any case it will be buggy and unstable.