-
Notifications
You must be signed in to change notification settings - Fork 2
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
downloadTranslations tries to download everything again and fails #2
Comments
I get the same "Content is not allowed in prolog" error at the end. The downloaded language files are there, and seem to be OK, but the task does not finish successfully. so I think this is some sort of encoding-problem. Im on Windows7 64Bit using Android Studio 0.8.12 64Bit |
@johnuopini Any updates? |
Can you post a stacktrace? I have no way to reproduce this |
Stacktrack running on MacOS gradle downloadTranslations --stacktrace FAILURE: Build failed with an exception.
BUILD FAILED Total time: 1 mins 50.798 secs |
I have encountered the same problem today with the latest version. It's project-specific. The plugin works fine for my other project, but not for this one. I'm using the same build environment for both. |
This library seems unmaintained so I released my fork to jcenter() which fixes this issue. https://github.com/step-up-labs/gradle-getlocalization-plugin You can add it by:
|
Hi, I updated to v1.1 of the plugin and the previous problem on Windows is solved. But it fails at the end for a different reason. Stacktrace:
Executing tasks: [downloadTranslations]
Configuration on demand is an incubating feature.
Relying on packaging to define the extension of the main artifact has been deprecated and is scheduled to be removed in Gradle 2.0
:app:downloadTranslations
Dowloading 'cs-CZ', progress 100.0%
Dowloading 'de', progress 100.0%
Dowloading 'es', progress 100.0%
Dowloading 'fr', progress 100.0%
Dowloading 'sk-SK', progress 96.0%
Dowloading 'tr-TR', progress 94.0%
Dowloading 'ca-AD', progress 100.0%
Dowloading 'pt-BR', progress 96.0%
Dowloading 'fi', progress 71.0%
Dowloading 'sv', progress 100.0%
Dowloading 'it', progress 100.0%
Dowloading 'nl-BE', progress 100.0%
Dowloading 'pt-PT', progress 97.0%
Dowloading 'nl', progress 100.0%
Dowloading 'es-419', progress 97.0%
Dowloading 'da', progress 100.0%
Dowloading 'pl-PL', progress 100.0%
Dowloading 'ru', progress 84.0%
Dowloading 'grk', progress 100.0%
Dowloading 'hu-HU', progress 93.0%
Dowloading 'vi', progress 93.0%
Dowloading 'en', progress 100.0%
Dowloading 'no', progress 90.0%
Dowloading 'bg-BG', progress 93.0%
Dowloading 'lt', progress 95.0%
Dowloading 'cs-CZ', progress 100.0%
[Fatal Error] :1:1: Content is not allowed in prolog.
:app:downloadTranslations FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:downloadTranslations'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1 mins 22.493 secs
The text was updated successfully, but these errors were encountered: