Deploing to Android: INSTALL_FAILED_OLDER_SDK

When I try to deploy my application using “cocos deploy -p android”, it very soon throws the error mentioned in the title.

Why is this, and how can I fix it?

Answer: The device has a certain API level that it supports (perhaps the one I use hasn’t been updated in ages). The project folder has an AndroidManifest.xml that sets the minimum required API version with . In my case, setting “…” to 8 made it work after recompiling, but the app crashes on startup. What a shame.

What is the API level of your device? API 8 is Android 2.2, which is ancient. You should set API to 10 at a minimum, and preferably higher if you can. What is the error in your logcat?