Android Question Appcompat and B4A9.9 issue?

tsteward

Well-Known Member
Licensed User
Longtime User
I use appcompat inside my app which now give an error when compiling. This only seems to have happened since B4A9.9
Even the attached sample from the Appcompat thread here will not compile.

What have I missed?

It gives this error.
B4A Version: 9.90
Java Version: 8
Parsing code. (0.00s)
Building folders structure. (0.01s)
Compiling code. (0.10s)
Compiling layouts code. (0.07s)
Organizing libraries. (0.03s)
(Android Support Library)
Generating R file. (1.90s)
Compiling generated Java code. Error
B4A line: 66
Menu.Add(0, 0, \
javac 1.8.0_162
src\b4a\example\main.java:406: error: incompatible types: CharSequence cannot be converted to String
_menu.Add((int) (0),(int) (0),BA.ObjectToCharSequence("Overflow1"),(android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.Null));
^
 

Attachments

  • AppCompatWithDynamicMenuAndBadge.zip
    11.1 KB · Views: 145
Top