A problem occurred configuring project ': app' being given solution

Windows platform, react native local projects connected simulator debugging, error after performing react-native run-android command

 

 

Android react native file in the project folder create a file called local.properties of (ordinary to create a txt text file, and then rename local.properties on the line), use Notepad to open, writes the following:

sdk.dir=D\:\\Study\\Develop\\Android\\sdk

 

Guess you like

Origin www.cnblogs.com/peng-lan/p/11866906.html