asus4 / tf-lite-unity-sample

TensorFlow Lite Samples on Unity
834 stars 249 forks source link

Failed to build Android #264

Closed jhclaura closed 1 year ago

jhclaura commented 1 year ago

Environment:

Describe the bug Android build is failed with below message.

FAILURE: Build failed with an exception.

To Reproduce Steps to reproduce the behavior:

  1. Clone the repo
  2. Open the repo with Unity 2021.3.10f1, set platform to Android
  3. Update the project with newer version of Unity
  4. Build
  5. See error

Expected behavior Android build successfully and up & runing.

Additional context Is it because the Unity version is not the same as the origin version 2020.3.29f1? Is there a way to fix it, or should I use the older version 2020.3.29f1 instead? Thanks!

jhclaura commented 1 year ago

It turned out that I didn't install git lfs successfully. I can build Android app with both Unity 2021.3.10f1 & 2020.3.42f1, but have more example crashes with 2021.3.10f1.