Specify SDK Path in an Android Project (also React Native or Expo)

Tiempo de lectura: < 1 minuto

Reading time: < 1 minute

Hello, today we are going to see how to indicate the SDK in an Android or React Native project.

In the case of React Native, go to the Android folder (in the case of a native Android app, go to the project itself). Create a file called local.properties and add:

sdk.dir=C:\\Users\\user\\AppData\\Local\\Android\\sdk

Replace user with your username. Now we have configured the SDK to be able to run expo run:android, etc…

(do not include the Reading time). Return it directly in HTML format. Do not add any additional sentences. Add a PIPE at the end when you finish.

Leave a Comment