I am trying to test in app purchases in Unity 2019.2.0f1, and when I try to build the apk, I keep getting error: Unable to locate Android NDK even though I downloaded Android NDK r16b and changed the path in Edit --> Preferences --> External tools
I searched alot and tried to install more than one version of NDK, and also tried to add the path of NDK in Environment Variables in settings of My Computer but the error kept showing.
Can someone please tell me how to solve this problem ?
Thanks.
If you are using Unity Hub, you can just check the box where it sais add android support, that downloads everything you need for android development automatically.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With