Android packaging error 5

Hi.
We were trying to deal with an error 1 appearing each time we ticked shipping configuration, in order to be able to publish our app on the play store, but then suddenly an error 5 appeared, and we can’t find a way to get rid of it. I attached the full logs. [link text][1]

117523-log.txt (359 KB)

Hi,

I think that this is the error that shows up in your log:

[javac] C:\Users\Documents\Unreal Projects\BOB2\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:58: error: cannot find symbol
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] import com…android.gms.common.api.GoogleApiClient;

It is trying to find the GoogleApiClient and it cant find it in your libs folder. Ensure that the play library files are added to the JavaLibs folder as in this screenshot:

Check this out: [How to add play services to Unreal][2]

Hope this helps.

Thanks for your answer, but the folders are here…
Also I forgot to mention in the first message, to get rid of the error 1 we tried to copy zipalign.exe from C:\android-sdk-windows\build-tools\20 to C:\android-sdk-windows\tools and then we got error 5, even though we removed it afterwards…

Hi

I am not sure if your issue has been resolved or not, but skimming through your log, I found this error

UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Error: C:\Users\\Documents\Unreal Projects\BOB2\Intermediate\Android\APK\JavaLibs\play-services-base-9.2.0 is not a valid project (AndroidManifest.xml not found).
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-base-9.2.0...
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Error: C:\Users\\Documents\Unreal Projects\BOB2\Intermediate\Android\APK\JavaLibs\play-services-base-9.2.0 is not a valid project (AndroidManifest.xml not found).
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Error: No Android Manifest at: C:\Users\\Documents\Unreal Projects\BOB2\Intermediate\Android\APK\JavaLibs\play-services-base-9.2.0

Can you check the AndroidManifest.xml for these libraries ?

Thanks

,

Have you attempted to delete your Intermediate and Saved folders yet?

Hey ,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!