Android Studio Complete code is incomplete
I am using Android Studio 1.2.2 on a 32 bit Windows 7 computer.
When I try to use the Code Completion option in Android Studio, I cannot get it to work correctly. I tried Invalidate Cache / Restart and disabled power saving mode. I played around a bit with the code completion settings. However, when I try to set some android properties on activity_main, it only gives me "android: focusable" and "android: theme" in the context menu. I get warnings about things like "android: layout_weight" as AS doesn't recognize it in the view (but builds just fine).
Even more frustrating, I can't get "Extract String Resource" from the context menu. I also can't get it anywhere in the developer itself. It links to settings and similar menus, but it's useless to me. I can get "Input language or link" and "Override resource in different configuration" to be displayed.
I keep the installation on D: drive while the .gradle and .AndroidStudio files are on C: drive. I don't know if this helps.
I tried to install it on my laptop, a 64-bit Windows 7 machine and I was able to get it to work (it's less and less so I want to be able to use my desktop). I uninstalled and reinstalled on my desktop but no luck.
I am currently trying to completely uninstall and reinstall everything using AS, but I doubt it will make a difference. I think I am missing or missing something to reference, but I have no idea what it might be.
Can someone tell me what is wrong and what I need to do?
source to share
You can install Android Studio wherever you want, it should work no matter where your files .gradle
and .AndroidStudio
. So your problem is that you do the installation on the D: drive while files .gradle
and .AndroidStudio
are located on the drive C :.
You can see the following answers for your further doubts
Android Studio - autocomplete and other features not working
Autocomplete not showing in Android Studio with dual screens
source to share