user2499766
user2499766

Reputation: 117

Why am I getting "Local path does not exist" from my Android project in IntelliJ IDEA?

I am getting the following notification in IntelliJ IDEA when I try to run my Android project:

Waiting for device.
Target device: emulator-5554 (jkj)
Uploading file
    local path: C:\Users\REACH9\androidapi\muzima-android\target\muzima-android.apk
    remote path: /data/local/tmp/com.muzima
Local path doesn't exist.

What could I be missing?

Upvotes: 2

Views: 3981

Answers (1)

LotusUNSW
LotusUNSW

Reputation: 2017

Here all the possible solutions:

Solution 1: Go here and read the accepted answer

Solution 2: Open the .iml file with your editor. Under <configuration>(where you have all those <option name=...> paths, add this under all those paths:

<option name="APK_PATH" value="/build/apk/muzima-android-debug-unaligned.apk" />

Solution 3: File -> Project Structure -> Modules -> Your Project -> Dependencies -> Uncheck the project (only depend on the aar)

Upvotes: 2

Related Questions