Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling the vending app now fails #2186

Closed
ale5000-git opened this issue Feb 19, 2024 · 4 comments
Closed

Compiling the vending app now fails #2186

ale5000-git opened this issue Feb 19, 2024 · 4 comments

Comments

@ale5000-git
Copy link
Member

ale5000-git commented Feb 19, 2024

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
Copy link
Member

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
Copy link
Member Author

ale5000-git commented Feb 19, 2024

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
Copy link
Member

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 mar-v-in added Build script and removed bug labels Feb 26, 2024
@mar-v-in
Copy link
Member

Closing this as it's not a bug in microG

@mar-v-in mar-v-in closed this as not planned Won't fix, can't repro, duplicate, stale Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants