Skip to main content
saratogacoach
Inspiring
April 11, 2013
Question

Building Native Mobile App for Android: error message, build fail

  • April 11, 2013
  • 2 replies
  • 1414 views

Hi,


I'm  trying RH10 on a Win 8 x64 system, trying to get the generate for  mobile devices, Android to work. I've installed the Android SDK (part of  the complete ADT) in a "Development" folder in the C drive, installed  JDK for Win 64, added the PhoneGap and ANT unzipped folders to the  "Development" folder and then in the RH10 dialog to generate the Android  APK, I've pointed set the correct paths to these tools. (All installed  tools are correct for my OS, Win 8 x64.)


No  matter what I try, using a sample file (EmployeeCare, Salesbuilder), I  get an error message at the very end of the build process. Please see the screenshot showing the error message and the relevant part of the  log which looks like the ANT path is not working correctly. The build  fails every time. I've tried to do some troubleshooting online and for  example, came across setting the environment variables for the ANT  folder, which I did, but with no success in fixing the problem. The  Eclipse installation connects with the JDK and runs OK if I simply boot  it up.


My path settings are in a second screenshot below.

(I've tried the ANT path with different values, for example "C:\Development\apache-ant-1.9.0-bin" etc. Doesn't prevent error message and build failure.)

I  am not sure what else to do. Any help would be appreciated. At this  point, I would be happy to simply be able to build one APK then test it  on an Android device.

Thank you for your help.

Kind Regards,

saratogacoach

This topic has been closed for replies.

2 replies

Peter Grainge
Community Expert
Community Expert
April 12, 2013

@saratogacoach

Not much on the forums yet about creating an app but I notice you are using Windows 8 which is not officially supported yet. Can you try on a Windows 7 machine to rule out the OS being the problem?


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
saratogacoach
Inspiring
April 12, 2013

Hi Robert and Peter,

Thank you again for your replies and helpful suggestions.

After re-checking environment variables (see Apache ANT installation guide) and correcting paths in the setup dialog, got it working perfectly. Success! Android APK generated.

Tested 3 APK's that were generated on an Android device: each looks great! Everything in the APK's works fine. Very nice!

Overall, RH10 is a great tool, with many excellent features, working flawlessly on a Windows 8 Pro x64 computer (installs to x86 program files).

saratogacoach

Participant
April 21, 2014

What are your environment variables now?

Cheers

April 12, 2013

Hi,

just as a sidenote, I receive a similar error message if any file or path in the project has a special character in it (particularly in my case a German umlaut).

Robert