I am trying to run the application on my Sony Xperia but it doesn't work. I have followed the steps on http://developer.android.com/tools/device.html
- I have enabled USB debugging on my device
- I have installed the drivers using the Sony PC Companion (everything well so far as when I try to run it, Android Studio finally recognizes my mobile as a device)
The step I think I am doing wrong is making my application "debuggable" in the build.gradle file
I have pasted the code in the build.gradle(Module:app)
android { buildTypes { debug { debuggable true } } }
But when I run it I get the following error:
Unexpected Error Local path doesn't exist. Local path doesn't exist. The project may need to be synced with Gradle files.
Any ideas/tips how I can solve this?