Include .aar SDK in plugin

61 views
Skip to first unread message

Lodovico Azzini

unread,
Jul 22, 2021, 10:32:17 AM7/22/21
to Flutter Development (flutter-dev)
Hi everyone,

I am developing a Flutter plugin to wrap the functionality two native SDKs that are already out for Android and iOS. 
I followed the steps to include the sdk for Android:
  1. Edit the project build.gradle file to add the libs folder
  2. Copy the .aar in the libs folder
  3. Add the dependencies to the app build.gradle
The plugin's example app is compiling. However, when I try to actually use the objects provided by the SDK I get an error as the compiler is not finding the object.

Anybody had a similar issue and hopefully solved it?
Reply all
Reply to author
Forward
0 new messages