Getting Started with third-party SDK Development

SDK Demo development steps

  1. New Construction
  2. New Module -> Android Libiray
  3. Activity in the new Moudle
    4. Activity in Moudule declared in the AndroidManifest
    5. SDK start writing
    6. The construct generated a third party SDK library, Build -> rebuild
    the directory 7.Module, build -> outputs -> aar directory

Import aar

  1. The libs directory under the app directory into the Kura aar
  2. Adding warehouse and build a path dependence in the app directory under build.gradle
android {
    repositories {
        flatDir {
            dirs 'libs'
        }
    }
}

dependencies {
    compile(name: 'lyx-library-1.0.3', ext: 'aar')
}

reference

Android SDK to develop basic tutorial https://juejin.im/entry/5a06a45a51882503eb4ac060

How Android Studio to import and view the data packets aar https://help.aliyun.com/knowledge_detail/85655.html

Published 118 original articles · won praise 14 · views 50000 +

Guess you like

Origin blog.csdn.net/github_38641765/article/details/90617900