After Android SDK updated to 6.0 today, I am unable to run my project. The error is:
Gradle 'Alphaets' project refresh failed.
Cause:java.io.FileNotFoundException: ...\project_name\src\main\AndroidManifest.xml(The system cannot find the path specified).
Actually, it should be ...\project_name\app\src\main\AndroidManifest.xml
. Part ...\app\...
is missing. There is no \src\
folder in \project_name\
. That's why AndroidStudio cannot find AndroidManifest.xml
.
What causes such an error? How should I revise the gradle file to include the correct path of AndroidManifest.xml
?
Besides, my build.gradle(Module:app) did not show up in the GradleScripts
any more. I have to go to the absolute path of that file and open it with notepad++. What's wrong with that?