Repository navigation
fix mvn build#654
Conversation
|
@LukeOwncloud Have you installed the app from the apk that is generated by using this configuration? It crashes continuously with ClassNotFoundExceptions and NoClassDefFoundErrors. I have verified and this doesn't occur with Gradle, so there shouldn't be a reason for this to happen with Maven either. |
|
@stoyicker No, but I did just now: The actually error you saw is: I originates from using SwipeRefreshLayout is somehow included in Android Support library v4. I do not know how to include it with maven properly. SherlockActionbar also depends on it. So there seems to be a version conflict. I used to use a workaround for including the exact same version which is not officially supported by maven anymore. It really is a mess. I suggest to remove maven building support altogether. @stoyicker Why don't you edit SETUP.md and explain how to use gradle? |
|
@LukeOwncloud As for removing Maven, maybe we should consult @davivel ? Personally I can't disagree; after all, it doesn't work as of now. |
|
@stoyicker You are probably talking about this error: That actually the same as I was referring to: As for removing maven support: I make it work from time to time but nobody seems to notice when it doesn't (except for you right now!) So, it should be a big deal. |
|
@LukeOwncloud As you say then, it's not like I've been watching the ownCloud repositories for a long time. If you believe that Maven is not really being used, I think the best idea is that me and my peers should limit our pull request to how it is now, and then, once it gets merged or discarded, you can rebase on it and create a new one removing maven support (or the other way around - if you make one removing Maven and it gets merged, we'll rebase, whatever). |
|
You go first. I close this PR for now. |
|
@davivel What do you think about dropping maven support? |
|
I think dropping mvn is a valid option, Gradle is being pushed by Google a lot. For most Android developers, gradle should be preferable to mvn. |
No description provided.