environment: android studio 3.3 gradle 3.2.1 When build library proejct using with gradle 3.2.1(android studio 3.3) aar file include empty folder at root directory like below image.
I think that folders unnecessary because that files exist real file in jni folder or res folder. Is that structure is right? So how can I exclude that folders?
Those folders are for mipmap drawables and for architecture specific build artifacts. Here are other files and directories that could be included (https://developer.android.com/studio/projects/android-library#aar-contents):
/AndroidManifest.xml
/classes.jar
/res/
/R.txt
/public.txt
Additionally, an AAR file may include one or more of the following optional entries:
/assets/
/libs/name.jar
/jni/abi_name/name.so (where abi_name is one of the Android supported ABIs)
/proguard.txt
/lint.jar