How to reset Android Studio
I only know how to do this on Windows (but it should be similar on any OS, you will just need to find the correct location yourself - google search would help with that).
On Windows:
Go to your User Folder - on Windows 7/8 this would be:
[SYSDRIVE]:\Users\[your username]
(ex. C:\Users\JohnDoe\
)
In this folder there should be a folder called .AndroidStudioBeta
or .AndroidStudio
(notice the period at the start - so on some OSes it would be hidden).
Update
Now, Android Studio settings is at:
C:\Users\<Your User>\AppData\Roaming\Google\.AndroidStudio4.X
Delete this folder (or better yet, move it to a backup location - so you can return it if something goes wrong).
This should reset your Android Studio settings to default.
How to reset to default configuration in android studio
Don't mash up! Simple, but I only know for windows
Go to this location in your pc C:\Users[Username]
In this location you have noticed a direcctory call .AndroidStudio
Delete it.
Now your android studio is totally reset.
To Get the Preview
You have to set the path of your sdk.
right click on the project folder (app) --> Open Module Settings --> SDK Location on sidebar --> setup your sdk folder
Good Luck
How can I reset the Android studio layout?
I'd never get helpful result when used Window\Restore default layout
So I'd had to just clean up the Android Studio settings directory:
On Windows
C:\Users\*[USERNAME]*\.AndroidStudioXX
On Mac
Delete these using the terminal (usage: rm -rf folderpath):
~/Library/Preferences/AndroidStudioBeta
~/Library/Application Support/AndroidStudioBeta
~/Library/Caches/AndroidStudioBeta
~/Library/Logs/AndroidStudioBeta
How to reset Android Studio to previous version
Currently there is no direct way with which a downgrade can be done. I managed to do the downgrade by downloading Android Studio 3.0.1 from here and then running the installer. It will prompt whether to uninstall previous version, and when you allow and proceed, it will remove 3.1 and install 3.0.1.
You need to ensure 3.1 is not running in background i.e. Close the Studio 3.1 application.
Related Topics
Android and Facebook Share Intent
Android: How to Check If a View Inside of Scrollview Is Visible
Android Studio Add External Project to Build.Gradle
Runtimeexception: Unable to Instantiate Application
Launch Sms Application with an Intent
Android Onclicklistener - Identify a Button
Set Transparent Background of an Imageview on Android
Eclipse Giving Error, Missing R.Java File After Recent Update
Difference Between Adjustresize and Adjustpan in Android
Recyclerview and Handling Different Type of Row Inflation
Using Facebook Sdk in Android Studio
Integrate Mupdf Reader in an App
How to Make My App a Device Owner
How to Use Jni Bitmap Operations for Helping to Avoid Oom When Using Large Images