googlearchive / tango-examples-unity

Project Tango [deprecated] UnitySDK Example Projects
https://developers.google.com/ar
Apache License 2.0
470 stars 242 forks source link

Cardboard exception #94

Open vinhui opened 7 years ago

vinhui commented 7 years ago

When trying to run the TangoCardboardWithMeshing scene on device, i get the following exceptions.

06-01 14:57:06.861 18095 18111 I Unity   : AndroidLifecycle callback set
06-01 14:57:06.861 18095 18111 I Unity   :
06-01 14:57:06.861 18095 18111 I Unity   : (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)
06-01 14:57:06.861 18095 18111 I Unity   :
06-01 14:57:06.914 18095 18111 I Unity   : AreaDescriptionEventListener.SetCallback()
06-01 14:57:06.914 18095 18111 I Unity   :
06-01 14:57:06.914 18095 18111 I Unity   : (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)
06-01 14:57:06.914 18095 18111 I Unity   :
06-01 14:57:07.262 18095 18111 I Unity   : Cardboard audio system is initialized (Quality: Medium, Sample Rate: 24000, Channels: 2, Frames Per Buffer: 512).
06-01 14:57:07.262 18095 18111 I Unity   :
06-01 14:57:07.262 18095 18111 I Unity   : (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)
06-01 14:57:07.262 18095 18111 I Unity   :
06-01 14:57:08.117 18095 18111 I Unity   : AndroidJavaException : java.lang.NoSuchMethodError: no non-static method "Lcom/google/unity/GoogleUnityActivity;.checkAndroidPermission(Ljava/lang/String;)Z"
06-01 14:57:08.117 18095 18111 I Unity   :
06-01 14:57:08.117 18095 18111 I Unity   : (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)
06-01 14:57:08.117 18095 18111 I Unity   :
06-01 14:57:08.124 18095 18111 I Unity   : AndroidJavaException : java.lang.NoSuchMethodError: no non-static method "Lcom/google/unity/GoogleUnityActivity;.requestAndroidPermissions([Ljava/lang/String;I)V"
06-01 14:57:08.124 18095 18111 I Unity   :
06-01 14:57:08.124 18095 18111 I Unity   : (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)

I tried using unity 5.2.1f1 and 5.6.0f3