cpprestsdk icon indicating copy to clipboard operation
cpprestsdk copied to clipboard

Android build fails under side-by-side NDK (r19+)

Open solodon4 opened this issue 4 years ago • 3 comments

NDK r19 is now considered obsolete and unsupported by Android. That was the last time non side-by-side NDK was supported, which is the only way cpprestsdk currently builds on Android. I didn't have any luck building cpprestsdk with more recent NDKs. Has anyone had any experience building cpprestsdk with side-by-side NDK and could share some details? Thank you!

solodon4 avatar Jun 28 '21 07:06 solodon4

I have it on my list to update the android CI for a newer NDK.

barcharcraz avatar Jun 29 '21 19:06 barcharcraz

Thank you @barcharcraz! I also once sent a pull request #1435 to enable GitHub Actions under iOS/Android, but it was never merged in. That one was still for non-side-by-side NDK, but it would be great if you guys enable it eventually since GitHub action workflows travel with forks and people trying to contribute to cpprestsdk would know immediately when they broke your two least tested scenarios. I'd be happy to port that CI once we figure out side-by-side NDKs build

solodon4 avatar Jun 29 '21 23:06 solodon4

Yeah, I'd prefer to just continue to use azure pipelines, since we have access to more resources there. The CI is not enabled for pull requests, so maybe just enabling it would be better.

barcharcraz avatar Jun 30 '21 18:06 barcharcraz