首先 libs位置 要放在src 同一目录下面
然后 app build下面 添加
implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
flutter
Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar
打开android模式 ,clearbuild 和 rebuild 一下试试