Closed KornyAS closed 3 years ago
maby is android versions compatibility try Android 10 and high
I tested instant motion template apk and it functioned well on my android 9. So I need the same result.
Btw, I tried to test on android 10, but still black screen
Will you share the runtime log, please?
adb logcat Unity:V native:V tflite:V CRASH:E AndroidRuntime:E "*:S"
I cannot affirm anything without logs, but I suspect it's caused by https://github.com/google/mediapipe/issues/1617 . Will you also test if you can run the sample app with the below patch applied?
diff --git a/C/mediapipe_api/BUILD b/C/mediapipe_api/BUILD
index 37007f0..20c644c 100644
--- a/C/mediapipe_api/BUILD
+++ b/C/mediapipe_api/BUILD
@@ -107,10 +107,10 @@ cc_library(
"@com_google_mediapipe//mediapipe/graphs/hair_segmentation:mobile_calculators",
"@com_google_mediapipe//mediapipe/graphs/hand_tracking:mobile_calculators",
"@com_google_mediapipe//mediapipe/graphs/holistic_tracking:holistic_tracking_gpu_deps",
- "@com_google_mediapipe//mediapipe/graphs/instant_motion_tracking:instant_motion_tracking_deps",
+ # "@com_google_mediapipe//mediapipe/graphs/instant_motion_tracking:instant_motion_tracking_deps",
"@com_google_mediapipe//mediapipe/graphs/iris_tracking:iris_tracking_gpu_deps",
"@com_google_mediapipe//mediapipe/graphs/object_detection:mobile_calculators",
- "@com_google_mediapipe//mediapipe/graphs/object_detection_3d:mobile_calculators",
+ # "@com_google_mediapipe//mediapipe/graphs/object_detection_3d:mobile_calculators",
"@com_google_mediapipe//mediapipe/graphs/pose_tracking:upper_body_pose_tracking_gpu_deps",
"@com_google_mediapipe//mediapipe/graphs/tracking:mobile_calculators",
],
Will you share the runtime log, please?
03-07 02:15:45.343 8881 8897 I Unity : SystemInfo CPU = ARM64 FP ASIMD AES, Cores = 8, Memory = 2826mb 03-07 02:15:45.343 8881 8897 I Unity : 03-07 02:15:45.343 8881 8897 I Unity : SystemInfo ARM big.LITTLE configuration: 4 big (mask: 0xf), 4 little (mask: 0xf0) 03-07 02:15:45.343 8881 8897 I Unity : 03-07 02:15:45.344 8881 8897 I Unity : ApplicationInfo com.Template.TestAR version 0.1 build 073cfa9e-006f-4c85-9bba-dffa5b42abc1 03-07 02:15:45.344 8881 8897 I Unity : 03-07 02:15:45.344 8881 8897 I Unity : Built from '2020.2/release' branch, Version '2020.2.1f1 (270dd8c3da1c)', Build type 'Release', Scripting Backend 'mono', CPU 'armeabi-v7a', Stripping 'Disabled' 03-07 02:15:45.344 8881 8897 I Unity : 03-07 02:15:45.603 8881 8897 I Unity : Company Name: Template 03-07 02:15:45.603 8881 8897 I Unity : Product Name: TestAR 03-07 02:15:45.739 8881 8897 D Unity : GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_OES_texture_3D GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_sRGB_decode GL_EXT_texture_format_sRGB_override GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp GL_EXT_EGL_i 03-07 02:15:45.740 8881 8897 D Unity : mage_external_wrap_modes GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_OES_shader_multisample_interpolation GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5 GL_EXT_robustness GL_EXT_texture_buffer GL_EXT_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query GL_KHR_debug GL_EXT_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16 GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_EXT_debug_marker GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture GL_EXT_buffer_storage GL_EXT 03-07 02:15:45.740 8881 8897 D Unity : _external_buffer GL_EXT_blit_framebuffer_params GL_EXT_clip_cull_distance GL_EXT_shader_non_constant_global_initializers GL_QCOM_texture_foveated GL_QCOM_shader_framebuffer_fetch_noncoherent GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_EGL_image_array GL_NV_shader_noperspective_interpolation GL_KHR_robust_buffer_access_behavior GL_EXT_EGL_image_storage GL_EXT_blend_func_extended GL_EXT_clip_control 03-07 02:15:50.047 8881 8925 E Unity : DllNotFoundException: mediapipe_jni 03-07 02:15:50.047 8881 8925 E Unity : at (wrapper managed-to-native) Mediapipe.SafeNativeMethods.eglGetCurrentContext() 03-07 02:15:50.047 8881 8925 E Unity : at Mediapipe.Egl.getCurrentContext () [0x00000] in <2b69336195ea426bbf7bd604110e13bf>:0 03-07 02:15:50.047 8881 8925 E Unity : at SceneDirector.GetCurrentContext (System.Int32 eventId) [0x00000] in <ee631ed102754ad89e173b8301214009>:0 03-07 02:15:50.047 8881 8925 E Unity : UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) 03-07 02:15:50.047 8881 8925 E Unity : UnityEngine.DebugLogHandler:LogException(Exception, Object) 03-07 02:15:50.047 8881 8925 E Unity : UnityEngine.Logger:LogException(Exception, Object) 03-07 02:15:50.047 8881 8925 E Unity : UnityEngine.Debug:LogException(Exception) 03-07 02:15:50.047 8881 8925 E Unity : UnityEngine.<>c:<RegisterUECatcher>b__0_0(Object, UnhandledExceptionEventArgs) 03-07 02:15:50.047 8881 8925 E Unity : 03-07 02:15:50.122 8881 8897 I Unity : Graph Changed: Face Detection 03-07 02:15:50.122 8881 8897 I Unity : 03-07 02:15:50.358 8881 8897 E Unity : DllNotFoundException: mediapipe_jni 03-07 02:15:50.358 8881 8897 E Unity : at (wrapper managed-to-native) Mediapipe.SafeNativeMethods.mp_api__PrepareResourceManager(Mediapipe.ResourceManager/CacheFilePathResolver,Mediapipe.ResourceManager/ReadFileHandler) 03-07 02:15:50.358 8881 8897 E Unity : at Mediapipe.ResourceUtil.InitializeResourceManager (Mediapipe.ResourceManager resourceManager) [0x0000c] in <2b69336195ea426bbf7bd604110e13bf>:0 03-07 02:15:50.358 8881 8897 E Unity : at SceneDirector+<Start>d__17.MoveNext () [0x00046] in <ee631ed102754ad89e173b8301214009>:0 03-07 02:15:50.358 8881 8897 E Unity : --- End of stack trace from previous location where exception was thrown --- 03-07 02:15:50.358 8881 8897 E Unity : at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <9577ac7a62ef43179789031239ba8798>:0 03-07 02:15:50.358 8881 8897 E Unity : at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_0 (System.Object state) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 03-07 02:15:50.358 8881 8897 E Unity : at UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () [0x00002] in <e12aeddac25b4395aeaca946c70b344e>:0 03-07 02:15:50.358 8881 8897 E Unity : UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) 03-07 02:15:50.358 8881 8897 E Unity : UnityEngine.DebugLog 03-07 02:15:54.348 8881 8881 W Unity : Timeout while trying to pause the Unity Engine.
Here is first time start after building and below is second start, maybe there will be some differences:
03-07 02:18:51.426 9557 9591 I Unity : SystemInfo CPU = ARM64 FP ASIMD AES, Cores = 8, Memory = 2826mb 03-07 02:18:51.426 9557 9591 I Unity : 03-07 02:18:51.426 9557 9591 I Unity : SystemInfo ARM big.LITTLE configuration: 4 big (mask: 0xf), 4 little (mask: 0xf0) 03-07 02:18:51.426 9557 9591 I Unity : 03-07 02:18:51.427 9557 9591 I Unity : ApplicationInfo com.Template.TestAR version 0.1 build 073cfa9e-006f-4c85-9bba-dffa5b42abc1 03-07 02:18:51.427 9557 9591 I Unity : 03-07 02:18:51.428 9557 9591 I Unity : Built from '2020.2/release' branch, Version '2020.2.1f1 (270dd8c3da1c)', Build type 'Release', Scripting Backend 'mono', CPU 'armeabi-v7a', Stripping 'Disabled' 03-07 02:18:51.428 9557 9591 I Unity : 03-07 02:18:51.757 9557 9591 I Unity : Company Name: Template 03-07 02:18:51.758 9557 9591 I Unity : Product Name: TestAR 03-07 02:18:51.818 9557 9591 D Unity : GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_OES_texture_3D GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_sRGB_decode GL_EXT_texture_format_sRGB_override GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp GL_EXT_EGL_i 03-07 02:18:51.818 9557 9591 D Unity : mage_external_wrap_modes GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_OES_shader_multisample_interpolation GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5 GL_EXT_robustness GL_EXT_texture_buffer GL_EXT_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query GL_KHR_debug GL_EXT_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16 GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_EXT_debug_marker GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture GL_EXT_buffer_storage GL_EXT 03-07 02:18:51.818 9557 9591 D Unity : _external_buffer GL_EXT_blit_framebuffer_params GL_EXT_clip_cull_distance GL_EXT_shader_non_constant_global_initializers GL_QCOM_texture_foveated GL_QCOM_shader_framebuffer_fetch_noncoherent GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_EGL_image_array GL_NV_shader_noperspective_interpolation GL_KHR_robust_buffer_access_behavior GL_EXT_EGL_image_storage GL_EXT_blend_func_extended GL_EXT_clip_control 03-07 02:18:55.600 9557 9691 E Unity : DllNotFoundException: mediapipe_jni 03-07 02:18:55.600 9557 9691 E Unity : at (wrapper managed-to-native) Mediapipe.SafeNativeMethods.eglGetCurrentContext() 03-07 02:18:55.600 9557 9691 E Unity : at Mediapipe.Egl.getCurrentContext () [0x00000] in <2b69336195ea426bbf7bd604110e13bf>:0 03-07 02:18:55.600 9557 9691 E Unity : at SceneDirector.GetCurrentContext (System.Int32 eventId) [0x00000] in <ee631ed102754ad89e173b8301214009>:0 03-07 02:18:55.600 9557 9691 E Unity : UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) 03-07 02:18:55.600 9557 9691 E Unity : UnityEngine.DebugLogHandler:LogException(Exception, Object) 03-07 02:18:55.600 9557 9691 E Unity : UnityEngine.Logger:LogException(Exception, Object) 03-07 02:18:55.600 9557 9691 E Unity : UnityEngine.Debug:LogException(Exception) 03-07 02:18:55.600 9557 9691 E Unity : UnityEngine.<>c:<RegisterUECatcher>b__0_0(Object, UnhandledExceptionEventArgs) 03-07 02:18:55.600 9557 9691 E Unity : 03-07 02:18:55.610 9557 9591 I Unity : Graph Changed: Face Detection 03-07 02:18:55.610 9557 9591 I Unity : 03-07 02:18:55.830 9557 9591 E Unity : DllNotFoundException: mediapipe_jni 03-07 02:18:55.830 9557 9591 E Unity : at (wrapper managed-to-native) Mediapipe.SafeNativeMethods.mp_api__PrepareResourceManager(Mediapipe.ResourceManager/CacheFilePathResolver,Mediapipe.ResourceManager/ReadFileHandler) 03-07 02:18:55.830 9557 9591 E Unity : at Mediapipe.ResourceUtil.InitializeResourceManager (Mediapipe.ResourceManager resourceManager) [0x0000c] in <2b69336195ea426bbf7bd604110e13bf>:0 03-07 02:18:55.830 9557 9591 E Unity : at SceneDirector+<Start>d__17.MoveNext () [0x00046] in <ee631ed102754ad89e173b8301214009>:0 03-07 02:18:55.830 9557 9591 E Unity : --- End of stack trace from previous location where exception was thrown --- 03-07 02:18:55.830 9557 9591 E Unity : at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <9577ac7a62ef43179789031239ba8798>:0 03-07 02:18:55.830 9557 9591 E Unity : at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_0 (System.Object state) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 03-07 02:18:55.830 9557 9591 E Unity : at UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () [0x00002] in <e12aeddac25b4395aeaca946c70b344e>:0 03-07 02:18:55.830 9557 9591 E Unity : UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) 03-07 02:18:55.830 9557 9591 E Unity : UnityEngine.DebugLog
If I got the line "DllNotFoundException: mediapipe_jni 03-07 02:18:55.830 9557 9591 E Unity : at (wrapper managed-to-native)" correctly, it cannot find mediapipe_jni. Is it true and how to fix it?
Will you also test if you can run the sample app with the below patch applied?
Don't really got you, you mean my app or what?
Well, if you build and run your original apps, will you describe the conditions more elaborately, please?
DllNotFoundException
is thrown when the library is missing or broken.
Please make sure that your apk include libmediapipe_jni.so
first (if you misplaced mediapipe_android.aar
, this could happen).
If you have changed source code under C
, then libmediapipe_jni.so
might be broken.
Please make sure that your apk include
libmediapipe_jni.so
first (if you misplacedmediapipe_android.aar
, this could happen).
It doesn't. I don't even have this library in that project. I just have libmediapipe_c.dylib in Plugins, Android and iOS folders are empty. I tried to download them from your repository again, but there are no libraries in your repository. Where can I find this libraries or at least only Android plugin?
Build it by yourself, please. https://github.com/homuler/MediaPipeUnityPlugin#android
I tried and now I have this error
MacBook-Air-Aleksandr:MediaPipeUnityPlugin Sasha$ export ANDROID_HOME=/Applications/Unity/Hub/Editor/2020.2.1f1/PlaybackEngines/AndroidPlayer/SDK MacBook-Air-Aleksandr:MediaPipeUnityPlugin Sasha$ export ANDROID_NDK_HOME=/Users/Sasha/Downloads/android-ndk-r21e MacBook-Air-Aleksandr:MediaPipeUnityPlugin Sasha$ make android_arm64 cd C && bazel build -c opt --config=android_arm64 mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android mediapipe_api:mediapipe_assets mediapipe_api:mediapipe_proto_srcs DEBUG: /private/var/tmp/_bazel_Sasha/48f7951144e1cacfd0162883254f1418/external/rules_foreign_cc/workspace_definitions.bzl:15:10: WARNING: This branch is deprecated and no longer recieving updates. Please update to
main` or choose a specific commit to pin in your workspace.
WARNING: API level 30 specified by android_ndk_repository 'androidndk' is not available. Using latest known API level 29
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:AudioDataConsumer.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:AudioDataProcessor.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:AudioDataProducer.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:CameraHelper.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:CameraXPreviewHelper.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:ExternalTextureConverter.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:FrameProcessor.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:MicrophoneHelper.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:PermissionHelper.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:TextureFrameConsumer.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:TextureFrameProcessor.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:TextureFrameProducer.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:AndroidAssetUtil.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:AndroidPacketCreator.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:AndroidPacketGetter.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:AppTextureFrame.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:AssetCache.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:AssetCacheDbHelper.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:Compat.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:GlSyncToken.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:Graph.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:GraphGlSyncToken.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:GraphProfiler.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:GraphService.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:GraphTextureFrame.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:MediaPipeException.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:MediaPipeRunner.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:Packet.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:PacketCallback.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:PacketCreator.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:PacketGetter.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:PacketWithHeaderCallback.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:ProtoUtil.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:SurfaceOutput.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:TextureFrame.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:TextureReleaseCallback.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:TypeNameRegistry.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:TypeNameRegistryLite.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/glutil:CommonShaders.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/glutil:EglManager.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/glutil:ExternalTextureRenderer.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/glutil:GlThread.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/glutil:ShaderUtil.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/glutil:TextureRenderer.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
INFO: Analyzed 3 targets (0 packages loaded, 0 targets configured).
INFO: Found 3 targets...
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/framework/calculator.pb.h:
bazel-out/android-arm64-v8a-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/detections_to_rects_calculator.pb.h:
bazel-out/android-arm64-v8a-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
ERROR: /private/var/tmp/_bazel_Sasha/48f7951144e1cacfd0162883254f1418/external/com_google_mediapipe/mediapipe/util/android/BUILD:17:11: Compiling mediapipe/util/android/asset_manager_util.cc failed: (Exit 1): clang failed: error executing command external/androidndk/ndk/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -gcc-toolchain external/androidndk/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64 -target ... (remaining 49 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox clang failed: error executing command external/androidndk/ndk/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -gcc-toolchain external/androidndk/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64 -target ... (remaining 49 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox src/main/tools/process-wrapper-legacy.cc:80: "execvp(external/androidndk/ndk/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang, ...)": No such file or directory INFO: Elapsed time: 10.750s, Critical Path: 9.41s INFO: 149 processes: 129 internal, 20 darwin-sandbox. FAILED: Build did NOT complete successfully make: *** [android_arm64] Error 1 ` Smt is wrong, I guess...
@Almazikman are you build Android & IOS native library succeed?
No, I sent my terminal in previous comment, I have a error in there
@Almazikman Will you run the below command and share the log?
cd C && bazel build -c opt --config=android_arm64 --sandbox_debug mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android
cd C && bazel build -c opt --config=ios_arm64 --copt=-fembed-bitcode --apple_bitcode=embedded mediapipe_api/objc:MediaPipeUnity mediapipe_api:mediapipe_assets mediapipe_api:mediapipe_proto_srcs /bin/sh: 1: bazel: not found make: *** [Makefile:55: ios_arm64] Error 127
@homuler show bazel not found, need set bazel to a system variable? Bazel is working fine.
@AlanWuJinliang I guess your case is different from this issue.
In your case, please run the below command (with --sandbox_debug
).
cd C && bazel build -c opt --config=ios_arm64 --copt=-fembed-bitcode --apple_bitcode=embedded --sandbox_debug mediapipe_api/objc:MediaPipeUnity
@homuler In fact, I had this problem compiling on a Mac, and I don't know how to fix it. So I use Ubuntu now.
The message above is a problem I'm having with Ubuntu
Will you continue on your own issue #80? And in any case, please run the exact command I told and share the log. I'm not clairvoyant.
haha, I'm trying both sides right now. and I'll provide the log after that
@Almazikman Will you run the below command and share the log?
cd C && bazel build -c opt --config=android_arm64 --sandbox_debug mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android
MacBook-Air-Aleksandr:MediaPipeUnityPlugin Sasha$ cd C && bazel build -c opt --config=android_arm64 --sandbox_debug mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android DEBUG: /private/var/tmp/_bazel_Sasha/48f7951144e1cacfd0162883254f1418/external/rules_foreign_cc/workspace_definitions.bzl:15:10: WARNING: This branch is deprecated and no longer recieving updates. Please update to
mainor choose a specific commit to pin in your workspace. WARNING: API level 30 specified by android_ndk_repository 'androidndk' is not available. Using latest known API level 29 WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:AudioDataConsumer.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:AudioDataProcessor.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:AudioDataProducer.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:CameraHelper.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:CameraXPreviewHelper.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:ExternalTextureConverter.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:FrameProcessor.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:MicrophoneHelper.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:PermissionHelper.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:TextureFrameConsumer.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:TextureFrameProcessor.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:TextureFrameProducer.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:AndroidAssetUtil.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:AndroidPacketCreator.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:AndroidPacketGetter.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:AppTextureFrame.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:AssetCache.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:AssetCacheDbHelper.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:Compat.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:GlSyncToken.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:Graph.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:GraphGlSyncToken.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:GraphProfiler.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:GraphService.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:GraphTextureFrame.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:MediaPipeException.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:MediaPipeRunner.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:Packet.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:PacketCallback.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:PacketCreator.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:PacketGetter.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:PacketWithHeaderCallback.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:ProtoUtil.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:SurfaceOutput.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:TextureFrame.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:TextureReleaseCallback.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:TypeNameRegistry.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:TypeNameRegistryLite.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/glutil:CommonShaders.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/glutil:EglManager.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/glutil:ExternalTextureRenderer.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/glutil:GlThread.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/glutil:ShaderUtil.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation WARNING: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/glutil:TextureRenderer.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation INFO: Analyzed target //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android (195 packages loaded, 19272 targets configured). INFO: Found 1 target... ERROR: /private/var/tmp/_bazel_Sasha/48f7951144e1cacfd0162883254f1418/external/XNNPACK/BUILD.bazel:3686:19: Compiling src/f32-vrnd/gen/vrndne-neonv8-x8.c failed: (Exit 1): sandbox-exec failed: error executing command (cd /private/var/tmp/_bazel_Sasha/48f7951144e1cacfd0162883254f1418/sandbox/darwin-sandbox/563/execroot/mediapipe_api && \ exec env - \ PATH='/usr/local/opt/ruby/bin:/opt/local/bin:/opt/local/sbin:/usr/local/opt/ruby/bin:/usr/local/opt/ruby/bin:/usr/local/opt/ruby/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/Sasha/bin' \ PWD=/proc/self/cwd \ TMPDIR=/var/folders/2v/fdmcmnj57sq0tyyd5rlf_sn80000gn/T/ \ /usr/bin/sandbox-exec -f /private/var/tmp/_bazel_Sasha/48f7951144e1cacfd0162883254f1418/sandbox/darwin-sandbox/563/sandbox.sb /var/tmp/_bazel_Sasha/install/97cf8d40e3de7fca7ef885fa763bde13/process-wrapper '--timeout=0' '--kill_delay=15' external/androidndk/ndk/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -gcc-toolchain external/androidndk/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64 -target aarch64-none-linux-android -fpic -isystemexternal/androidndk/ndk/sysroot/usr/include/aarch64-linux-android '-D__ANDROID_API__=29' -no-canonical-prefixes -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -funwind-tables -fstack-protector-strong -fno-addrsig '-Werror=return-type' '-Werror=int-to-pointer-cast' '-Werror=pointer-to-int-cast' '-Werror=implicit-function-declaration' -O2 -g -DNDEBUG -MD -MF bazel-out/android-arm64-v8a-opt/bin/external/XNNPACK/_objs/neonv8_ukernels/vrndne-neonv8-x8.pic.d '-frandom-seed=bazel-out/android-arm64-v8a-opt/bin/external/XNNPACK/_objs/neonv8_ukernels/vrndne-neonv8-x8.pic.o' -fPIC -DPTHREADPOOL_NO_DEPRECATED_API -iquote external/XNNPACK -iquote bazel-out/android-arm64-v8a-opt/bin/external/XNNPACK -iquote external/FP16 -iquote bazel-out/android-arm64-v8a-opt/bin/external/FP16 -iquote external/pthreadpool -iquote bazel-out/android-arm64-v8a-opt/bin/external/pthreadpool -iquote external/FXdiv -iquote bazel-out/android-arm64-v8a-opt/bin/external/FXdiv -iquote external/cpuinfo -iquote bazel-out/android-arm64-v8a-opt/bin/external/cpuinfo -iquote external/clog -iquote bazel-out/android-arm64-v8a-opt/bin/external/clog -Ibazel-out/android-arm64-v8a-opt/bin/external/FP16/_virtual_includes/FP16 -Ibazel-out/android-arm64-v8a-opt/bin/external/pthreadpool/_virtual_includes/pthreadpool -Ibazel-out/android-arm64-v8a-opt/bin/external/FXdiv/_virtual_includes/FXdiv -Ibazel-out/android-arm64-v8a-opt/bin/external/cpuinfo/_virtual_includes/cpuinfo -Ibazel-out/android-arm64-v8a-opt/bin/external/clog/_virtual_includes/clog -isystem external/XNNPACK/include -isystem bazel-out/android-arm64-v8a-opt/bin/external/XNNPACK/include -isystem external/XNNPACK/src -isystem bazel-out/android-arm64-v8a-opt/bin/external/XNNPACK/src -isystem external/FP16/include -isystem bazel-out/android-arm64-v8a-opt/bin/external/FP16/include -isystem external/pthreadpool/include -isystem bazel-out/android-arm64-v8a-opt/bin/external/pthreadpool/include -isystem external/FXdiv/include -isystem bazel-out/android-arm64-v8a-opt/bin/external/FXdiv/include -w -Iinclude -Isrc '-std=c99' -O2 '--sysroot=external/androidndk/ndk/platforms/android-29/arch-arm64' -isystem external/androidndk/ndk/sources/cxx-stl/llvm-libc++/include -isystem external/androidndk/ndk/sources/cxx-stl/llvm-libc++abi/include -isystem external/androidndk/ndk/sources/android/support/include -isystemexternal/androidndk/ndk/sysroot/usr/include -c external/XNNPACK/src/f32-vrnd/gen/vrndne-neonv8-x8.c -o bazel-out/android-arm64-v8a-opt/bin/external/XNNPACK/_objs/neonv8_ukernels/vrndne-neonv8-x8.pic.o) sandbox-exec failed: error executing command (cd /private/var/tmp/_bazel_Sasha/48f7951144e1cacfd0162883254f1418/sandbox/darwin-sandbox/563/execroot/mediapipe_api && \ exec env - \ PATH='/usr/local/opt/ruby/bin:/opt/local/bin:/opt/local/sbin:/usr/local/opt/ruby/bin:/usr/local/opt/ruby/bin:/usr/local/opt/ruby/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/Sasha/bin' \ PWD=/proc/self/cwd \ TMPDIR=/var/folders/2v/fdmcmnj57sq0tyyd5rlf_sn80000gn/T/ \ /usr/bin/sandbox-exec -f /private/var/tmp/_bazel_Sasha/48f7951144e1cacfd0162883254f1418/sandbox/darwin-sandbox/563/sandbox.sb /var/tmp/_bazel_Sasha/install/97cf8d40e3de7fca7ef885fa763bde13/process-wrapper '--timeout=0' '--kill_delay=15' external/androidndk/ndk/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -gcc-toolchain external/androidndk/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64 -target aarch64-none-linux-android -fpic -isystemexternal/androidndk/ndk/sysroot/usr/include/aarch64-linux-android '-D__ANDROID_API__=29' -no-canonical-prefixes -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -funwind-tables -fstack-protector-strong -fno-addrsig '-Werror=return-type' '-Werror=int-to-pointer-cast' '-Werror=pointer-to-int-cast' '-Werror=implicit-function-declaration' -O2 -g -DNDEBUG -MD -MF bazel-out/android-arm64-v8a-opt/bin/external/XNNPACK/_objs/neonv8_ukernels/vrndne-neonv8-x8.pic.d '-frandom-seed=bazel-out/android-arm64-v8a-opt/bin/external/XNNPACK/_objs/neonv8_ukernels/vrndne-neonv8-x8.pic.o' -fPIC -DPTHREADPOOL_NO_DEPRECATED_API -iquote external/XNNPACK -iquote bazel-out/android-arm64-v8a-opt/bin/external/XNNPACK -iquote external/FP16 -iquote bazel-out/android-arm64-v8a-opt/bin/external/FP16 -iquote external/pthreadpool -iquote bazel-out/android-arm64-v8a-opt/bin/external/pthreadpool -iquote external/FXdiv -iquote bazel-out/android-arm64-v8a-opt/bin/external/FXdiv -iquote external/cpuinfo -iquote bazel-out/android-arm64-v8a-opt/bin/external/cpuinfo -iquote external/clog -iquote bazel-out/android-arm64-v8a-opt/bin/external/clog -Ibazel-out/android-arm64-v8a-opt/bin/external/FP16/_virtual_includes/FP16 -Ibazel-out/android-arm64-v8a-opt/bin/external/pthreadpool/_virtual_includes/pthreadpool -Ibazel-out/android-arm64-v8a-opt/bin/external/FXdiv/_virtual_includes/FXdiv -Ibazel-out/android-arm64-v8a-opt/bin/external/cpuinfo/_virtual_includes/cpuinfo -Ibazel-out/android-arm64-v8a-opt/bin/external/clog/_virtual_includes/clog -isystem external/XNNPACK/include -isystem bazel-out/android-arm64-v8a-opt/bin/external/XNNPACK/include -isystem external/XNNPACK/src -isystem bazel-out/android-arm64-v8a-opt/bin/external/XNNPACK/src -isystem external/FP16/include -isystem bazel-out/android-arm64-v8a-opt/bin/external/FP16/include -isystem external/pthreadpool/include -isystem bazel-out/android-arm64-v8a-opt/bin/external/pthreadpool/include -isystem external/FXdiv/include -isystem bazel-out/android-arm64-v8a-opt/bin/external/FXdiv/include -w -Iinclude -Isrc '-std=c99' -O2 '--sysroot=external/androidndk/ndk/platforms/android-29/arch-arm64' -isystem external/androidndk/ndk/sources/cxx-stl/llvm-libc++/include -isystem external/androidndk/ndk/sources/cxx-stl/llvm-libc++abi/include -isystem external/androidndk/ndk/sources/android/support/include -isystemexternal/androidndk/ndk/sysroot/usr/include -c external/XNNPACK/src/f32-vrnd/gen/vrndne-neonv8-x8.c -o bazel-out/android-arm64-v8a-opt/bin/external/XNNPACK/_objs/neonv8_ukernels/vrndne-neonv8-x8.pic.o) src/main/tools/process-wrapper-legacy.cc:80: "execvp(external/androidndk/ndk/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang, ...)": No such file or directory Target //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 677.753s, Critical Path: 393.57s INFO: 751 processes: 191 internal, 560 darwin-sandbox. FAILED: Build did NOT complete successfully
Here is my logs
@AlanWuJinliang I guess your case is different from this issue. In your case, please run the below command (with
--sandbox_debug
).cd C && bazel build -c opt --config=ios_arm64 --copt=-fembed-bitcode --apple_bitcode=embedded --sandbox_debug mediapipe_api/objc:MediaPipeUnity
I tried also this line just in case, here is my logs:
MacBook-Air-Aleksandr:C Sasha$ bazel build -c opt --config=ios_arm64 --copt=-fembed-bitcode --apple_bitcode=embedded --sandbox_debug mediapipe_api/objc:MediaPipeUnity DEBUG: /private/var/tmp/_bazel_Sasha/48f7951144e1cacfd0162883254f1418/external/rules_foreign_cc/workspace_definitions.bzl:15:10: WARNING: This branch is deprecated and no longer recieving updates. Please update to
mainor choose a specific commit to pin in your workspace. INFO: Build options --apple_bitcode, --apple_platform_type, --copt, and 5 more have changed, discarding analysis cache. ERROR: /private/var/tmp/_bazel_Sasha/48f7951144e1cacfd0162883254f1418/external/build_bazel_rules_apple/tools/realpath/BUILD:9:14: in _apple_genrule_inner rule @build_bazel_rules_apple//tools/realpath:realpath_genrule: Traceback (most recent call last): File "/private/var/tmp/_bazel_Sasha/48f7951144e1cacfd0162883254f1418/external/build_bazel_apple_support/rules/apple_genrule.bzl", line 78, column 28, in _apple_genrule_impl apple_support.run_shell( File "/private/var/tmp/_bazel_Sasha/48f7951144e1cacfd0162883254f1418/external/build_bazel_apple_support/lib/apple_support.bzl", line 326, column 26, in _run_shell ctx.actions.run_shell(**_kwargs_for_apple_platform(ctx, **kwargs)) Error in run_shell: 'command' must be of type string. passing a sequence of strings as 'command' is deprecated. To temporarily disable this check, set --incompatible_run_shell_command_string=false. INFO: Repository ios_opencv instantiated at: /Users/Sasha/mediapipe/MediaPipeUnityPlugin/C/WORKSPACE:274:13: in <toplevel> Repository rule http_archive defined at: /private/var/tmp/_bazel_Sasha/48f7951144e1cacfd0162883254f1418/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel> ERROR: Analysis of target '//mediapipe_api/objc:MediaPipeUnity' failed; build aborted: Analysis of target '@build_bazel_rules_apple//tools/realpath:realpath_genrule' failed INFO: Elapsed time: 4.584s INFO: 0 processes. FAILED: Build did NOT complete successfully (13 packages loaded, 422 targets configured)
@homuler Hello, still waiting for your reply. We need mediapipe asap.
Done, problem solved, but one more appears. I created new issue for that
I'm trying to build for android using MacOS, but after successful building - it doesn't open at all. I just see an Unity logo and after this - just black screen and nothing else. It doesn't even crash, just don't wanna open.
My config: Mono .Net 4.x only ARMv7
I noticed that it doesn't work with NDK 22 and I tried to use default NDK 19, installed by Unity Hub and I also tried to use NDK 21. Nothing worked. Any ideas what I have to do to fix it?