As discussed on the forum the aw-server-rust version in the android app is an older version in which a bug prevents the use of queries. A simple query like this
events = query_bucket(find_bucket("aw-watcher-android-test"));
RETURN = events;
results in a parsing error
ParsingError("(Some((Semi, Span { lo: 80, hi: 81, line: 3 })), \"expectedBool,Ident,If,LBrace,LBracket,LParen,Number,RBrace,Return,String, or end of file\")")