• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Migrating from API 28 to API 21

Maybe start with the AndroidManifest.xml and can also search for API to replace those # 28's with the # 21. Heck, you could probably just search '28' and when it references APIs, make the edits. Also sync CM-12.1 so you can just build the app individually as needed and have all the appropriate SDK's needed, directly on hand
 
Upvote 0
First set the android:minSdkVersion='21' in your AndroidManifest.xml file.
In terms of the compile problems, you have to work through them individually. I would have thought there'd not be too many problems, but it depends what your app is trying to do, and what API features it uses.

Got ninja'd Lol
 
  • Like
Reactions: MoodyBlues
Upvote 0
Maybe start with the AndroidManifest.xml and can also search for API to replace those # 28's with the # 21. Heck, you could probably just search '28' and when it references APIs, make the edits. Also sync CM-12.1 so you can just build the app individually as needed and have all the appropriate SDK's needed, directly on hand

Perfect, Thanks!
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones