Android Question InputStream cannot be converted to AsyncStreams

bill choi

New Member
Licensed User
please help me.

1. source file : UserGuide->SourceCode->NetworkExample2
2. Referenced libraries checked :
Core(virsion:4.01)
Network(version:1.10)
RandomAccessFile(version:2.00)

3. run result :
B4A version 4.30
Parsing code. 0.08
Compiling code. 0.31
Compiling layouts code. 0.06
Generating R file. 0.14
Compiling debugger engine code. 1.87
Compiling generated Java code. Error
B4A line: 44
InputStream1 = Socket1.InputStream
javac 1.8.0_31
src\b4a\networkexample2\main.java:406: error: incompatible types: InputStream cannot be converted to AsyncStreams
_inputstream1 = (anywheresoftware.b4a.randomaccessfile.AsyncStreams)(_socket1.getInputStream());
^
1 error
 
Top