Issue
I have the latests intelliJ ultimate installed.
I managed to install android sdk and was working fine with the emulator.
For various reasons I had to restart my PC. Now when I start intelliJ I get the following error message
ADB not responding. You can wait more, or kill "adb.exe" process manually and click 'Restart'
Errors from ADB:
adb: Unexpected exception 'Cannot run program "C:\Programs\Android \SDK\platform-tools\adb.exe": CreateProcess error=5, Access is denied' while attempting to get adb version from 'C:\Programs\Android\SDK\platform-tools\adb.exe'
Ive tried * deleting my .android folder in c:/users/{username} * restarting my pc and intelliJ again * turning off my firewall
I can seem to start it if I do
adb.exe start-server
Although if i do this and then start intelliJ then intelliJ says it cannot communicate with adb.exe and asks if I want to
- wait (if I do this nothign happens)
- restart (same error as above)
- cancel (means I have no adb so i cannot start the emulator)
Any ideas? Im really frustrated because I was really loving the android development but now are stuck at the first hurdle again
Thanks
Solution
I managed to fix this by removed the .intelliJ directory in c:\users\{username} and then starting intelliJ again.
This can be a bit time consuming so now I do the following steps
- open IntelliJ and set up all my config
- take a backup of .intelliJ directory
- code away :)
- if/when I get this error again I then delete my c:\users....intelliJ directory and copy the backup over
I can lose some config but not everything that I might have set up (eg sdks setups etc)
Answered By - RNJ
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.