Пікірлер
@Jakonito
@Jakonito Күн бұрын
Actually saved me, thank you goat🐐
@michaelfinne617
@michaelfinne617 19 күн бұрын
Thank you
@shantanuniit
@shantanuniit Ай бұрын
Do you have public repo of this code ?
@Xeldar
@Xeldar 2 ай бұрын
I get the "Exception: Field currentActivity or type signature not found" error. Please help me
@DeepBunnyHole
@DeepBunnyHole 3 ай бұрын
Awesome tutorial! All work with first try!
@coderaven1107
@coderaven1107 3 ай бұрын
@Voitanium: Thank you a lot for posting these! I am curious, what is your background?
@thebulletkin8393
@thebulletkin8393 5 ай бұрын
I've always kept the unityPlayerActivity in the package it comes from in the game build library, are there any issues if you were to move them across?
@carlosa2843
@carlosa2843 5 ай бұрын
How could I call location permissions in unity?
@totenbartek
@totenbartek 5 ай бұрын
Thank you very much for straightforward explanation with nice examples!
@rkpixeldesign
@rkpixeldesign 5 ай бұрын
still works to this date just tested it (1 April 2024)
@animevoyage_official
@animevoyage_official 6 ай бұрын
How and where are you running the APP, How are you getting logs on Android studio
@harsh3771
@harsh3771 6 ай бұрын
why I am getting an Exception : Field currntActivity or Type signature not found ?
@PatrickCreations
@PatrickCreations 6 ай бұрын
It is still a useful tutorial in 2024, approvved! 💯💯💯
@harsh3771
@harsh3771 6 ай бұрын
why I am getting an Exception : Field currentActivity or Type signature not found ?
@totenbartek
@totenbartek 5 ай бұрын
@@harsh3771I've had the same issue, this just says that you cannot run your plugin in editor because there is no java used in it - you need to build it and (for me) wrong code in editor worked fine on android
@lucasjhonatan1342
@lucasjhonatan1342 5 ай бұрын
​@@totenbartek O Unity possui a estrutura para plataforma desktop, não é possível testar esse plugin diretamente no editor, pois o aar foi criado para a linguagem nativa do Android.
@coderaven1107
@coderaven1107 3 ай бұрын
Thank you for your comment, I was in a hurry and I think I wouldnt have watched it without your comment. Crazy how close I was to miss this goldmine. Definitely still relevant and helping me A TON with my master's thesis right now!
@Deyb-qc9ft
@Deyb-qc9ft 6 ай бұрын
Can you share the project, i follow your tutorial but I can't make it work
@harshitdhanuka5407
@harshitdhanuka5407 7 ай бұрын
hello, I want to perform face recognition in unity without using Android Studio. can you help me out with the same?
@UmairAli-bt6kj
@UmairAli-bt6kj 7 ай бұрын
Simple and effective. Thanks.
@JoyCatDev
@JoyCatDev 8 ай бұрын
hello thanks for the video , but im facing problem, when i build i cant find AAR file, do you know why ?
@mingming1869
@mingming1869 8 ай бұрын
Hewwo the model and classes is success, but how i can create custom datasets and add it?
@funkyjeans8667
@funkyjeans8667 9 ай бұрын
thank you so much. I couldn't find any other tutorial that was helpful as yours.
@melitt6813
@melitt6813 9 ай бұрын
can you offer an demo (android with opencv)? I dont know why, when I created an android demo with opencv, always failed. a lot errors for me! Thank you !
@shenny2592
@shenny2592 9 ай бұрын
Can I replace pytorch model with yolov5 model?
@Program-withsagar2865
@Program-withsagar2865 9 ай бұрын
New problem in openCV implementation openCV 4.8.0 with android giraffe version is Plugin [id: 'com.android.application', version: '8.1.0', apply: false] was not found in any of the following sources
@Sp-lg5me
@Sp-lg5me 8 ай бұрын
Please use build configuration Groovy DSL while creating the new android project.
@alperdemir8657
@alperdemir8657 10 ай бұрын
i'm getting Plugin with id 'com.android.library' not found error. How can i solve it ?
@SlothHuntOnYou
@SlothHuntOnYou 10 ай бұрын
it's good place to put some "private keys" in that plugin?
@slashie
@slashie 11 ай бұрын
Thank you for this!
@jacopozuliani6914
@jacopozuliani6914 Жыл бұрын
It gives me an error on the dependencies part. compileOnly files("libs\\classes.jar") will always give an error. i tried several different things but it seems that compileOnly won't accept a files() as argument, I don't know if it's because it is the gradle for an android library...
@jacopozuliani6914
@jacopozuliani6914 Жыл бұрын
Ok, in the end it was a mix between syntax error and the fact that to work I needed to manually sync the IDE with gradle. In my case the syntax was: compileOnly(files("libs/classes.jar"))
@HammaGaming
@HammaGaming Жыл бұрын
Can you give us a solution to change display refreshrate using android studio plugin to unity ??
@HammaGaming
@HammaGaming Жыл бұрын
Can you give us a solution to change display refreshrate using android studio plugin to unity ??
@HammaGaming
@HammaGaming Жыл бұрын
Can you give us a solution to change display refreshrate using android studio plugin to unity ??
@HammaGaming
@HammaGaming Жыл бұрын
Can you give us a solution to change display refreshrate using android studio plugin to unity ??
@HammaGaming
@HammaGaming Жыл бұрын
Can you give us a solution to change display refreshrate using android studio plugin to unity ??
@user-ku8db8xo5c
@user-ku8db8xo5c Жыл бұрын
Thank you for the helpful video. I believe there is one error around the 9:23 minute mark in the way you reference the activity. Instantiating a new instance of the activity proved problematic for more advanced scenarios, since the activity was already instantiated and methods like the onCreate routine fired once at launch due to the steps earlier in the video where modifications are made to the manifest to launch the activity at startup. Instead, I found that I could access the already instantiated activity with code something like the following: AndroidJavaClass unityClass; AndroidJavaObject _pluginActivity; void Start() { unityClass = new AndroidJavaClass("com.unity3d.player.UnityPlayer"); _pluginActivity = unityClass.GetStatic<AndroidJavaObject>("currentActivity"); ...
@shefyg
@shefyg Жыл бұрын
Excellent - very nice. I was sure I'm going to have some debugging to do . Worked like a charm.
@dmitrykhutornoy5053
@dmitrykhutornoy5053 Жыл бұрын
Hello, thanks a lot for the video! Can you explain to me how to use in plugin broadcast receiver in Unity?
@MOMO-ih5vr
@MOMO-ih5vr Жыл бұрын
you make the greate Video! Thank for your video!!! That it very helpful!!!
@midanish2k
@midanish2k Жыл бұрын
Does anybody know whether this code works if we replaced it with our own pre-trained model with different dataset?
@faisalhazry
@faisalhazry Жыл бұрын
have you try?
@hafizpambudi_2ka298
@hafizpambudi_2ka298 3 ай бұрын
you should use transfer learning architecture. you should adjust the last layer of pre trained model
@jhandryramirolapojima2502
@jhandryramirolapojima2502 Жыл бұрын
why imageAnalize generate a error
@sealfoss
@sealfoss Жыл бұрын
bro you are the hero we needed. right to the point, exactly what i needed. tyvm.
@obbevermeij7285
@obbevermeij7285 Жыл бұрын
Thanks. Very helpful.
@Vaultcrawl
@Vaultcrawl Жыл бұрын
dude, you're just amazing, thank you very much!
@Mdahanaftahmid
@Mdahanaftahmid Жыл бұрын
I will be a great help if you could share the souce code of the android part.
@ming254
@ming254 Жыл бұрын
great!
@stonegolemstudios
@stonegolemstudios Жыл бұрын
Super easy to follow along thanks! Unity is throwing an error "unityActivity = unityClass.GetStatic<AndroidJavaObject>("currentActivity");" on this line. It can't find the current activity? Any insight would be awesome thanks
@ivicaskrobo1896
@ivicaskrobo1896 Жыл бұрын
Man that is cool. I love it
@542chennurujagadeeswarredd4
@542chennurujagadeeswarredd4 Жыл бұрын
for our custom .ptl model we got error in this Ivalue ``` Tensor outputTensor = module.forward(IValue.from(inputTensor)).toTensor(); float[] scores = outputTensor.getDataAsFloatArray(); ``` and ``` IValue inputs = IValue.from(outputTensor); IValue[] outputs = module.forward(inputs).toTuple(); ``` i tried in both ways i got the error like this ``` java.lang.IllegalStateException: Expected IValue type Tuple, actual type TensorList at org.pytorch.IValue.preconditionType(IValue.java:332) at org.pytorch.IValue.toTuple(IValue.java:313) ``` please help me sir
@542chennurujagadeeswarredd4
@542chennurujagadeeswarredd4 Жыл бұрын
thank you ,im working on pytorch model it help me lot
@antoinekeller2786
@antoinekeller2786 Жыл бұрын
Hi, thanks a lot for the video! I have a problem with the camera, display is horizontal when it must be vertical and vice versa. Any idea how to fix this?
@tayjen59
@tayjen59 Жыл бұрын
great video man, however could u please share the code, or at least give source for imports
@tayjen59
@tayjen59 Жыл бұрын
I mean in the MainActivity imports
@sencerdurdu3814
@sencerdurdu3814 Жыл бұрын
Hello, I have a problem with the orientation of the camera. When I have the cell phone vertically, the video appears horizontally and vice versa. Could you advise me how to fix this error?
@jurgisserksnas2481
@jurgisserksnas2481 Жыл бұрын
Love you man, no homo