Menu Home


Android Gradle: SDK License Agreements

* What went wrong: A problem occurred configuring project ‘:mi’. > Failed to notify project evaluation listener. > You have not accepted the license agreements of the following SDK components: [Android SDK Build-Tools 25]. Before building your project, you need to accept the license agreements and complete the installation of […]

Android Studio: Manually Include AAR package

Create Library Folder Add Flat Repositories repositories { flatDir { dirs ‘libs’ } } Add Dependencies dependencies { compile ‘groupName:libName:[email protected]’ } MUST end with @aar

Android Studio: Change AAR Build Name

android.libraryVariants.all { variant -> variant.outputs.each { output -> def outputFile = output.outputFile if (outputFile != null &&‘.aar’)) { def fileName = “Your aar package name” output.outputFile = new File(outputFile.parent, fileName) } } } Rebuild your project, you will find the aar package file at build/outputs/aar