Copied from elsewhere come to solve the problem of the native Android project can not run (error) in

 

This problem is usually caused by a different version gradle. To solve it can be:

First, to ensure that the machine in normal use Android Studio, in the present machine a new project Android

Second, open new Android project in the folder, find .gradle, Gradle, build.gradle, local.properties copy these files will replace him to the project being given the corresponding directory.

Third, open the new project app folder, find .gradle file, copy the project to replace the error app folder.

carry out.

Guess you like

Origin www.cnblogs.com/BreezeFeng/p/11955555.html