<div dir="ltr"><div><div><div><div><div>Tnx,<br><br></div>That did the trick for me. To get the code to compile completely in Eclipse I also had todo the following:<br><br></div>Copy the contens of "\actionbarsherlock\library\gen\com\actionbarsherlock" to "\gen\com\actionbarsherlock", after rebuilding the whole thing it worked.<br>

<br></div>Keep in mind that if you clean the project you have to manually recopy the files again after rebuilding the actionbarsherlock library.<br><br></div>For some reason I am unable to change the output folder and also can't specify custom tasks after building, I don't know why this is. <br>

<br></div>After doing this everything should work as expected and you should be able to build on a Windows Machine.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 13 January 2013 08:39, Carsten Ringe <span dir="ltr"><<a href="mailto:carsten@kopis.de" target="_blank">carsten@kopis.de</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am 10.01.2013 20:41, schrieb Aksakal, M.:<div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've checked out the code for the Android client on github. Problem<br>
is that I'm not able to get Eclipse to build is because of all kinds<br>
of errors and missing dependencies. I'm looking for some guidance or<br>
an online guide (just like for the dekstop clients) to help me get a<br>
working build environment.<br>
</blockquote></div></div>
I tried to checkout the HEAD of the android repository and got some errors too. I noticed there is a "setup_env.sh" script but since I'm on windows at the moment I added a batch file to do the same things for windows users. Here it is:<br>


<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br>
</blockquote></blockquote></blockquote>
set ECLIPSE_ADT_PATH=<br>
<br>
git submodule init<br>
git submodule update<br>
%ECLIPSE_ADT_PATH%\tools\<u></u>android.bat update project -p actionbarsherlock\library --target 1<br>
%ECLIPSE_ADT_PATH%\tools\<u></u>android.bat update project -p . --target 1<br>
cp third_party\android-support-<u></u>library\android-support-v4.jar actionbarsherlock\library\<u></u>libs\android-support-v4.jar<br>
cd tests<br>
%ECLIPSE_ADT_PATH%\tools\<u></u>android.bat update test-project -m .. -p .<br>
<<<<br>
<br>
I don't know what the "--target 1" switch does, but it works and sets up the projects. After that I can import them into my ADT Eclipse.<br>
<br>
The project "tests" is still missing a project as dependency, maybe because I renamed the checkout folder. I had to open the project build path, remove the project "owncloud-android" and add "FileDisplayActivity" as a dependency.<br>


<br>
Now my projects are without errors. I think I'll do a pull request for my windows batch file, so others on windows can use it too.<br>
<br>
<br>
Hope that helps.<span class="HOEnZb"><font color="#888888"><br>
<br>
Carsten<br>
<br>
-- <br>
<a href="http://www.kopis.de" target="_blank">www.kopis.de</a><br>
<a href="mailto:carsten@kopis.de" target="_blank">carsten@kopis.de</a><br>
<br>
Wenn ihr eure eMails verschlüsseln wollt, findet ihr meinen GPG Schlüssel unter <a href="http://blog.kopis.de/contact/" target="_blank">http://blog.kopis.de/contact/</a><br>
</font></span></blockquote></div><br></div>