Java Question problem with slc and imported android package.

kpmais

Member
Licensed User
Longtime User
Hello guys, good day.

I have a problem with the SLC (simple library compiler).
I'm writing a wrapper for alarms.
This is where I want to use the functionality of Notification Compat.
So I'm trying
import androidx.core.app.NotificationCompat;
since support.v4 is no longer accepted.
However, when importing, I get the error from the compiler:
"D:\RAlarm\src\de.peter.alarm\AlarmReceiver.java:15: error: package androidx.core.app does not exist
import androidx.core.app.NotificationCompat;"

Downloaded is androidx.core and androidx.core-ktx
As far as Google helps me, the package is included in adroidx.core. Or do I need other SDK parts?

Where is my mistake?
 
Top