1

I am a new user to Android Studio. I took a class over the summer and all my projects worked (and still work). I have followed all the advice from all the advice columns but I am still getting "Session 'app': Error Installing APK" when I try running my latest projects on my Samsung S4 mini. Again, all the other projects from this summer still work. I have tried

Does anyone have any other suggestions??

James
  • 11
  • 1
  • 1
  • 2
  • check if your device is visible in `adb devices` – Panda Oct 16 '16 at 04:06
  • Try to free some memory of phone and make sure device is connected properly. –  Oct 16 '16 at 04:06
  • In response to all the comments/answers: M.S.P - yes the device is visible in adb. 14bce109 - I have 11GB of free memory and the device is connected properly. I just deleted all the old apps and tried them again and they worked. Duke79 - Yes, I have looked at all those articles and tried all the applicable ones. Still no help. – James Oct 16 '16 at 14:36
  • Figured it out!!!! Do not put apostrophes in the file name!! I was calling it TheTrucker'sTracker and it read the apostrophe as &pos or something like that. Moral of the story - do not use punctuation in file names. – James Oct 16 '16 at 14:48

3 Answers3

1

(can't comment yet, so the answer)

Have you seen these -

Session 'app': Error Installing APK

Session 'app' error while installing APK

Error on installing apk - parsing the package

Android error: Failed to install *.apk on device *: timeout

Community
  • 1
  • 1
Duke79
  • 827
  • 1
  • 10
  • 21
1

To resolve this error uncheck the instant run in File >Settings >Build,Execution,Deployment > Instant Run

This works 100%.

ePandit
  • 2,905
  • 2
  • 24
  • 15
0

Enable "Install Via USB" feature form developer setting of your android phone.

  1. Go to Additional setting -> Developer setting (Provided you have enabled it by clicking on version for multiple tymes )
  2. Enable "Install Via USB"

Good luck

Parmeshwar C
  • 979
  • 1
  • 12
  • 22