x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Android Distribution Package Failed : Fmod Studio ?

Hey there. I have an urgent project to build. Since a week I'm fighting hard with UE 4.10.4, build from source, to be able to ship my game.

I believe I tried all solutions I found in the answer hub, for exemple : Answers Nothing worked.

Here is the end of the output log, and I believe it has something to do with my Fmod Studio integration and Proguard (don't ask me, I'm confused as hell) :

 MainFrameActions: Packaging (Android (All)): ====06/06/2016 16:19:08====PERFORMING FINAL APK PACKAGE OPERATION================================================
 MainFrameActions: Packaging (Android (All)): UEDeployAndroid.RunCommandLineProgramAndThrowOnError: Making .apk with Ant... (note: it's safe to ignore javac obsolete warnings)
 MainFrameActions: Packaging (Android (All)): Duplicated project name in import. Project custom_rules defined first in /Volumes/DATA/PlanctonBetaBiss/Humanoplancton/Intermediate/Android/APK/custom_rules.xml and again in /Volumes/DATA/PlanctonBetaBiss/Humanoplancton/Intermediate/Android/APK/JavaLibs/google-play-services_lib_rev19/custom_rules.xml
 MainFrameActions: Packaging (Android (All)): Duplicated project name in import. Project custom_rules defined first in /Volumes/DATA/PlanctonBetaBiss/Humanoplancton/Intermediate/Android/APK/custom_rules.xml and again in /Volumes/DATA/PlanctonBetaBiss/Humanoplancton/Intermediate/Android/APK/JavaLibs/downloader_library/custom_rules.xml
 MainFrameActions: Packaging (Android (All)):     [javac] warning: com/google/android/gms/auth/GoogleAuthUtil.class(com/google/android/gms/auth:GoogleAuthUtil.class): major version 51 is newer than 50, the highest major version supported by this compiler.
 MainFrameActions: Packaging (Android (All)):     [javac] It is recommended that the compiler be upgraded.
 MainFrameActions: Packaging (Android (All)):     [javac] warning: com/google/android/gms/common/api/GoogleApiClient.class(com/google/android/gms/common/api:GoogleApiClient.class): major version 51 is newer than 50, the highest major version supported by this compiler.
 MainFrameActions: Packaging (Android (All)):     [javac] It is recommended that the compiler be upgraded.
 MainFrameActions: Packaging (Android (All)):     [javac] warning: com/google/android/gms/common/GooglePlayServicesUtil.class(com/google/android/gms/common:GooglePlayServicesUtil.class): major version 51 is newer than 50, the highest major version supported by this compiler.
 MainFrameActions: Packaging (Android (All)):     [javac] It is recommended that the compiler be upgraded.
 MainFrameActions: Packaging (Android (All)):     [javac] warning: com/google/android/gms/ads/AdRequest.class(com/google/android/gms/ads:AdRequest.class): major version 51 is newer than 50, the highest major version supported by this compiler.
 MainFrameActions: Packaging (Android (All)):     [javac] It is recommended that the compiler be upgraded.
 MainFrameActions: Packaging (Android (All)):     [javac] warning: com/google/android/gms/ads/AdView.class(com/google/android/gms/ads:AdView.class): major version 51 is newer than 50, the highest major version supported by this compiler.
 MainFrameActions: Packaging (Android (All)):     [javac] It is recommended that the compiler be upgraded.
 MainFrameActions: Packaging (Android (All)):     [javac] warning: com/google/android/gms/ads/AdSize.class(com/google/android/gms/ads:AdSize.class): major version 51 is newer than 50, the highest major version supported by this compiler.
 MainFrameActions: Packaging (Android (All)):     [javac] It is recommended that the compiler be upgraded.
 MainFrameActions: Packaging (Android (All)):     [javac] warning: com/google/android/gms/ads/AdListener.class(com/google/android/gms/ads:AdListener.class): major version 51 is newer than 50, the highest major version supported by this compiler.
 MainFrameActions: Packaging (Android (All)):     [javac] It is recommended that the compiler be upgraded.
 MainFrameActions: Packaging (Android (All)):     [javac] warning: com/google/android/gms/plus/Plus.class(com/google/android/gms/plus:Plus.class): major version 51 is newer than 50, the highest major version supported by this compiler.
 MainFrameActions: Packaging (Android (All)):     [javac] It is recommended that the compiler be upgraded.
 MainFrameActions: Packaging (Android (All)):     [javac] warning: com/google/android/gms/ads/AdRequest$Builder.class(com/google/android/gms/ads:AdRequest$Builder.class): major version 51 is newer than 50, the highest major version supported by this compiler.
 MainFrameActions: Packaging (Android (All)):     [javac] It is recommended that the compiler be upgraded.
 MainFrameActions: Packaging (Android (All)):     [javac] warning: com/google/android/gms/plus/Account.class(com/google/android/gms/plus:Account.class): major version 51 is newer than 50, the highest major version supported by this compiler.
 MainFrameActions: Packaging (Android (All)):     [javac] It is recommended that the compiler be upgraded.
 MainFrameActions: Packaging (Android (All)):     [javac] warning: com/google/android/gms/auth/UserRecoverableAuthException.class(com/google/android/gms/auth:UserRecoverableAuthException.class): major version 51 is newer than 50, the highest major version supported by this compiler.
 MainFrameActions: Packaging (Android (All)):     [javac] It is recommended that the compiler be upgraded.
 MainFrameActions: Packaging (Android (All)):     [javac] warning: com/google/android/gms/auth/GoogleAuthException.class(com/google/android/gms/auth:GoogleAuthException.class): major version 51 is newer than 50, the highest major version supported by this compiler.
 MainFrameActions: Packaging (Android (All)):     [javac] It is recommended that the compiler be upgraded.
 MainFrameActions: Packaging (Android (All)):     [javac] Note: Some input files use or override a deprecated API.
 MainFrameActions: Packaging (Android (All)):     [javac] Note: Recompile with -Xlint:deprecation for details.
 MainFrameActions: Packaging (Android (All)):     [javac] 12 warnings
 MainFrameActions: Packaging (Android (All)):  [proguard] Warning: org.fmod.MediaCodec$2DataSource: can't find superclass or interface android.media.MediaDataSource
 MainFrameActions: Packaging (Android (All)):  [proguard] Warning: org.fmod.MediaCodec: can't find referenced method 'void setDataSource(android.media.MediaDataSource)' in class android.media.MediaExtractor
 MainFrameActions: Packaging (Android (All)):  [proguard] Warning: org.fmod.MediaCodec$2DataSource: can't find referenced class android.media.MediaDataSource
 MainFrameActions: Packaging (Android (All)):  [proguard] Warning: org.fmod.MediaCodec$2DataSource: can't find referenced class android.media.MediaDataSource
 MainFrameActions: Packaging (Android (All)):  [proguard]       You should check if you need to specify additional program jars.
 MainFrameActions: Packaging (Android (All)):  [proguard] Warning: there were 3 unresolved references to classes or interfaces.
 MainFrameActions: Packaging (Android (All)):  [proguard]          You may need to specify additional library jars (using '-libraryjars').
 MainFrameActions: Packaging (Android (All)):  [proguard] Warning: there were 1 unresolved references to program class members.
 MainFrameActions: Packaging (Android (All)):  [proguard]          Your input classes appear to be inconsistent.
 MainFrameActions: Packaging (Android (All)):  [proguard]          You may need to recompile them and try again.
 MainFrameActions: Packaging (Android (All)):  [proguard]          Alternatively, you may have to specify the option 
 MainFrameActions: Packaging (Android (All)):  [proguard]          '-dontskipnonpubliclibraryclassmembers'.
 MainFrameActions: Packaging (Android (All)): BUILD FAILED
 MainFrameActions: Packaging (Android (All)): /Users/Tomavatars/NVPACK/android-sdk-macosx/tools/ant/build.xml:871: Please correct the above warnings first.
 MainFrameActions: Packaging (Android (All)): Total time: 20 seconds
 MainFrameActions: Packaging (Android (All)): BuildCommand.Execute: ERROR: BUILD FAILED
 MainFrameActions: Packaging (Android (All)): Program.Main: ERROR: AutomationTool terminated with exception:
 MainFrameActions: Packaging (Android (All)): Program.Main: ERROR: Exception in UnrealBuildTool: ERROR: /bin/sh failed with args -c '"/Users/Tomavatars/NVPACK/apache-ant-1.8.2/bin/ant" -quiet release'
 MainFrameActions: Packaging (Android (All)): Stacktrace:   at UnrealBuildTool.Android.UEDeployAndroid.RunCommandLineProgramAndThrowOnError (System.String WorkingDirectory, System.String Command, System.String Params, System.String OverrideDesc, Boolean bUseShellExecute) [0x00000] in <filename unknown>:0 
 MainFrameActions: Packaging (Android (All)):   at UnrealBuildTool.Android.UEDeployAndroid.MakeApk (System.String ProjectName, System.String ProjectDirectory, System.String OutputPath, System.String EngineDirectory, Boolean bForDistribution, System.String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk) [0x00000] in <filename unknown>:0 
 MainFrameActions: Packaging (Android (All)):   at UnrealBuildTool.Android.UEDeployAndroid.PrepForUATPackageOrDeploy (System.String ProjectName, System.String ProjectDirectory, System.String ExecutablePath, System.String EngineDirectory, Boolean bForDistribution, System.String CookFlavor, Boolean bIsDataDeploy) [0x00000] in <filename unknown>:0 
 MainFrameActions: Packaging (Android (All)):   at AndroidPlatform.Package (AutomationTool.ProjectParams Params, DeploymentContext SC, Int32 WorkingCL) [0x00000] in <filename unknown>:0 
 MainFrameActions: Packaging (Android (All)):   at Project.Package (AutomationTool.ProjectParams Params, Int32 WorkingCL) [0x00000] in <filename unknown>:0 
 MainFrameActions: Packaging (Android (All)):   at BuildCookRun.DoBuildCookRun (AutomationTool.ProjectParams Params) [0x00000] in <filename unknown>:0 
 MainFrameActions: Packaging (Android (All)):   at BuildCookRun.ExecuteBuild () [0x00000] in <filename unknown>:0 
 MainFrameActions: Packaging (Android (All)):   at BuildCommand.Execute () [0x00000] in <filename unknown>:0 
 MainFrameActions: Packaging (Android (All)): Program.Main: AutomationTool exiting with ExitCode=Error_Unknown
 MainFrameActions: Packaging (Android (All)): Domain_ProcessExit
 MainFrameActions: Packaging (Android (All)): RunUAT ERROR: AutomationTool was unable to run successfully.
 PackagingResults:Error: Error Unknown Error

Also I have those Java warnings. Help, I'm desperate with this.

Product Version: UE 4.10
Tags:
more ▼

asked Jun 06 '16 at 05:28 PM in Packaging & Deployment

avatar image

Tomavatars
21 2 3 6

avatar image Samantha Sutton ♦♦ STAFF Jun 09 '16 at 07:20 PM

Tomavatars,

Could you please upload your full error logs as a .txt file and also provide me with the full repro steps so I too can see the error.

Thank you!

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hey Tomavatars,

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!

more ▼

answered Jun 13 '16 at 07:36 PM

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question