When I attempt to autoload projectile like so
(autoload 'projectile-global-mode "projectile" " t nil)
And then open Emacs I cannot use
projectile-switch-project (Symbol's function definition is void: projectile-switch-project). However once entering a project and calling one of the other projectile commands I can then call
projectile-switch-project without any problems. From what I can gather from the error message and the behavior of the problem, it seems to me as if
projectile-switch-project isn't autoloaded. This error doesn't occur with any of the commands which further confirms my suspicions.
In saying this I am no elisp expert so I would like to see if any of you have experienced this problem and found a way to solve this.