The maximum supported version of the API

18 views
Skip to first unread message

Александр Страшко

unread,
Oct 14, 2017, 4:26:30 AM10/14/17
to App Inventor Open Source Development
Hello

I correctly understand that currently App Inventor source supports versions up to API Level 21?

The compiler does not find a new version of the method - Html.fromHtml (String, int)

Evan Patton

unread,
Oct 17, 2017, 12:29:56 PM10/17/17
to App Inventor Open Source Development
Correct, we only support up to level 21. If you want to use fromHtml(String, int) (introduced in SDK level 24), you can call it by using Java reflection to obtain the method if and only if the SDK level is > 24. Otherwise, you'll get a NoSuchMethodException.

Evan
Reply all
Reply to author
Forward
0 new messages