What I wanted to do was simply this: Generate a Debug APK without having it launch emulators and perform downloads. (No, the "compile" and/or "build" is not creating a new debug APK... but that's for another post). After searching, I came across this: Build unsigned APK file with Android Studio
So I followed the steps. Initially my "Gradle Projects" pane was completely empty... but it was building the project just fine. So logically, I have to assume that having an empty "Gradle Projects" pane is the norm.
After performing those steps in the above link, I was now getting 48 (!!) different APK files, where I used to get 6, with such names as "X86-arm-armabi-7a"... (Really? these apks were mixing X86 with arm code?? (my project does have a few native libs in it))
So, to revert back, I simply go in opposite direction. I went back to the gradle pane, and pressed (-) to remove what I added. Yup... one click.
Opps.
Now, it's gone. All the files are still there. But there is no "project" anymore. I open Android Studio, and the project pane is empty. The "Reopen" menu doesn't list it anymore...
In any other environment, simple undoing what you did would take you back to the state you were in before. But not with Android Studio...
All the tutorials I can find are about writing Android apps... nothing about how the underlying architecture of Android Studio actually functions. Other IDEs use make files or solution/ project files like SLN, DSW, QPF, MCP... I can find nothing like that in Android Studio (which would at least give me a restore point from the source repository)
How can I "reconnect" the files back into a "project"? Any trail of clues would be appreciated.
These kinds of fragile things make Android Studio very difficult (and scary) to use...
-CSW