OS/OS Version: build for Android 13 on macOS 12.6.1
Source Version: master/v2.10.0
Unity Version: Unity 2021.3.10f1
Describe the bug
Android build is failed with below message.
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':launcher:checkReleaseDuplicateClasses'.
Could not resolve all files for configuration ':launcher:releaseRuntimeClasspath'.
Failed to transform tensorflow-lite-gpu-.aar (:tensorflow-lite-gpu:) to match attributes {artifactType=android-classes-jar, org.gradle.status=integration, org.gradle.usage=java-runtime}.
Execution failed for AarToClassTransform: /Users/jhclaura/Documents/Unity/_External/TensorFlow-Lite/tf-lite-unity-sample/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/tensorflow-lite-gpu.aar.
error in opening zip file
Failed to transform tensorflow-lite-.aar (:tensorflow-lite:) to match attributes {artifactType=android-classes-jar, org.gradle.status=integration, org.gradle.usage=java-runtime}.
Execution failed for AarToClassTransform: /Users/jhclaura/Documents/Unity/_External/TensorFlow-Lite/tf-lite-unity-sample/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/tensorflow-lite.aar.
error in opening zip file
To Reproduce
Steps to reproduce the behavior:
Clone the repo
Open the repo with Unity 2021.3.10f1, set platform to Android
Update the project with newer version of Unity
Build
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!
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.
Environment:
Describe the bug Android build is failed with below message.
FAILURE: Build failed with an exception.
To Reproduce Steps to reproduce the behavior:
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!