Open santhamethran opened 8 months ago
Hello, thank you for your response. We are enthusiastic about receiving contributions from our community. If your issue/comment requires support, please see the Camera Kit Community Forum for support as support requests on this repo will be closed out. Code contributions will be reviewed regularly. Thank you!
I had the same. This error showed every time I tried to open one of the lenses:
2024-05-15 14:47:52.439 19771-19855 Unity com.fictionalcompany.mygame E AndroidJavaException: java.lang.ClassNotFoundException: com.snap.camerakitsamples.unity.android.MainUnityActivity
java.lang.ClassNotFoundException: com.snap.camerakitsamples.unity.android.MainUnityActivity
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:536)
at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
at com.unity3d.player.UnityPlayer.-$$Nest$mnativeRender(Unknown Source:0)
at com.unity3d.player.UnityPlayer$F$a.handleMessage(Unknown Source:122)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at com.unity3d.player.UnityPlayer$F.run(Unknown Source:24)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.snap.camerakitsamples.unity.android.MainUnityActivity" on path: DexPathList[[zip file "/data/app/-MsCRQm6HvIN3xg3kGaJpQ==/com.fictionalcompany.mygame-g0hQrGoakmSDU7r_6LPyZg==/base.apk"],nativeLibraryDirectories=[/data/app/-MsCRQm6HvI
I had the same. This error showed every time I tried to open one of the lenses:
2024-05-15 14:47:52.439 19771-19855 Unity com.fictionalcompany.mygame E AndroidJavaException: java.lang.ClassNotFoundException: com.snap.camerakitsamples.unity.android.MainUnityActivity java.lang.ClassNotFoundException: com.snap.camerakitsamples.unity.android.MainUnityActivity at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:536) at com.unity3d.player.UnityPlayer.nativeRender(Native Method) at com.unity3d.player.UnityPlayer.-$$Nest$mnativeRender(Unknown Source:0) at com.unity3d.player.UnityPlayer$F$a.handleMessage(Unknown Source:122) at android.os.Handler.dispatchMessage(Handler.java:103) at android.os.Looper.loopOnce(Looper.java:232) at android.os.Looper.loop(Looper.java:317) at com.unity3d.player.UnityPlayer$F.run(Unknown Source:24) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.snap.camerakitsamples.unity.android.MainUnityActivity" on path: DexPathList[[zip file "/data/app/~-MsCRQm6HvIN3xg3kGaJpQ==/com.fictionalcompany.mygame-g0hQrGoakmSDU7r_6LPyZg==/base.apk"],nativeLibraryDirectories=[/data/app/~-MsCRQm6HvI
Hello there. I'm also having the same issue here.
After following the instructions provided in the readme file, I built the application for Android. When I ran it on my mobile device, the button functionality worked, but the camera did not open; instead, I could only see my home screen. I checked the camera permission option in the app info, and it's enabled. How can I resolve this issue?
Hey there. I'm trying the same sample too and i'm having the same problem, the logcat shows me this.
After following the instructions provided in the readme file, I built the application for Android. When I ran it on my mobile device, the button functionality worked, but the camera did not open; instead, I could only see my home screen. I checked the camera permission option in the app info, and it's enabled. How can I resolve this issue?