microg / GmsCore

Free implementation of Play Services
https://microg.org
Apache License 2.0
8.48k stars 1.71k forks source link

Compiling the vending app now fails #2186

Closed ale5000-git closed 7 months ago

ale5000-git commented 8 months ago

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

mar-v-in commented 8 months ago

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.

ale5000-git commented 8 months ago

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.

mar-v-in commented 8 months ago

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 commented 7 months ago

Closing this as it's not a bug in microG