PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV Mobile 2024 → On Generate Android App Theme Problem - Theme.AppCompat.Light.NoActionBar.Translucent
On Generate Android App Theme Problem - Theme.AppCompat.Light.NoActionBar.Translucent
Started by OGRP, Jan., 04 2018 5:13 PM - 5 replies
Registered member
17 messages
Posted on January, 04 2018 - 5:13 PM
Hi

We have started receiving this error. Hopefully a simple resolution and we will not have to uninstall and reinstall everything. This error now occurs even on new projects. Hopefully it is something as simple as clearing out cache or similar. Really appreciate if someone can point us to resolve.


Failure creating the Android application named <C:\My Mobile Projects\Owens_VehicleJobs_VCheck\Exe\Android application1\Owens_App.apk>.


Command Line: "C:\Program Files\Java\jdk1.8.0_152\bin\java.exe" "-Dorg.gradle.appname=C:\My Mobile Projects\Owens_VehicleJobs_VCheck\Android\Generation" -classpath "C:\gradle\lib\gradle-launcher-2.14.1.jar" org.gradle.launcher.GradleMain assembleDebug -b "C:\My Mobile Projects\Owens_VehicleJobs_VCheck\Android\Generation\build.gradle"


Error returned:
C:\My Mobile Projects\Owens_VehicleJobs_VCheck\Android\Generation\build\intermediates\manifests\full\debug\AndroidManifest.xml:42:28-80: AAPT: No resource found that matches the given name (at 'theme' with value '@style/Theme.AppCompat.Light.NoActionBar.Translucent').

C:\My Mobile Projects\Owens_VehicleJobs_VCheck\Android\Generation\build\intermediates\manifests\full\debug\AndroidManifest.xml:37: error: Error: No resource found that matches the given name (at 'theme' with value '@style/Theme.AppCompat.Light.NoActionBar.Translucent').


FAILED
Registered member
17 messages
Posted on January, 04 2018 - 5:46 PM
Hi

Resolved with the help of link below.

A. Something has deleted files from the WM Android Framework in C:\Users\<usuario>\AppData\Local\Temp\FRMK_Android_XXXX
B. Delete this folder and run again the app generation
C. Also before generating ALWAYS delete the old .apk file in case it is locked or used during deployment, etc. Failure to do so can cause these types of issues.

See also

https://forum.pcsoft.fr/en-US/pcsoft.us.windevmobile/1625-wm20-unable-generate-android-application/read.awp…
Registered member
17 messages
Posted on January, 04 2018 - 6:25 PM
In addition a more detailed clear down from Windev support (brilliant). Hopefully anyone else getting this error will be easily helped.

- delete all the folders named "FRMK_Android*" in C:\Users\ <Userr>\AppData\Local\Temp\,

- delete if present the file "wd??android.jar" in C:\Users\ <Userr>\AppData\Local\VirtualStore\Program Files (x86)\PC SOFT\WinDev Mobile 20\Programs\Framework\Android\fr\

- delete if present "wd??android.jar" in C:\Users\ <User>\AppData\Local\VirtualStore\Program Files\PC SOFT\WinDev Mobile 20\Programs\Framework\Android\fr\

- the "android" folder in the project folder
Posted on August, 02 2019 - 10:24 AM
You're great, you saved me several hours !
Thank you very much for your solution !
Posted on February, 06 2020 - 11:12 AM
Thank you very much, it works for me too :D :merci:
configuration : Windev Mobile 22 and Windows10
Posted on July, 22 2023 - 10:56 PM
Merci beaucoup, j'ai beaucoup galéré. Chez moi je n'ai pas trouvé ce fichier mais j'ai lancé ccleaner et il m'a tout nettoyé et j'ai pu générer mon apk