IOException when running Android projects in Eclipse

Every time I try to start an Android project from Eclipse using the Android plugin (Run β†’ Run), the emulator starts up normally, but the download fails, and the console gives this error message:

[2010-06-17 08:17:55 - HelloAndroid] Failed to upload HelloAndroid.apk on device 'emulator-5554'
[2010-06-17 08:17:55 - HelloAndroid] java.io.IOException: Unable to upload file: Local file doesn't exist.
[2010-06-17 08:17:55 - HelloAndroid] Launch canceled!

It seems that compiling apk fails, but there are no other errors in the console at all, except for a single project warning that does not indicate an API level requirement:

[2010-06-17 08:17:55 - HelloAndroid] WARNING: Application does not specify an API level requirement!
[2010-06-17 08:17:55 - HelloAndroid] Device API version is 8 (Android 2.2)
+3
source share
2 answers

Make sure your manifest file points to sdk:

<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="8"/>
+4
source

Source: https://habr.com/ru/post/1750491/


All Articles