@SimpleProperty not working

I must be doing something stupid, but I cannot see it

I set a string like so:

private String testValue = "my test value";

I then want to return this string as a property:

@SimpleProperty(description = "returns the test value")
public String TestValue() {return testValue;}

extension builds OK, but in companion I get:

What have I got wrong ?

1 Like

I've just copied your code and build a test extension and it's working here.

uk.co.metricrat.luiscipher.aix (4.1 KB)

image

Here is the FAST project file as zip.
luis-cipher.aia (23.3 KB)

2 Likes

Try reloading page and then connecting.
Sometimes AndroidRuntime.jar files are not/partially sent to phone while testing.

1 Like

Doh! That was it, working now :wink:
Not just a refresh Companion, but reset Companion and connect up again.

Thanks @JEWEL for testing also.

1 Like