amazon-polly-metahumans icon indicating copy to clipboard operation
amazon-polly-metahumans copied to clipboard

How to build for Android?

Open Legumtechnica opened this issue 2 years ago • 6 comments

How do I build the aws-cpp modules for android?

Legumtechnica avatar Aug 14 '22 17:08 Legumtechnica

We didn't test with android, you're free to explore to try to get it to work on android. I'd recommend going to the aws cli github package for help.

cwalkere avatar Aug 16 '22 20:08 cwalkere

I've tried building aws-cpp Android. Now the question: Would it require code level changes, or just add the build files and modify the build.bat file?

Legumtechnica avatar Aug 20 '22 10:08 Legumtechnica

@Krxtopher Please a little help :D

Legumtechnica avatar Sep 13 '22 22:09 Legumtechnica

Hey, Ishu07. As cwalkere mentioned above, we did not target Android when designing this sample project. So I'm afraid I don't have any insights to help you get it working on that platform.

If you'd like to see us update the project in the future to support Android, I recommend creating a new issue requesting Android support and mark it with the "enhancement" tag. That will help us track the request and gauge community interest in such a feature, informing our future roadmap planning.

Krxtopher avatar Sep 13 '22 22:09 Krxtopher

Okay, i have managed to build for Android. Just one step I'm not able to figure out.

Authentication: current implementation requires ~/.aws/config and the other file For Android, it's kinda not possible, so I'm trying out a way to hardcode it inside the header or a BP module for it to take my aws secret and access key.

A little push in the right direction might help

Thanks

Legumtechnica avatar Oct 20 '22 05:10 Legumtechnica

@Ishu07 Can you share how you pack this on android.? I had build using version1.8 on aws sdk cpp but when I tried to package in ue4 getting warning like this "amazonpolly\Source\AmazonPollyMetaHuman\ThirdParty\AwsSdk\Android\lib\libaws-crt-cpp.so' was not resolvable to a file when used in Module 'AmazonPollyMetaHuman', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. " and build stuck and android ndk build

NandhaKishorM avatar Oct 20 '22 07:10 NandhaKishorM