Target Downgrade

后端 未结 2 1774
天命终不由人
天命终不由人 2021-01-27 06:38

I have released an app on the app store with the target api being 23. A user has contacted me informing me that my app immediately crashes on devices running 23. After researchi

2条回答
  •  后悔当初
    2021-01-27 07:26

    instead of downgrade you can add conditions for relate the parts of your code to the supported versions.

        if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M){
           //put whole code here if nothing supported for 23+
        }
    

提交回复
热议问题