title: How to up targetSdkVersion 26 to targetSdkVersion 30?
body: <p>today we will upload the app to playstore, but playstore has a minimum requirement of targetSdkVersion 30. Meanwhile we have targetSdkVersion 26. We have to change to 30. When we change the targetSdkVersion in gradle, our app can't access the server and dil logcat has caption &quot;RecyclerView: No adapter attached; skipping layout&quot;. How to overcome this?</p>
  <p><a href="https://i.stack.imgur.com/2OhpZ.jpg" rel="nofollow noreferrer">TargetSdkVersion 26</a></p>
  <p><a href="https://i.stack.imgur.com/1jo8m.jpg" rel="nofollow noreferrer">Application runs fine at targetSdkVersion 26</a></p>
  <p><a href="https://i.stack.imgur.com/Xtho5.jpg" rel="nofollow noreferrer">TargetSdkVersion 30</a></p>
  <p><a href="https://i.stack.imgur.com/LsEuK.jpg" rel="nofollow noreferrer">Application does not run properly at targetSdkVersion 30</a></p>