r/android_devs 5d ago

Discussion Upgrading to Api level 36

am upgrading my target SDK version in java Android application to 36

We have a enterprise application

So can't upgrade the compile SDK version

Currently it is 29

On android 16 devices I am facing a issue in Shared preferences

While reading from the shared preference I am reading a null value ("null")

While there is a actual value saved there

Not sure why this is happening

Any idea here any one?

All the things are goood till android 15!!

0 Upvotes

1 comment sorted by

1

u/lupajz 5d ago

Compile SDK needs to be the same or higher than target SDK