Stigi
Stigi

Reputation: 560

Failed to install MyApp.apk on device '037c6206441f83d7': Not a directory

I'm trying to run/debug my app, using Eclipse, on my device with ICS (Asus Transformer TF101 - rooted). But i get following error:

   Uploading MyApp.apk onto device '037c6206441f83d7'
   Failed to install MyApp.apk on device '037c6206441f83d7': Not a directory
   com.android.ddmlib.SyncException: Not a directory
   Launch canceled!

I tried running/debugging other apps, also sample apps, but still got same error, but every thing works on emulator, of course I got USB debug on. Before update I was able to run everything normally, is it possible that I have messed up something while flashing my rom/rooting? But on the other hand, I think that my device works fine...

Upvotes: 1

Views: 3810

Answers (3)

Morilog
Morilog

Reputation: 3045

I just run adb shell on linux then run rm -rf /data/local/tmp/MY_APK_DIR and problem was solved.

Upvotes: 0

jlccaires
jlccaires

Reputation: 77

Simply go to this folder with a file explorer with root privileges, delete the file tmp and create a FOLDER with same name. additionally you can use adb shell to do this.

Upvotes: 1

Stigi
Stigi

Reputation: 560

I have solved this problem, looks like I have really messed up something while flashing new rom/rooting. There was some problem with /data/local/tmp directory, and I have used my ClockworkMod Recovery to wipe /data/ (factory reset) and now it works perfect.

Upvotes: 3

Related Questions