How to build jars from IntelliJ properly?

Here’s how to build a jar with IntelliJ 10 http://blogs.jetbrains.com/idea/2010/08/quickly-create-jar-artifact/ File -> Project Structure -> Project Settings -> Artifacts -> Click green plus sign -> Jar -> From modules with dependencies… The above sets the “skeleton” to where the jar will be saved to. To actually build and save it do the following: Extract to … Read more

Android Studio shows wrong file contents

UPDATE: Quicker solution by the user Hong given below: Delete the caches folder: C:\Users\my_user_name\.AndroidStudio3.3\system\caches ===================== Here’s what worked for me. Close Android Studio Go to C:\Users*your username* Locate the Android Studio settings directory named .AndroidStudioX.X (X.X being the version) Rename it to something like old.AndroidStudioX.X Start Android Studio, and when it asks if you want … Read more