-
Notifications
You must be signed in to change notification settings - Fork 283
Fix merge-archives.sh Android build under Windows WSL2 #575
Fix merge-archives.sh Android build under Windows WSL2 #575
Conversation
Tested on Ubuntu 18.04, looks all good, merges as expected. Many thanks for the change @prothen! |
(cherry picked from commit cd69986)
02-10 18:53:06.739: E/AwareLog(2410): KeyThreadRecognize: can not find max eas level for: com.DefaultCompany.HuaWeiPad |
What is the cause of the camera creation failure |
This covers #571 and successfully builds for Android under Windows with
libwebrtc
being built under WSL2 while at the same time leaving native Linux builds unaffected.This is achieved by updating
build.gradle
with a robust (escaped)$projectDir
path and then conditional on WSL2 kernels applying some regular expression for transforming it into a/mnt/c/...
path format that is WSL2 compliant.@fibann annd @djee-ms If you have some preferences regarding the print outs or other comments, please let me know and I am happy to update them accordingly. It would also be great if we can double check that native Linux is actually unaffected since I haven't tested this yet.