Using Custom SDK for application development

  • Replies:6
  • OpenNot stickiedUnanswered
  • Forum posts: 4

May 31, 2016 6:04:04 AM via Website

I have built a custom SDK (modifying SDK 23) and set its build version (API) to 50 (So as not to clash with the existing ones). I want to use custom libraries of this SDK in my Android Studio Application. For this purpose I want to compile the application against the SDK version 50(compileSdkVersion=50).
But when I change compileSdkVersion to 50, it gives dependency errors, as shown. The support libraries, needed by application, are not generated along with Sdk generation.
Need help.image

  • Forum posts: 266

May 31, 2016 7:23:31 AM via Website

You don't need to customize a whole SDK, just custom library with overrided methids will be enough.
If you want to build the sdk with version name "50" you need to rebuild support libraries with same version name.

  • Forum posts: 4

May 31, 2016 12:02:06 PM via Website

Thank you Vladimir.

Will you please guide me to rebuild the support libraries?

  • Forum posts: 266

May 31, 2016 12:20:59 PM via Website

It will be more easier and better to make custom library, which will include overrided sdk's methods. You can use custom library in your projects, and all changed methods will operate as you want.
Customizing of the sdk and support libraries is not a right way.

  • Forum posts: 4

May 31, 2016 2:05:20 PM via Website

Ok. I'll try this way round.

I am newbie in this area. If any tutorial of your knowledge, for custom libraries, is available, please let me know.