Copy link to clipboard
Copied
Compilation complete.
Patching package name...
Patching version information...
Patching app name...
Updating the Android app project...
[Path to Android project]>android update project --name "EmployeeCare2" --target 1 --path .
Invalid number of parameters
'"C:\Windows\system32\java.exe "' is not recognized as an internal or external command,
operable program or batch file.
Copy link to clipboard
Copied
RoboHelp 11
Windows Server 12 R2 Datacenter, although this same issue was present in Windows 8.1. My machine died, so I'm running this on an Azure instance.
Copy link to clipboard
Copied
The VM should be no different if it is running a version of Windows supported by Rh.
The problem you describe is one that I and others have hit and are working on. There are numerous posts on the web if you search that.
The instructions I have drafted so far work on the 32 bit machines that I have tried but not on 64 bit. What is your VM?
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
"There are numerous posts on the web if you search that." Been there done that. All day yesterday. If you ever find me on a message board, you know I'm at the end of my rope and on the verge of being banned from Google for excessive searching!
It's a 64-bit machine.
Copy link to clipboard
Copied
Fixed it. I mean I got it to generate the app, I wouldn't call it fixed. This is one of those cases where I'm convinced that I am the only person who is using a particular feature because it doesn't seem like this would have ever worked for anyone.
Open C:\Program Files (x86)\Adobe\Adobe RoboHelp 11\RoboHTML\MultiscreenExt\NativeApps\Android\UpdateApp.bat.
Turn echo back on.
Run the script to generate a native app.
Check the output window when it fails. This line >SET PATH="C:\Program Files\Java\jdk1.7.0_51\"bin; should be >SET PATH=C:\Program Files\Java\jdk1.7.0_51\bin; no quotes around the path before bin.
Back in UpdateApp.bat: I hardcoded SET PATH=C:\Program Files\Java\jdk1.7.0_51\bin;%3;%PATH%.
When I run the script again, I get a different error. I cleared the output window, so I don't remember what it was.
Delete everything in the output folder, run the script again.
I haven't tested the app, but it says and looks like it was generated.
Copy link to clipboard
Copied
Where did you see that the quotes should be before BIN? I never had that in the path variable.
Thanks for sharing the other info.
It's not that you are the only one using the feature as the setup works on 32 bit machines. The same setup on 64 bit machines is the issue. I can generate on the former, not the latter.
Did you need to make any changes for ANT?
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
"Where did you see that the quotes should be before BIN?"
I'm saying there should NOT be quotes wrapping the path before bin, but they ARE there when I run the script. I didn't see that was the poblem until I turned echo back on in UpdateApp.bat. My workaround was to hardcode the correct path without quotes in UpdateApp.bat.
I didn't make any changes in ANT.
I had all of this set up and working on a 64-bit machine previously but it was RoboHelp 10. I remember having a lot of issues getting it to work, but I can't remember what I did or which tutorial I followed to make it work. It certainly didn't involve editing the scripts.
Copy link to clipboard
Copied
Just to let you know that Adobe are continuing to work with me on getting the script to work on a 64 bit system and the answer will be published in due course. Sorry that does not help right now.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Thanks. It's great that we have access to the scripts so that we can beat it into submission if necessary! We were able to make it work and bottom line, that's all that matters.
Copy link to clipboard
Copied
It would help enormously if you could post what made it work.
Copy link to clipboard
Copied
I did, in post #4 above.
Copy link to clipboard
Copied
Sorry. I read the post in isolation.
See www.grainge.org for RoboHelp and Authoring tips