Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Fernando,

    Thank you for the quick reply; however, I DO see WebView2.dat in the data\runtime\android folder (file is dated 8 December 2013). I have also tried uninstalling and re-installing, to no avail (meaning I get the exact same error on building the .apk).

    Any other ideas?

    Thanks again for your time!

    Adam

  • I agree that it seems strange. I just built a new test app, that only has the WebView Object. API is set to 14; only Internet permission is checked; running the frame from within CF2.5 everything appears fine... same error. I had no problem building a test .apk with only an active object... the problem does appear to be with WebView. Here is the entirety of the log (in case this does shed any additional light on the problem:


    Buildfile: C:\Users\ADMINI~1\AppData\Local\Temp\AndA10E.tmp\build.xml

    -set-mode-check:

    -set-debug-files:

    -check-env:
    [checkenv] Android SDK Tools Revision 22.6.0
    [checkenv] Installed at C:\Users\Administrator\AppData\Local\Android\android-sdk

    -setup:
    [echo] Project Name: RuntimeAndroid
    [gettype] Project Type: Application

    -set-debug-mode:

    -debug-obfuscation-check:

    -pre-build:

    -build-setup:
    [getbuildtools] Using latest Build Tools: 19.0.3
    [echo] Resolving Build Target for RuntimeAndroid...
    [gettarget] Project Target: Android 4.0
    [gettarget] API level: 14
    [echo] ----------
    [echo] Creating output directories if needed...
    [mkdir] Created dir: C:\Users\ADMINI~1\AppData\Local\Temp\AndA10E.tmp\bin
    [mkdir] Created dir: C:\Users\ADMINI~1\AppData\Local\Temp\AndA10E.tmp\bin\res
    [mkdir] Created dir: C:\Users\ADMINI~1\AppData\Local\Temp\AndA10E.tmp\bin\rsObj
    [mkdir] Created dir: C:\Users\ADMINI~1\AppData\Local\Temp\AndA10E.tmp\bin\rsLibs
    [mkdir] Created dir: C:\Users\ADMINI~1\AppData\Local\Temp\AndA10E.tmp\gen
    [mkdir] Created dir: C:\Users\ADMINI~1\AppData\Local\Temp\AndA10E.tmp\bin\classes
    [mkdir] Created dir: C:\Users\ADMINI~1\AppData\Local\Temp\AndA10E.tmp\bin\dexedLibs
    [echo] ----------
    [echo] Resolving Dependencies for RuntimeAndroid...
    [dependency] Library dependencies:
    [dependency] No Libraries
    [dependency]
    [dependency] ------------------
    [dependency] API<=15: Adding annotations.jar to the classpath.
    [echo] ----------
    [echo] Building Libraries with 'debug'...
    [subant] No sub-builds to iterate on

    -code-gen:
    [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] Generating resource IDs...
    [echo] ----------
    [echo] Handling BuildConfig class...
    [buildconfig] Generating BuildConfig class.

    -pre-compile:

    -compile:
    [javac] Compiling 374 source files to C:\Users\ADMINI~1\AppData\Local\Temp\AndA10E.tmp\bin\classes
    [javac] C:\Users\ADMINI~1\AppData\Local\Temp\AndA10E.tmp\src\Extensions\CExtLoad.java:82: error: cannot find symbol
    [javac] object=new CRunWebView2();
    [javac] ^
    [javac] symbol: class CRunWebView2
    [javac] location: class CExtLoad
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error

    BUILD FAILED
    C:\Users\Administrator\AppData\Local\Android\android-sdk\tools\ant\build.xml:720: The following error occurred while executing this line:
    C:\Users\Administrator\AppData\Local\Android\android-sdk\tools\ant\build.xml:734: Compile failed; see the compiler error output for details.

    Total time: 3 seconds

    I am still trying to figure any other variables/properties I can change. If I am reading the log correctly, there is only one error, which is that it cannot find a symbol (which from your note should be in the.dat file)? I will keep trying, and appreciate the recommendations.

    Thanks again

    -Adam

  • Fernando,

    Just updated with your .zip file (although interestingly, the date on your files in this .zip were dated August 2013, rather than the December 2013 from the one I was using). I attempted to compile the amazon example for android (running the application from within CF2.5 world fine--did not try an emulator thought), on compiling, same error:

    Buildfile: C:\Users\ADMINI~1\AppData\Local\Temp\And3679.tmp\build.xml

    -set-mode-check:

    -set-debug-files:

    -check-env:
    [checkenv] Android SDK Tools Revision 22.6.0
    [checkenv] Installed at C:\Users\Administrator\AppData\Local\Android\android-sdk

    -setup:
    [echo] Project Name: RuntimeAndroid
    [gettype] Project Type: Application

    -set-debug-mode:

    -debug-obfuscation-check:

    -pre-build:

    -build-setup:
    [getbuildtools] Using latest Build Tools: 19.0.3
    [echo] Resolving Build Target for RuntimeAndroid...
    [gettarget] Project Target: Android 4.0
    [gettarget] API level: 14
    [echo] ----------
    [echo] Creating output directories if needed...
    [mkdir] Created dir: C:\Users\ADMINI~1\AppData\Local\Temp\And3679.tmp\bin
    [mkdir] Created dir: C:\Users\ADMINI~1\AppData\Local\Temp\And3679.tmp\bin\res
    [mkdir] Created dir: C:\Users\ADMINI~1\AppData\Local\Temp\And3679.tmp\bin\rsObj
    [mkdir] Created dir: C:\Users\ADMINI~1\AppData\Local\Temp\And3679.tmp\bin\rsLibs
    [mkdir] Created dir: C:\Users\ADMINI~1\AppData\Local\Temp\And3679.tmp\gen
    [mkdir] Created dir: C:\Users\ADMINI~1\AppData\Local\Temp\And3679.tmp\bin\classes
    [mkdir] Created dir: C:\Users\ADMINI~1\AppData\Local\Temp\And3679.tmp\bin\dexedLibs
    [echo] ----------
    [echo] Resolving Dependencies for RuntimeAndroid...
    [dependency] Library dependencies:
    [dependency] No Libraries
    [dependency]
    [dependency] ------------------
    [dependency] API<=15: Adding annotations.jar to the classpath.
    [echo] ----------
    [echo] Building Libraries with 'debug'...
    [subant] No sub-builds to iterate on

    -code-gen:
    [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] Generating resource IDs...
    [echo] ----------
    [echo] Handling BuildConfig class...
    [buildconfig] Generating BuildConfig class.

    -pre-compile:

    -compile:
    [javac] Compiling 396 source files to C:\Users\ADMINI~1\AppData\Local\Temp\And3679.tmp\bin\classes
    [javac] C:\Users\ADMINI~1\AppData\Local\Temp\And3679.tmp\src\Extensions\CExtLoad.java:107: error: cannot find symbol
    [javac] object=new CRunWebView2();
    [javac] ^
    [javac] symbol: class CRunWebView2
    [javac] location: class CExtLoad
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error

    BUILD FAILED
    C:\Users\Administrator\AppData\Local\Android\android-sdk\tools\ant\build.xml:720: The following error occurred while executing this line:
    C:\Users\Administrator\AppData\Local\Android\android-sdk\tools\ant\build.xml:734: Compile failed; see the compiler error output for details.

    Total time: 3 seconds

    I continue to experiment, but am running out of ideas to try.

    As always, thanks for the additional suggestions. I am not ready to give up yet!

    -Adam

  • Adam strange things, what api do you have installed for development, can you install 19 and rebuilt to see.

    i just took one empty plication in frame add the object and start of frame i ask fo load URL and is working.

    is something regarding your installation, can you explain what api you have installed

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  • Fernando,

    I actually have all APIs from 14 through 19 installed, and in the Android SDK manager, it shows that the Android SDK Build-tools version 19.0.3 is installed. Although I am not sure if it matters, under Extras, I also have the Google Web Driver Rev. 2 installed, and the Android Support Library Rev. 19.0.1 installed.

    Regarding the test app I was trying to build, I was basically doing the same as you... a single frame with the WebView Object that loads a URL at the start of frame.

    I really do appreciate all of your answers (and know your time is valuable); I will continue to troubleshoot by changing only one variable at a time (thankfully, I am not in a hurry. I just want to get it to work).

    Thanks again

    -Adam

  • Fernando,

    Thank you very much for all of your answers. While I have not yet updated to the new beta, I was able to solve the problem (although I still do not quite understand how it occurred). I uninstalled, then reinstalled the APIs from 14 through 19, and ensured the build API parameter inside the Android properties was set to 19. Lo and behold, the .apk built with no errors!

    Thank you again! I cannot wait to experiment with the new beta, as well.

    -Adam

  • I try to Load an HTML5 (ClickTeamFusion export) in to my WebView Object and it's not working.
    What am I doing wrong?

    Best Regards // Daniel KO Pettersson
    Please login to see this link.

    • Please login to see this link.
    • Please login to see this link.
    • Please login to see this link.
    • Please login to see this link.
  • It works fine for me in landscape mode, but I experience a strange effect when I use the WebView object in portrait mode. The display flickers and there seems to be a white layer over the whole display which becomes sort of transparent and reveals the loaded HTML page only when I touch the display with my finger. It also occurs with the example files that were posted earlier in this thread - all is fine in landscape mode, but when I change the mode to portrait, the overlay/flickering issue starts. Has anyone made the same experience or does anyone know how to solve this?

    <span style="font-weight: bold">Tools:</span> MMF2 Developer &amp; Flash Exporter (and digital imaging tools)
    <span style="font-weight: bold">Emphasis:</span> Stuff for websites and mobile phones

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!