microg / GmsCore

Free implementation of Play Services

Home Page:https://microg.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compiling the vending app now fails

ale5000-git opened this issue · 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

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.

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.

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

Closing this as it's not a bug in microG