Android apk won't install from the market nor web server
<p>This is my own application developed with the intention of distributing it via the Android market. It's been tested on several handsets, installed each time with from the SDK (so, adb).
However that appears to be the only way I can install it:</p>

<ul>
<li>I signed the application and uploaded it to my own server.</li>
<li>Any previous version is uninstalled from the device:</li>
<li>Downloading via the browser results in a silent fail. Server logs show that there was only one access (a successful OTA install requires, I believe, two request/responses). There is nothing at all in Logcat.</li>
<li>I tried instead releasing it to the Android Market. This time Logcat indicates a server-side error:
DEBUG/vending(530): [42] BaseAction.run(): ApiException: com.android.vending.api.ApiException: Error from backend. Request=com.android.vending.model.PurchaseOrderRequest, Response=INTERNAL_SERVICE_ERROR
DEBUG/vending(530): [1] LocalAssetDatabase.notifyListener(): -7763566390739351724 / UNINSTALLED
DEBUG/vending(530): [1] LocalAssetCache.updateOneAsset(): No local info for -7763566390739351724
INFO/vending(530): [1] BaseAction.displayErrorUi(): Server error in com.android.vending.billing.PurchaseOrderAction: com.android.vending.api.ApiException: Error from backend. Request=com.android.vending.model.PurchaseOrderRequest, Response=INTERNAL_SERVICE_ERROR</li>
</ul>

<p>The most likely problem, then, is how I signed the application. However the signed version can be installed via adb on the command line and even from gmail. Furthermore I signed a small, unrelated application with exactly the same results. I've also tried building from another machine and under Windows and Linux. Same results every time, on three different devices, factory reset, over the internet or WIFI. The only constant is me.</p>

<p>I've read literally every thread on stackoverflow regarding the above error in Logcat, all of which appear to be unrelated because I have no difficulty installing other applications from the Android market.</p>

<p>I've exhausted my meagre wits trying to debug this and would be very grateful for any ideas.</p>
