Android Studio - auto shutdown and other features not working

I installed android studio .. it worked fine. Now all of a sudden, none of the autocomplete features work. I can enter anything wherever there is no variable checking, no help with functions, or checking anything. I can still compile the project, and I get errors when this happens.

Can anyone help me solve this problem.

+96
android studio
Aug 22 '13 at 2:13
source share
19 answers

File Go> Invalidate Caches / Restart ...> Click Invalidate and Restart

It really works for me. source: https://code.google.com/p/android/issues/detail?id=61844#c4

+192
May 20 '14 at 13:55
source share

You can also check if Power Saver mode is disabled in File .

+86
Oct 21 '13 at 22:19
source share

Close Android Studio. Go to C: \ Users \ UserName.android and rename the folder:

  • build-cache for build-cache_old

Go to C: \ Users \ UserName.AndroidStudio3.2 \ system and rename these folders:

  • caches to caches_old

  • compiler in compiler_old

  • compile-server for compile-server_old

  • conversion to conversion_old

  • external_build_system to external_build_system_old

  • frameworks for frameworks_old

  • gradle to gradle_old

  • resource_folder_cache to resource_folder_cache_old

Open Android Studio and open your project again.

+18
Nov 20 '18 at 8:32
source share

I have not come across this problem personally, but try checking the following settings ( File Settings or Alt+F7 ):

Project Settings [name]
Inspections - make sure Android and Android Lint , or alternately just set it as the default using the drop-down list at the top.

IDE Settings
Editor -> Code Completion - make sure Autopopup code completion (and check the rest of the settings according to your preferences.

+13
Aug 23 '13 at 7:58
source share

In most cases, I saw that the problem is that Power Save Mode is turned on to disable the transition to the Current inspection profile (lower right corner in Android Studio ).

enter image description here

+13
Oct 20 '15 at 15:52
source share

If nothing works (as it happened to me), go to your Windows user profile at% userprofile%. There you will find folders (hidden), named according to the version of android studio that you are using, and with a dot prefix.

like .AndroidStudio3.1. Just delete it.

+6
Aug 09 '18 at 10:10
source share

Solution : Try disabling “File → Power Saving Mode” in Android Studio (Beta) 0.8.14 - Mac OS X

In windows, the option may be in another place.




I had the same problem, and I remembered that while studying the new Android studio, I turned on “File → Power Saving Mode” to see what it was doing?

I turned off the power-saving mode, and all these intelligent functions returned.

It turned out that in the power saving mode, Android Studio disables the modules responsible for functions such as Smart Code Completion and Code Analysis .

+5
Nov 03. '14 at
source share

Works

Turn off power saving mode

Power save mode option without commit :: File → Power save mode

+5
Jun 04 '16 at 17:39
source share

I had a similar problem when none of the other solutions worked.

Closing Android Studio and then deleting the .idea and build folders solved the problem.

+5
Apr 29 '18 at 19:22
source share

Just delete all folders named AndroidStudioPreview

On Windows:

Go to the user folder - in Windows 7/8 it will be:

[SYSDRIVE]:\Users[your username] (ex. C:\Users\JohnDoe)

This folder should have a folder named .AndroidStudioPreview

On mac os x

Delete these files:

~/Library/Application Support/AndroidStudioPreview ~/Library/Caches/AndroidStudioPreview ~/Library/Logs/AndroidStudioPreview ~/Library/Preferences/AndroidStudioPreview

+4
Nov 12 '13 at 15:10
source share

The android studio has an energy-saving mode if you accidentally click on it to disable code analysis, which will reduce battery consumption, and performance will also increase, but it will not detect errors and will not perform automatic full operations.

To turn off power saving mode

 - Go to File Menu of Studio - Uncheck The Power Saver Mode 

In your IDE code, the analysis will be shown with an eye symbol in the right corner of your Android studio.

 If Green means it is enabled and there is no error in your code. If Red Means It is enabled but there are few errors in your code. If It is white or blur then code analysis is disabled 
+4
Feb 13 '15 at 4:39
source share

Turn off power saving mode and invalidate cache and restart .

enter image description here

+4
Oct 21 '18 at 4:29
source share

In my case, when I switch the keyboard language to English, autocomplete works again.

+2
May 27 '16 at 1:35
source share

I have this problem many times so far, I suggest thees approach:

1 - as said, check the power saving mode

2-create a new project with the same name and application name and copy the entire source and resource from the old project to the new one,

+1
Jun 19 '16 at 8:58
source share

If you have a library project, make sure the library has dependencies in build.gradle listed using the api configuration and not the implementation configuration . Also make sure that the project including the library has all of the above dependencies (using the implementation configuration is good here).

+1
Nov 20 '17 at 15:51
source share
 'The file size (2561270 bytes) exceeds configured limit (2560000 bytes). Code insight features are not available.' 

Was this a problem for several days when none of these proposed solutions worked before this message turned yellow under the tabs after adding a line of code. Removing the line of code fixed the message, but not the problem. There seems to be a code-size window in which you lose your insight, but don't get this message, at least for me. After you go to a specific point, a message will finally appear. The proposed solution in another thread for this problem was to change the "Help / Change user properties" to increase the configured limit, but only opening it caused a dialog asking if I want to create the "idea.properties" folder, so I decide Do not compromise this approach in the long run, reducing file size.

0
Dec 10 '17 at 17:18
source share

Simpy This worked for me after restarting android studio.

0
Jul 15 '19 at 13:06 on
source share

I had the same problem for a while now. Until I browsed the Android Studio website and came across an introduction. Then I found how to activate (I think) the autocomplete function. It says click Control + Space and when I did it, it worked.

-one
Feb 19 '18 at 2:40
source share
  1. Close Android Studio.
  2. Go to C: / User / [SystemName] and delete the .gradle file.
  3. Open Android Studio and sync your Gradle file again.
-2
Oct 23 '18 at 10:31
source share



All Articles