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"

Error packaging for android

When i try to package my project for Android i get this error:

MainFrameActions: Empaquetado (Android (Todo)): ====23/03/2015 0:28:59====PERFORMING FINAL APK PACKAGE OPERATION================================================ MainFrameActions: Empaquetado (Android (Todo)): UEDeployAndroid.RunCommandLineProgramAndThrowOnError: Making .apk with Ant... (note: it's safe to ignore javac obsolete warnings) MainFrameActions: Empaquetado (Android (Todo)): [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: Empaquetado (Android (Todo)): [javac] It is recommended that the compiler be upgraded. MainFrameActions: Empaquetado (Android (Todo)): [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: Empaquetado (Android (Todo)): [javac] It is recommended that the compiler be upgraded. MainFrameActions: Empaquetado (Android (Todo)): [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: Empaquetado (Android (Todo)): [javac] It is recommended that the compiler be upgraded. MainFrameActions: Empaquetado (Android (Todo)): [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: Empaquetado (Android (Todo)): [javac] It is recommended that the compiler be upgraded. MainFrameActions: Empaquetado (Android (Todo)): [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: Empaquetado (Android (Todo)): [javac] It is recommended that the compiler be upgraded. MainFrameActions: Empaquetado (Android (Todo)): [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: Empaquetado (Android (Todo)): [javac] It is recommended that the compiler be upgraded. MainFrameActions: Empaquetado (Android (Todo)): [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: Empaquetado (Android (Todo)): [javac] It is recommended that the compiler be upgraded. MainFrameActions: Empaquetado (Android (Todo)): [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: Empaquetado (Android (Todo)): [javac] It is recommended that the compiler be upgraded. MainFrameActions: Empaquetado (Android (Todo)): [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: Empaquetado (Android (Todo)): [javac] It is recommended that the compiler be upgraded. MainFrameActions: Empaquetado (Android (Todo)): [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: Empaquetado (Android (Todo)): [javac] It is recommended that the compiler be upgraded. MainFrameActions: Empaquetado (Android (Todo)): [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: Empaquetado (Android (Todo)): [javac] It is recommended that the compiler be upgraded. MainFrameActions: Empaquetado (Android (Todo)): [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: Empaquetado (Android (Todo)): [javac] It is recommended that the compiler be upgraded. MainFrameActions: Empaquetado (Android (Todo)): [javac] Note: Some input files use or override a deprecated API. MainFrameActions: Empaquetado (Android (Todo)): [javac] Note: Recompile with -Xlint:deprecation for details. MainFrameActions: Empaquetado (Android (Todo)): [javac] 12 warnings MainFrameActions: Empaquetado (Android (Todo)): BUILD FAILED MainFrameActions: Empaquetado (Android (Todo)): C:\NVPACK\android-sdk-windows\tools\ant\build.xml:932: The following error occurred while executing this line: MainFrameActions: Empaquetado (Android (Todo)): C:\NVPACK\android-sdk-windows\tools\ant\build.xml:950: null returned: 1 MainFrameActions: Empaquetado (Android (Todo)): Total time: 1 minute 26 seconds MainFrameActions: Empaquetado (Android (Todo)): BuildCommand.Execute: ERROR: BUILD FAILED MainFrameActions: Empaquetado (Android (Todo)): Program.Main: ERROR: AutomationTool terminated with exception: MainFrameActions: Empaquetado (Android (Todo)): Program.Main: ERROR: Exception in UnrealBuildTool: ERROR: cmd.exe failed with args /c "C:/NVPACK/apache-ant-1.8.2/bin/ant.bat" -quiet debug MainFrameActions: Empaquetado (Android (Todo)): Stacktrace: en UnrealBuildTool.Android.UEDeployAndroid.RunCommandLineProgramAndThrowOnError(String WorkingDirect MainFrameActions: Empaquetado (Android (Todo)): ory, String Command, String Params, String OverrideDesc, Boolean bUseShellExecute) MainFrameActions: Empaquetado (Android (Todo)): en UnrealBuildTool.Android.UEDeployAndroid.MakeApk(String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk) MainFrameActions: Empaquetado (Android (Todo)): en UnrealBuildTool.Android.UEDeployAndroid.PrepForUATPackageOrDeploy(String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bIsDataDeploy) MainFrameActions: Empaquetado (Android (Todo)): en AndroidPlatform.Package(ProjectParams Params, DeploymentContext SC, Int32 WorkingCL) MainFrameActions: Empaquetado (Android (Todo)): en Project.Package(ProjectParams Params, Int32 WorkingCL) MainFrameActions: Empaquetado (Android (Todo)): en BuildCookRun.DoBuildCookRun(ProjectParams Params) MainFrameActions: Empaquetado (Android (Todo)): en BuildCommand.Execute() MainFrameActions: Empaquetado (Android (Todo)): en AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) MainFrameActions: Empaquetado (Android (Todo)): en AutomationTool.Automation.Process(String[] CommandLine) MainFrameActions: Empaquetado (Android (Todo)): en AutomationTool.Program.MainProc(Object Param) MainFrameActions: Empaquetado (Android (Todo)): en AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param) MainFrameActions: Empaquetado (Android (Todo)): en AutomationTool.Program.Main() MainFrameActions: Empaquetado (Android (Todo)): Program.Main: ERROR: ERROR: cmd.exe failed with args /c "C:/NVPACK/apache-ant-1.8.2/bin/ant.bat" -quiet debug MainFrameActions: Empaquetado (Android (Todo)): ProcessManager.KillAll: Trying to kill 0 spawned processes. MainFrameActions: Empaquetado (Android (Todo)): Program.Main: AutomationTool exiting with ExitCode=1 MainFrameActions: Empaquetado (Android (Todo)): Domain_ProcessExit MainFrameActions: Empaquetado (Android (Todo)): ProcessManager.KillAll: Trying to kill 0 spawned processes. MainFrameActions: Empaquetado (Android (Todo)): copying UAT log files... MainFrameActions: Empaquetado (Android (Todo)): RunUAT.bat ERROR: AutomationTool was unable to run successfully.

i have installed TADP and VS2013. Please help me

Product Version: Not Selected
Tags:
more ▼

asked Mar 22 '15 at 11:44 PM in Packaging & Deployment

avatar image

Doky
8 3 8 6

avatar image Doky Mar 23 '15 at 01:52 AM

I changed the maps to a new project and now i can compile But i get black screen when i install the apk on my phone. Any solution?

avatar image wittlief ♦♦ STAFF Mar 24 '15 at 08:01 PM

Hi Doky,

Can you attach your logs to this thread as a file? It's very hard to read as a block of text. Logcat logs would be great, also. Can you successfully package any project, or is the problem solely your personal projects?

Thanks!

avatar image wittlief ♦♦ STAFF Mar 24 '15 at 08:04 PM

Also, here is another thread with the "cmd.exe failed with args /c "C:/NVPACK/apache-ant-1.8.2/bin/ant.bat" error and a possible solution, and another thread with a similar problem, please have a look and see if either of these help.

avatar image Doky Mar 24 '15 at 10:11 PM

thank you. now i have other problem. I get black screen when i package my project for android. mi phone is a ascend g510

avatar image wittlief ♦♦ STAFF Mar 25 '15 at 06:16 PM

Hi Doky,

Still gonna need all the logs you can give us to try and figure this out. Are you able to package anything at all? If you can try to package the Tappy Chicken project (found in the learn tab of the launcher) for development and ETC1, then your problem might be specific to your project. If Tappy packaging fails, please include output logs from the editor, and logcat logs from TADP.

Thanks very much!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi Doky,

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

Thanks very much!

more ▼

answered Mar 30 '15 at 01:50 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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