Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio Local path doesn't exist (classes folder instead of apk)

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

like image 352
Gyonder Avatar asked Jun 21 '13 13:06

Gyonder


2 Answers

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!

like image 158
Min Avatar answered Sep 29 '22 09:09

Min


Alternatively you can go to Tools > Android > Sync Project with Gradle Files to restore the path.

like image 29
ObsidianX Avatar answered Sep 29 '22 09:09

ObsidianX