GmsCore icon indicating copy to clipboard operation
GmsCore copied to clipboard

Compiling the vending app now fails

Open ale5000-git opened this issue 1 year ago • 3 comments

Compiling the vending app with gradlew clean :vending-app:assembleDefaultRelease was successful on Windows before the merge of #2069 but now it fails with this error: ERROR: C:\Users\MyUser\Documents\GmsCore\play-services-base\build\generated\aidl_source_output_dir\release\out\com\google\android\gms\common\moduleinstall\internal\IModuleInstallStatusListener.java: Failed to GetFullPathName

ale5000-git avatar Feb 19 '24 11:02 ale5000-git

The issue is probably that the filename is too long. Try running the compilation in C:\GmsCore instead of C:\Users\MyUser\Documents\GmsCore and see if that helps.

mar-v-in avatar Feb 19 '24 12:02 mar-v-in

You are right, it work inside C:\GmsCore.

But I don't know why it doesn't work with long pathes. I have enabled long path in Windows 10 and in git with git config --system core.longpaths true.

ale5000-git avatar Feb 19 '24 12:02 ale5000-git

Long paths only apply to GetFullPathNameW. The aidl tool in the build tools probably uses GetFullPathNameA, aka is built without Unicode support

mar-v-in avatar Feb 19 '24 13:02 mar-v-in

Closing this as it's not a bug in microG

mar-v-in avatar Feb 26 '24 11:02 mar-v-in