I've downloaded an APK onto a Velocity Cruz Tablet running Android 2.2.1 (API Level 8), and I'm trying to install it via whatever I can manage to make work. I already had ADT on my computer (Windows 8.1 if this helps) for API Level 19 for use with my phone. So I used the SDK Manager to get API Level 8. I can't for the life of me figure out how to make adb or monkeyrunner target API Level 8. I've got the paths right but the problem I'm having is making it target the proper API Level. I've gone through the adb commands, pm commands and MonkeyRunner API Documentation, but I don't see anything helpful. I've decided to come here to see if anyone knows what to do. Thanks.
Asked
Active
Viewed 236 times
0
-
They should work on both devices, why do you think you have to set API levels? – Diego Torres Milano Oct 11 '14 at 04:57
-
@dtmilano When I try to install it says something which equates to "INSTALL_FAILED_OLDER_SDK" when using any of the three methods I've tried. – sockpuppetcow Oct 11 '14 at 05:19
-
You didn't mention what you are trying to achieve, install an APK? – Diego Torres Milano Oct 11 '14 at 05:23
-
Ah. Yes. Seems when I was editing it for wording, I accidentally removed that. Fixed now. – sockpuppetcow Oct 11 '14 at 05:30
1 Answers
0
You are trying to install an APK which is intended for a higher version onto API level 8 and thus the package manager refuses to install it. It has nothing to do with adb
or monkeyrunner
.

Diego Torres Milano
- 65,697
- 9
- 111
- 134
-
Came back to say that I got an alternative APK and it worked fine. – sockpuppetcow Oct 11 '14 at 06:11