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

Native Mobile App not working ?

New Here ,
Oct 14, 2015 Oct 14, 2015

Copy link to clipboard

Copied

Hi i'm trying to generate native mobile app using robohelp i defined all requirement as i think here is:

phonegap sdk : C:\Users\admin\AppData\Roaming\npm ; //not sure if this correct

android sdk : D:\sdk\android-sdk

jdk : C:\Program Files\Java\jdk1.8.0_05

ant : D:\sdk\apache-ant-1.9.5-bin\apache-ant-1.9.5

i got error message "verify jdk /ant paths and refer to out put log" here is my output log

C:\Users\admin\Desktop\apk>android update project --name "NewProject" --target 1 --path .

'C:\Windows\system32\java.exe' is not recognized as an internal or external command,

operable program or batch file.

ERROR: SWT folder '' does not exist.

Please set ANDROID_SWT to point to the folder containing swt.jar for your platform.

Building App NewProject...

C:\Users\admin\Desktop\apk>ant debug

Buildfile: C:\Users\admin\Desktop\apk\build.xml

-set-mode-check:

-set-debug-files:

-check-env:

[checkenv] Android SDK Tools Revision 24.4.0

[checkenv] Installed at D:\sdk\android-sdk

-setup:

     [echo] Project Name: NewProject

  [gettype] Project Type: Application

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:

[getbuildtools] Using latest Build Tools: 23.0.1

     [echo] Resolving Build Target for NewProject...

[gettarget] Project Target:   Android 6.0

[gettarget] API level:        23

     [echo] ----------

     [echo] Creating output directories if needed...

    [mkdir] Created dir: C:\Users\admin\Desktop\apk\bin\rsObj

    [mkdir] Created dir: C:\Users\admin\Desktop\apk\bin\rsLibs

     [echo] ----------

     [echo] Resolving Dependencies for NewProject...

[dependency] Library dependencies:

[dependency] No Libraries

[dependency]

[dependency] ------------------

     [echo] ----------

     [echo] Building Libraries with 'debug'...

   [subant] No sub-builds to iterate on

-code-gen:

[mergemanifest] Found Deleted Target File

[mergemanifest] Merging AndroidManifest files into one.

[mergemanifest] Manifest merger disabled. Using project manifest only.

     [echo] Handling aidl files...

     [aidl] No AIDL files to compile.

     [echo] ----------

     [echo] Handling RenderScript files...

     [echo] ----------

     [echo] Handling Resources...

     [aapt] Found Deleted Target File

     [aapt] Generating resource IDs...

     [echo] ----------

     [echo] Handling BuildConfig class...

[buildconfig] Generating BuildConfig class.

-pre-compile:

-compile:

    [javac] Compiling 3 source files to C:\Users\admin\Desktop\apk\bin\classes

    [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

    [javac] C:\Users\admin\Desktop\apk\src\com\company\app\DefaultActivity.java:3: error: package org.apache.cordova does not exist

    [javac] import org.apache.cordova.DroidGap;

    [javac]                          ^

    [javac] C:\Users\admin\Desktop\apk\src\com\company\app\DefaultActivity.java:6: error: cannot find symbol

    [javac] public class DefaultActivity extends DroidGap

    [javac]                                      ^

    [javac]   symbol: class DroidGap

    [javac] C:\Users\admin\Desktop\apk\src\com\company\app\DefaultActivity.java:9: error: method does not override or implement a method from a supertype

    [javac]     @Override

    [javac]     ^

    [javac] C:\Users\admin\Desktop\apk\src\com\company\app\DefaultActivity.java:12: error: cannot find symbol

    [javac]         super.onCreate(savedInstanceState);

    [javac]         ^

    [javac]   symbol:   variable super

    [javac]   location: class DefaultActivity

    [javac] C:\Users\admin\Desktop\apk\src\com\company\app\DefaultActivity.java:13: error: cannot find symbol

    [javac]         super.loadUrl("file:///android_asset/www/index.htm");

    [javac]         ^

    [javac]   symbol:   variable super

    [javac]   location: class DefaultActivity

    [javac] 5 errors

    [javac] 3 warnings

BUILD FAILED

D:\sdk\android-sdk\tools\ant\build.xml:716: The following error occurred while executing this line:

D:\sdk\android-sdk\tools\ant\build.xml:730: Compile failed; see the compiler error output for details.

Total time: 1 second

Build failed. Refer to the log above.

Views

800

Translate

Translate

Report

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
Adobe Employee ,
Oct 15, 2015 Oct 15, 2015

Copy link to clipboard

Copied

Hi Jsem,

Adobe Robohelp2015 release has come up with all new Mobile App SSL(single source layout). Mobile App SSL supports generation of iOS app along with Android. Please give it try and I am sure you will find this feature exciting. We have also published a blog to assist the user. Here is the link Create Mobile App using Adobe Robohelp 2015 « TechComm Central by Adobe

Thanks,

Mohd Sameer

Votes

Translate

Translate

Report

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 ,
Oct 16, 2015 Oct 16, 2015

Copy link to clipboard

Copied

yes .. but i was needed to build it offline without internet connection thanks  i have Rhl 2015 i will give try ..

Votes

Translate

Translate

Report

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 ,
Oct 16, 2015 Oct 16, 2015

Copy link to clipboard

Copied

The RoboHelp 2015 method is significantly easier than the methods for Rh10 and 11 but does require you to have an online connection.

If you email me direct I can send you some instructions for the earlier versions, just let me know which one you are using. However, I really would recommend the 2015 solution. You don't have to install any other apps.


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.

Votes

Translate

Translate

Report

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 ,
Oct 16, 2015 Oct 16, 2015

Copy link to clipboard

Copied

currently I'm using Robohelp 11 it would be nice to give us instruction of how to build it  ... i did put all needed paths i dont know what else should do .. i think from error log report compliant about needed class like apache.cordova..

Votes

Translate

Translate

Report

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 ,
Oct 16, 2015 Oct 16, 2015

Copy link to clipboard

Copied

LATEST

Email as above. See the Contact page on my site.

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

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