kezong / fat-aar-android

A gradle plugin that merge dependencies into the final aar file works with AGP 3.+
MIT License
3.15k stars 625 forks source link

Failed to apply plugin [id 'com.kezong.fat-aar'] #306

Open Ronadlo7 opened 3 years ago

Ronadlo7 commented 3 years ago

Describe the issue A clear and detailed description of what the issue is.

Build Environment

siyehua commented 3 years ago

I have the same issue, my flat-version 1.3.6

siyehua commented 3 years ago

I have the same issue, my flat-version 1.3.6

I solve this. you should use this plugin in:

com.android.library

but not

com.android.application
Ronadlo7 commented 3 years ago

thank you ,I reversed the order ,but have other problem ,flutter module bale a aar package use fat-aar ,then copy aar package to Android project and run App, but there is a problem, Cause:duplicate entry:io/flutter/Log.class

siyehua commented 3 years ago

and

Wow, I have the same issue when the aar useing flutter plugin, I try to solve, wait for my next reply 😄

Ronadlo7 commented 3 years ago

Haha, then you solved it, please tell me,Are you also in Guangzhou?