-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
Unable to build on Windows #312
Comments
Did you do the submodule part? Try to make it work in terminal first and then import to AS. |
Could you please write in steps ? Im using Windows 7 |
This is the error Im getting when I use "gradlew jar" in cmd FAILURE: Build failed with an exception.
BUILD FAILED |
I managed to build on Windows 7 when I did it using |
Ahh that thing, I fixed that, but it didn't make it to master. Let me dig it up. |
library/build.gradle from #272 |
As an alternative you can temporarily skip a task, but that doesn't help if you want to import it into AS. |
it started downloading more files then this FAILURE: Build failed with an exception.
BUILD FAILED |
is java 1.8 not supported ? |
Nevermind, I changed the JAVA_HOME and JDK_HOME to java 1.7 and its now keep going. |
Android supports Java 7 since 4.4, but Glide builds with Java 6 to be compatible with most Android builds. Use JDK 6. FindBugs must have their own reasons why it is not forward compatible. |
now new error
|
I'd recommend considering VirtualBox + Linux. Since travis-ci only supports Linux, Linux is the only officially supported platform. I develop regularly on OSX, so that's likely to work. I don't object to supporting Windows, but until we have some CI setup for it it's likely to continue to btrsk. I wouldn't object to a pull request adding ci support for windows. AppVeyor might be a possibility. |
Rename |
@sjudd : Yes I will be using linux soon, but right now I need this on Windows. @TWiStErRob : renamed, same error. Is there any parameter to skip the tests ? |
Try a clean build, the .class file probably stuck. Thinking twice it's best to remove the test file, not just rename. |
Thank you very much, @TWiStErRob :) |
Since we haven't checked anything in to fix this and someone else may find it useful, let's leave this open for now. |
There's a failure in library/build.gradle where |
@BeforeClass public static void setUpClass() {
Assume.assumeThat(System.getProperty("os.name"),
IsNot.not(StringStartsWith.startsWith("Windows")));
} This would still allow Travis to catch bugs, but also allow people on Windows to build. |
Progress toward bumptech#312.
Progress toward bumptech#312.
@sjudd this can be closed now, thank you for putting the fixes in. (DiskLruCache commit for reference: sjudd/DiskLruCache@cd49c1d) |
Great, glad to hear it. |
Dang, I missed one, I had it in local changes: <module name="NewlineAtEndOfFile">
<property name="lineSeparator" value="lf" />
</module> |
Should be fixed here: ae4a451 |
I've tryiing to build its sample app for 2 hours but everywhere errors and errors. Its not straight forward as written in description. Would you you please fix it ?
Im using android studio and trying to checkout using https url. Before I tried with github terminal, but no success.
The text was updated successfully, but these errors were encountered: