Please check inside data\runtime\android and see if you have a file called WebView2.dat
seems that you don´t have it installed
Don't have an account yet? Then register once and completely free of charge and use our wide range of topics, features and great options. As a registered member on our site, you can use all functions to actively participate in community life. Write posts, open topics, upload your pictures, put your videos online, talk to other members and help us to constantly improve our project and grow together! So, what are you waiting for? Become a part of us today!
Login or registerTo get support for a technical issue such as installing the software, to query a purchase that you've made/would like to make, or anything other than using our software, please visit our Customer Service Desk:
Open a TicketPlease check inside data\runtime\android and see if you have a file called WebView2.dat
seems that you don´t have it installed
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
strange i have the same version and worked here, can you check if any file property is set/not set
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
What version of android exporter you have?
Fernando,
The most recent version that I am using is the version that appears in the Product Owner's Lounge (labeled 281.1). My CF2.5 is the current build R281.2.
-Adam
here is a link with object and example for fusion test to see.
Please login to see this link.
could it be that something is not correctly updated?
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
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
Please update to the new beta and test again
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
Is the iOS version of this coming out soon?
Thank you so much. This is an amazing extension.
I try to Load an HTML5 (ClickTeamFusion export) in to my WebView Object and it's not working.
What am I doing wrong?
IOS Version please!!!
i need you help Fernando!
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?
any news of it on iOS?
Don’t have an account yet? Register yourself now and be a part of our community!
Almightyzentaco (Fusion 2.5 Tutorials)
Captain Quail (Firefly Tutorials)