Error launching level to android phone

ERROR: cmd.exe failed with args /c “C:/NVPACK/apache-ant-1.8.2/bin/ant.bat” debug
I think this is the problem, at the bottom it just says, “launch failed, unknown error”

I have been trying to deploy a level to my Samsung Galaxy S6. I went through all the steps in the android quickstart. I looked at the path, and the “ant.bat” is in the right place set in the Android SDK section. Please help I have tried so many times and I still don’t know what’s wrong!

Hello,

After performing a quick Google search for your error message, I came across a few posts you can take a look at for suggestions on how to resolve your issue:

Let me know if none of this resolves your issue, and we can continue looking into it.

Have a great day

I have tried all of these, and still get the same error.

And I tried changing the “PATH” variable as someone said to but still get the same error message and my computer won’t load a program I use. Can you guys help me restore it to default? I don’t know what to do.

Could you please provide the full output log from your project’s Saved->Logs folder after you attempt to package the project again? Thank you.

Thanks, figured it out. I had a “corrupted” PATH environment variable and I reinstalled JAVA and it worked fine. Thanks!