SDK Demo development steps
- New Construction
- New Module -> Android Libiray
- 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
- The libs directory under the app directory into the Kura aar
- 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