Yet another Android build error: "error 5 when trying to build Android apk"

Build Failed

A device build error occurred on the server.

Error: Error packaging APK. Potential conflict between resources or plugins.

BuildID: 57434d74a09f2

Error code: 5


> Builds ok with iOS. Using build 2016.2879

> App accesses photo album (to save and choose photo) and possibly camera, but not required.

> No internet required, no location required

build.settings:

 

settings = { orientation = { default = "portrait", supported = { "portrait", "portraitUpsideDown" } }, iphone = { plist = { UIPrerenderedIcon = false, UIStatusBarHidden = true, UIApplicationExitsOnSuspend = false, CFBundleIconFile = "Icon.png", CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-60.png", "Icon-60@2x.png", "Icon-60@3x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-Small-40@3x.png", "Icon-Small.png", "Icon-Small@2x.png", "Icon-Small@3x.png" }, UILaunchImages = { { -- iPhone 4 Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 5 Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-568h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPad Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Portrait", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPhone 6 Portrait ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-667h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 Plus Portrait ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-736h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{414, 736}" }, { -- iPad Pro Portrait ["UILaunchImageMinimumOSVersion"] = "9.0", ["UILaunchImageName"] = "Default-Portrait-1366", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{1024, 1366}" }, }, }, }, android = { versionCode = "10", usesFeatures = { { name="android.hardware.camera", required=false }, { name="android.hardware.location", required=false }, { name="android.hardware.location.gps", required=false }, }, usesPermissions = { "android.permission.WRITE\_EXTERNAL\_STORAGE", "android.permission-group.STORAGE", "android.permission.CAMERA", "android.permission-group.PHONE", }, }, }

Any ideas why I’m getting that error???

Thanks in advance!

I’m investigating.

Can you try taking out the “android.permission-group.STORAGE” and “android.permission-group.PHONE” and put in the other individual permissions and give that a try?

Removing those two “permission-group” items “fixed” it. Thanks Rob!

Glad that solved it. Credit goes to one of our Engineers, Josh! I don’t think I would have spotted that.

Rob

I’m investigating.

Can you try taking out the “android.permission-group.STORAGE” and “android.permission-group.PHONE” and put in the other individual permissions and give that a try?

Removing those two “permission-group” items “fixed” it. Thanks Rob!

Glad that solved it. Credit goes to one of our Engineers, Josh! I don’t think I would have spotted that.

Rob