libs in Android Studio

When I run uno build -tAndroid --debug the libraries that I have copied to @(Java.LibsDirectory) are not added to the project as libraries. How can I do this?

Hi Bolav,

The AndroidStudio build is currently experimental, I’ll raise a ticket for this bug.

You can add them manually by going to Android Studio’s project view, browing to the libs folder, right clicking the jar and saying add as library.

Hope it helps

Hi Chris,

Look at this: https://www.fusetools.com/community/forums/feature_requests/gradledependenciescompile_support_for_files

I was able to make it to work using [Require("Gradle.Dependencies.Compile","files('src/main/libs/YouTubeAndroidPlayerApi.jar')")] , and hacking on the gradle file that was created automatically with ProcessFile.

Great, thanks for the update