Adding QRDecoder renders App blank

I am at the first steps of using FNC components. This is probably a newbie question.

A have a simple application, with just a button on the form it opens normally on my android device.

When I add a TTMSFNCWXQRDecoder the application opens blank.

When I run it was a Windows EXE I am asked to add WebView2Loader_x64.dll to the target directory, and if I do this it opens OK.

Is there a similar file I have to include with the build/deploy for the Android App when using FNC components?

Some more information.

I have tried to Build/Deploy the TMS Demo QRDecoder App.

When I do this I get the following errors at the Deploy stage:

[PAClient Error] Error: E7688 Error in c:\program files (x86)\embarcadero\studio\23.0\lib\android\Debug\android-support-v4.dex.jar:
[PAClient Error] Error: E7688 java.nio.file.NoSuchFileException: c:\program files (x86)\embarcadero\studio\23.0\lib\android\Debug\android-support-v4.dex.jar
[PAClient Error] Error: E7688 Error in c:\program files (x86)\embarcadero\studio\23.0\lib\android\Debug\com-google-android-gms.play-services-ads-base.17.2.0.dex.jar:
[PAClient Error] Error: E7688 java.nio.file.NoSuchFileException: c:\program files (x86)\embarcadero\studio\23.0\lib\android\Debug\com-google-android-gms.play-services-ads-base.17.2.0.dex.jar
[PAClient Error] Error: E7688 Error in c:\program files (x86)\embarcadero\studio\23.0\lib\android\Debug\com-google-android-gms.play-services-ads-identifier.16.0.0.dex.jar:
[PAClient Error] Error: E7688 java.nio.file.NoSuchFileException: c:\program files (x86)\embarcadero\studio\23.0\lib\android\Debug\com-google-android-gms.play-services-ads-identifier.16.0.0.dex.jar
[PAClient Error] Error: E7688 Error in c:\program files (x86)\embarcadero\studio\23.0\lib\android\Debug\com-google-android-gms.play-services-ads-lite.17.2.0.dex.jar:
[PAClient Error] Error: E7688 java.nio.file.NoSuchFileException: c:\program files (x86)\embarcadero\studio\23.0\lib\android\Debug\com-google-android-gms.play-services-ads-lite.17.2.0.dex.jar
[PAClient Error] Error: E7688 Error in c:\program files (x86)\embarcadero\studio\23.0\lib\android\Debug\com-google-android-gms.play-services-ads.17.2.0.dex.jar:

--

Perhaps part of my FNC or FMX installation is missing?

Hi,

For Android, you need to add a couple of JAR files, also please make sure to reset your libraries first. (Right-click on the libraries folder and click "Revert System Files to Default")

Thank you Pieter.

Reverting System Files to Default has resulted in a successful deploy, creating the APK file.

Which JAR files do I need to add, and how do I add these so they are included in the deployment?

When deploying and running the application, you should get an exception telling you which JAR or Library is missing. They are available in the installation folder in "Android Support". Typically these include JavaScriptHelper.jar & FNCWebChromeClient.jar

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.