PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → 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
Iniciado por OGRP, 04,ene. 2018 17:13 - 5 respuestas
Miembro registrado
17 mensajes
Publicado el 04,enero 2018 - 17:13
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
Miembro registrado
17 mensajes
Publicado el 04,enero 2018 - 17:46
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…
Miembro registrado
17 mensajes
Publicado el 04,enero 2018 - 18:25
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
Publicado el 02,agosto 2019 - 10:24
You're great, you saved me several hours !
Thank you very much for your solution !
Publicado el 06,febrero 2020 - 11:12
Thank you very much, it works for me too :D :merci:
configuration : Windev Mobile 22 and Windows10
Publicado el 22,julio 2023 - 22:56
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