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.
Asked
Active
Viewed 293 times
0
-
Are you sure you don't have power saving options enabled? – Taseer Ahmad Jul 17 '19 at 15:50
-
Yes, I am sure. Problem only in xml editor. @TaseerAhmad – Büşra Afşar Jul 18 '19 at 08:59
-
[Try this](https://stackoverflow.com/a/31207367/9968399). – Taseer Ahmad Jul 18 '19 at 09:06
3 Answers
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.
Zeinab Rahnamaee
- 53
- 9
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:
- Close android studio
- Go to path/.AndroidStudio3.5/system/ delete caches folder
- Start android studio
mili2501
- 442
- 5
- 9