Go into your Capacitor/ Cordova/ React native project’s root folder and find android folder
Inside the folder create a new file named local.properties
Open the file and paste the following content in it, path of the SDK folder, which will look like this:
sdk.dir=C:\\Users\\Lenovo\\AppData\\Local\\Android\\Sdk
Note: Your system must have installed the Android studio or SDK Manager tools.
Note 2: You can find your SDK path by hitting the following path in your Folder winodow:
C:\Users\%USERNAME%\AppData\Local\Android
Leave a Reply