Latest beta (02), sets target to sdk 34, which is still in developing?

Skip to first unread message

Ultima Ratio

Aug 7, 2023, 10:34:31 AMAug 7
to Android CameraX Discussion Group
You really sure, you wanted to release 1.3.0-beta02 like that?

 Dependency '' requires libraries and applications that
      depend on it to compile against version 34 or later of the
      Android APIs.

Scott Nien

Aug 8, 2023, 12:38:34 AMAug 8
to Ultima Ratio, Android CameraX Discussion Group
Hi there, 

This compileSdk 34 requirement is enforced for every latest Jetpack library. 

But do note that compileSdk is different from targetSdk.  Changing compileSdk won't cause any behavior change in apps. 


You received this message because you are subscribed to the Google Groups "Android CameraX Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

Ultima Ratio

Aug 8, 2023, 4:04:11 AMAug 8
to Android CameraX Discussion Group,, Android CameraX Discussion Group, Ultima Ratio
Ah, yeah.. compileSdk aint so bad, as targetSdk. Will give it a try then.

Ultima Ratio

Aug 9, 2023, 4:20:20 AMAug 9
to Android CameraX Discussion Group,, Android CameraX Discussion Group, Ultima Ratio
So, it should work..

But even compileSdk needs quite alot of changes, as for whatever reasons many things are non-null or nullable now (alot of changes in canvas related things).

Also as we have part of the app in react-native, its a nightmare.. I cannot force all these libs, to support compileSdk 34 (their minimum is 31).

What is the reason for enforcing the compileSdkVersion to 34, except making the lifes of devs harder without any benefits?

Joerg schrieb am Dienstag, 8. August 2023 um 06:38:34 UTC+2:

Android CameraX Discussion Group

Aug 9, 2023, 11:37:00 AMAug 9
to Android CameraX Discussion Group,, Scott Nien, Android CameraX Discussion Group
Hi there,

Please check out the link Scott responded (See also to however the CameraX library does not control these policies. Please remember to keep all discussions civil and centered around the CameraX Library.


Reply all
Reply to author
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages