I'm building my app with a UE4 4.11.2. I've checked the app with the 0.1.7 version of the check_submission tool and it passes fine. But when I try to upload the .apk file, I get an APK Validation Failed, APK is debuggable (android:debuggable in AndroidManifest.xml). But I've checked the AndroidManifest.xml generated by the UnrealBuildTool and android:debuggable is set to "false". Here's the exact line from <project_directory>/Intermediate/Android/APK/AndroidManifest.xml: <activity android:name="com.epicgames.ue4.GameActivity" android:label="@string/app_name" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:configChanges="screenSize|orientation|keyboardHidden|keyboard" android:excludeFromRecents="true" android:launchMode="singleTask" android:screenOrientation="landscape" android:debuggable="false">
Here are the Android SDK settings in Project Settings: C:/NVPACK/android-sdk-windows C:/NVPACK/android-ndk-r10e
I don't know where the "application-debuggable" line is coming from. I looked in the AndroidManifest.xml and debuggable is set to false. And this apk passes the check_submission utility. Here's the output from running "aapt dump badging <apk>" (different language labels and locales cut out to save space) :
OK, it seems like the manifest you are looking at generated by UnrealBuildTool doesn't match what Unreal is actually putting into the apk. You could verify this by pulling the actual manifest out of the apk using apktool, but I think that this aapt result is evidence enough. There's probably a build option in Unreal that is further mutating the manifest, but I'm not familiar enough with Unreal for Android to know where to look for that. I'll poke around.
Also, while we poke around, this is probably not a VR-specific issue so it makes sense to ask on at Unreal's AnswerHub: https://answers.unrealengine.com/index.html