0

I manually modified on build.gradle file. I made minSdkVersion from 21 to 14. Then I made 21 again by manually because of errors I received. After this process, autocomplete does not work in xml editor. I tried invalid caches and restart and delete .idea folder . But it doesn't work.

3 Answers3

1

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

build-cache to build-cache_old Go to C:\Users\UserName.AndroidStudio3.2\system and rename these folders:

caches to caches_old

compiler to compiler_old

compile-server to compile-server_old

conversion to conversion_old

external_build_system to external_build_system_old

frameworks to frameworks_old

gradle to gradle_old

resource_folder_cache to resource_folder_cache_old

Open the Android Studio and open your project again.

0

Simply in your project

  • Delete your .idea folder.

  • Delete all .iml files.

  • Then invalidate caches and restart..To do that:

  • Go to File -> Invalidate Caches/Restart -> Invalidate

  • Then finally Rebuild project....

Hope this helps you

DaveAAA
  • 700
  • 7
  • 14
0

These following steps are working for me:

  1. Close android studio
  2. Go to path/.AndroidStudio3.5/system/ delete caches folder
  3. Start android studio
mili2501
  • 442
  • 5
  • 9