Codenameone 找不到符号导入android.app.Person

Codenameone 找不到符号导入android.app.Person,codenameone,Codenameone,我正在Android中构建自己的通知托盘。我试图使用不太过时的android.app.Notification资源(而不是现在不推荐的NotificationCompat资源) 在一个例子中,我想构建一个带有位图图标的MessagingStyle。为此,需要类android.app.Person。(MessagingStyle不支持NotificationCompat中的位图图标) 查看API级别28中添加的android.app.Person。CN1的构建服务器抛出错误找不到符号import

我正在Android中构建自己的通知托盘。我试图使用不太过时的
android.app.Notification
资源(而不是现在不推荐的
NotificationCompat
资源)

在一个例子中,我想构建一个带有位图图标的
MessagingStyle
。为此,需要类
android.app.Person
。(
MessagingStyle
不支持
NotificationCompat
中的位图图标)

查看API级别28中添加的
android.app.Person
。CN1的构建服务器抛出错误
找不到符号import android.app.Person
。这是因为CN1的目标是SDK 27,对吗?我可以使用一些构建提示来包含一个更高的提示,允许我使用
android.app.Person


谢谢

在添加构建提示时,android.buildToolsVersion=28似乎很有效