Installer stopped unexpectedly, double .apk.apk extension

Hello there,

i am unable to get my app working on the device, as i recieve the “Package installer has stopped unexpectedly” error upon trying to install it on my HTC OneX phone.
The package has a normal .apk extension while on my MC, but as i transfer it by bluetooth, it somehow recieves another .apk, so the final result is a file name of appName.apk.apk sitting in my downloads folder.
I tried renaming it by deleting one .apk, but that did not achieve anything.
The file also does not display the provided icon.

My app did work on the phone at some point, but i’m unsure what changed during the process as it works fine in the simulator. I cleared the folder of all files not used by the app, sound files are in the main folder, icon images are in the main folder, other images are in a separate folder. I tried moving to and building from another folder, and had no success.
I’ve no idea what i’m doing wrong. So far i tried testing it on two devices.
Also, i’m using the cider IDE if it’s of any relevance.

Any help would be greatly appreciated and i thank you in advance. [import]uid: 125838 topic_id: 31055 reply_id: 331055[/import]

Try installing your APK via the Android SDK tool “adb install” from the command line. That’s how most Android developers do it.

You’ll also need to go into your device’s settings and check on “Unknown sources” for installing applications that did not come from an app store. Where that setting is varies between devices unfortunately. On Android 4.x, it’s typically under the Security section. On older OS versions, it’s typically under the Applications section. [import]uid: 32256 topic_id: 31055 reply_id: 124399[/import]

Try installing your APK via the Android SDK tool “adb install” from the command line. That’s how most Android developers do it.

You’ll also need to go into your device’s settings and check on “Unknown sources” for installing applications that did not come from an app store. Where that setting is varies between devices unfortunately. On Android 4.x, it’s typically under the Security section. On older OS versions, it’s typically under the Applications section. [import]uid: 32256 topic_id: 31055 reply_id: 124399[/import]

Thank you for the reply, and excuse my late response.

I cannot use the abd install tool because my device (HTC One X) doesn’t yet have mac drivers for it.
I don’t see how installing it from the device should produce an error, but there must be something that can be done about it.
I have an app made that works on the simulator, but can’t be installed. I am a bit lost as what to do, and am still looking for any help you could offer.

Thank you. [import]uid: 125838 topic_id: 31055 reply_id: 126345[/import]

I discovered the cause of the problem to have been the landscape mode that i set in the build.settings.
As soon as i switched to portrait mode it worked perfectly.

Which begs another question: why does the landscape mode cause this problem, and what can i do to get rid of it?

Any clues are much appreciated! [import]uid: 125838 topic_id: 31055 reply_id: 126348[/import]

Google’s documentation (see link below in the Note section) states that if the device does not support landscape mode, then the device will prevent landscape apps from being installed, but I’ve never heard of any Android devices that do not support landscape.
http://developer.android.com/guide/topics/manifest/activity-element.html#screen

I’m thinking that the issue must have been caused by something else.
[import]uid: 32256 topic_id: 31055 reply_id: 126386[/import]

Thank you for the reply, and excuse my late response.

I cannot use the abd install tool because my device (HTC One X) doesn’t yet have mac drivers for it.
I don’t see how installing it from the device should produce an error, but there must be something that can be done about it.
I have an app made that works on the simulator, but can’t be installed. I am a bit lost as what to do, and am still looking for any help you could offer.

Thank you. [import]uid: 125838 topic_id: 31055 reply_id: 126345[/import]

I discovered the cause of the problem to have been the landscape mode that i set in the build.settings.
As soon as i switched to portrait mode it worked perfectly.

Which begs another question: why does the landscape mode cause this problem, and what can i do to get rid of it?

Any clues are much appreciated! [import]uid: 125838 topic_id: 31055 reply_id: 126348[/import]

Google’s documentation (see link below in the Note section) states that if the device does not support landscape mode, then the device will prevent landscape apps from being installed, but I’ve never heard of any Android devices that do not support landscape.
http://developer.android.com/guide/topics/manifest/activity-element.html#screen

I’m thinking that the issue must have been caused by something else.
[import]uid: 32256 topic_id: 31055 reply_id: 126386[/import]