PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → [WM26] Having any queries in project causes android compile to fail.
[WM26] Having any queries in project causes android compile to fail.
Débuté par Robert, 19 avr. 2021 14:52 - Aucune réponse
Membre enregistré
105 messages
Posté le 19 avril 2021 - 14:52
Hello everyone.
I have a project from WM24 that I'm converting, First I tried to WM25, and when that was throwing an error during the compile, I figured I'd try WM26. Same issue.

The issue is that if I have any queries created in the editor within the project when it compiles, it throws a Gradle error.
int cannot be dereferenced

Error returned:
:compileReleaseJavaWithJavac
C:\<Project Path>r\wdgen\GWDRQRY_NoName1.java:77: error: int cannot be dereferenced

It will do that with any query.
If I remove all my queries (there's only 4 and they're very simple queries) the project compiles fine.
If I add any query, even just selecting a single field from a file, it won't compile anymore.

I did try copying a file from my analysis to a new WM26 project, and creating a query on that file, and do not run into the same problem.

None of the queries are complex, the one I'm using to test with for example, is just a Count of records with a field that matches the input parameter.

I'm at a loss currently as to what's causing this.
If anyone has any suggestions, it'd be greatly appricated.

Thanks!