Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Contributor ,
Apr 11, 2013 Apr 11, 2013

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.

screenshot1.jpg

screenshot2.jpg

(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

1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 12, 2013 Apr 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 12, 2013 Apr 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

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 12, 2013 Apr 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 21, 2014 Apr 21, 2014

What are your environment variables now?

Cheers

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 21, 2014 Apr 21, 2014

Unfortunately, haven't looked at this for a while. At this point a year later, not sure what I had finally set up.

But, check the Apache ANT installation guide referenced in the above posting, for your OS. That's what I had used a year ago. (Plus some experimenting, testing to see what worked on a specific OS and computer.)

Apologies that I am unable to be of more help.

Best Wishes,

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 22, 2014 Apr 22, 2014

@maxlegal

Contact me via my site. I can let you have detailed instructions and some updated files supplied by Adobe.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 29, 2014 May 29, 2014

Hi,

Anybody can shed some light on creating a native mobile app using RH10?

I have set the environment but every time the build fails. I have attached the screen shot for your reference. I could not find much help on this topic.

If somebody can give some detailed instructions for creating the mobile app using RH 10, its highly appreciated.

Thanks in Advance.30-05-2014 11-57-20.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 29, 2014 May 29, 2014
LATEST

The answer is in Post 6 in this thread, immediately before your post.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp