gamemn02 / Settings-Database-Provider

An android package with only a content resolver work as bridge between android settings database provider and your app
Apache License 2.0
47 stars 2 forks source link

Android 14 Requires SDK 23 #7

Open ShoeUnited opened 9 months ago

ShoeUnited commented 9 months ago

I dunno if a big deal but it won't install due to target.

Here's the error.

Failure [INSTALL_FAILED_DEPRECATED SDK_VERSION : App package must target at least SDK version 23, but found 22]

gamemn02 commented 9 months ago

Didn't notice that, I never tested it in Android 14, thank you for informing me. increasing the target sdk would make the package useless. I will do my best to figure out a solution.

lmore377 commented 7 months ago

The app needs to be installed thru adb with adb install --bypass-low-target-sdk-block filename.apk

Hr-2 commented 5 months ago

The app needs to be installed thru adb with adb install --bypass-low-target-sdk-block filename.apk

Is this is permanent solution or the package will be updated for Android 14 later? I'm not really familiar with adb I don't know how to do that

gamemn02 commented 5 months ago

@Hr-2

Is this is permanent solution or the package will be updated for Android 14 later? I'm not really familiar with adb I don't know how to do that

But you still need to grant permissions to the package through adb after installing it. How are you going to do that without adb, is there another way?

Hr-2 commented 5 months ago

@Hr-2

Is this is permanent solution or the package will be updated for Android 14 later? I'm not really familiar with adb I don't know how to do that

But you still need to grant permissions to the package through adb after installing it. How are you going to do that without adb, is there another way?

I usually copy paste the grant permission command in adb but when i did that with the install command it gave me error install --bypass-low-target-sdk-block settings-database-provider-v1.1-cli.apk install: Unknown option 'bypass-low-target-sdk-block' (see "install --help")

gamemn02 commented 2 months ago

@Hr-2 are you using adb on pc or apps like LADB or Brevent? for LADB and Brevent, try the following command instead: cat sdcard/Download/sdp-v1.1.apk | su -c pm install --bypass-low-target-sdk-block -S 106579 or cat sdcard/Download/sdp-v1.1.apk | pm install --bypass-low-target-sdk-block -S 106579