B4J Question SimpleMediaManager Example2 Compilation Error

epiCode

Active Member
Licensed User
The B4J SMM_Example2 gives me the following error

B4X:
B4J Version: 9.10
Parsing code.    (0.19s)
    Java Version: 8
Building folders structure.    (0.14s)
Compiling code.    (0.57s)
Compiling layouts code.    (0.01s)
Organizing libraries.    (0.02s)
Compiling generated Java code.    Error
B4J line: 71
mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Width
javac 1.8.0_301
src\b4j\example\animatedcounter.java:69: error: incompatible types: possible lossy conversion from double to int
__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView((int) (0)).SetLayoutAnimated((int) (0),0,0,_width,_height);
 

epiCode

Active Member
Licensed User
The error comes from XUI Views. It looks like B4J is not properly installed. Delete it and reinstall.
Could have never guessed that :)
Thanks its working now !!!
 
Upvote 0
Top