Bug when using Android SDK 15 (4.0)

Branch: Binary

Build: Tested with 4.2.1 and 4.3.0

Description:
AAPT gives an error when trying to make an apk, which says that “sensorPortrait” is not a suitable value for “screenOrientation” (one of the project manifest settings), when using Android SDK 15.

The reason is that Android SDK 15 has a typo there - “sensorPortait” instead of “sensorPortrait”. That was fixed in Android SDK 16 (4.1+).

Steps:

  1. When installing TADP, set your desired Android SDK to 4.0 (15).

  2. Get the default “Tappy Chicken” project installed.

  3. Try to package it, check the output log.

Quickfixes:

  • Install Android SDK 16 a.k.a 4.1 (via the SDK Manager).

or

  • Change “screenOrientation” to something other than “sensorPortrait” in the Project Settings.

Hopefully this helps and the Manifest Writing tool will soon be “taught” to be “aware” of this issue. Just in case someone will want to use Android SDK 15.

Hello,

Thank you for your report. We were not able to investigate this on the engine version you reported, but there have been many version changes to UE4 since this question was first posted. With a new version of the Engine comes new fixes and it is possible that this issue has changed or may no longer occur. Due to timetable of when this issue was first posted, we are marking this post as resolved for tracking purposes.

If you are still experiencing the issue you reported in the current engine version, then please respond to this message with additional information and we will investigate as soon as possible. If you are experiencing a similar, but different issue at this time, please submit a new report for it.

Thank you.