Problem Declare Function evaluateJavaScript

Public Sub SetEvaluationJavaScriptXC(Extends ctrl As MobileHTMLViewer, ua As CString)
#Pragma Unused ctrl

#If TargetAndroid

Declare Sub setEvaluationJavaScriptString Lib "Object:ctrl:MobileHTMLViewer" Alias "getSettings().evaluateJavascript" (myUA As CString)
setEvaluationJavaScriptString(ua)

#Else

#Pragma Unused ua

#EndIf
End Sub

// Error
Android Compiler
An internal Android Compiler error occurred.
Please create an Issue (xojo.com/issues) and attach your project (privately, if necessary) so that Xojo can investigate the error.

// Is there a solution to this problem?