Reputation: 3756
Hello I am having this error
Uploading file
local path: C:\Users\myuser\AndroidStudioProjects\Myapp\build\classes\debug\Myapp.apk
remote path: /data/local/tmp/mypackage
Local path doesn't exist.
when uploading to my device. I see that Myapp.apk gets created in apk folder as it should be. But Android Studio tries to upload from classes\debug\
Do you know how to sort it out? Thanks
Upvotes: 9
Views: 11485
Reputation: 1
If you are using studio on Windows and your windows username contains special symbols like '&' - RENAME YOUR USERNAME (and user folder)!
Upvotes: 0
Reputation: 529
Alternatively you can go to Tools > Android > Sync Project with Gradle Files to restore the path.
Upvotes: 9
Reputation: 593
I just blogged about having the exact same problem. Hopefully this helps and works for you.
http://www.ninjacrab.com/2013/08/28/android-studio-local-path-doesnt-exist/
Cheers!
Upvotes: 16
Reputation: 151
I fixed my similar problem by opening up the project .iml file and edited the incorrect APK_PATH declaration
Upvotes: 1