Cuberite Forum
Android tests - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Development (https://forum.cuberite.org/forum-13.html)
+--- Thread: Android tests (/thread-530.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24


RE: Android tests - FakeTruth - 12-24-2013

(12-23-2013, 11:54 PM)STR_Warrior Wrote: I'm slowly getting there. I have to change all the files that include something from another project (iniFile, Lua etc).

You should change the include directories instead of the files


RE: Android tests - NiLSPACE - 12-24-2013

Why did I not think of that...


RE: Android tests - NiLSPACE - 12-24-2013

I now have everything compiled but I get an error when trying to export it:
http://puu.sh/5W6IN.png


RE: Android tests - FakeTruth - 12-24-2013

Check the error logs to see what the errors are :O
It's in the Problems tab on the bottom of Eclipse http://i40.tinypic.com/x1kh3m.png


RE: Android tests - NiLSPACE - 12-24-2013

Got it exported but it crashes when I try to open the app.


RE: Android tests - FakeTruth - 12-24-2013

Well.. dunno bout that.. check the logcat when you have your Android device attached to your PC


RE: Android tests - NiLSPACE - 12-24-2013

It could be because I had to change some things first before I could export it. I now recompiled it, so I have it all clean and I have one error:
[Image: 5Wd3L.png]


RE: Android tests - FakeTruth - 12-24-2013

There should be a file called list_item.xml in res/layout/ , if there isn't it would explain that error... but I don't know what happened to the fileTongue
If it is there you might need to Project > Clean, and rebuild and pray it fixes the error.


RE: Android tests - NiLSPACE - 12-24-2013

I think we lost that file a long time ago because it isn't even in google code: https://code.google.com/p/mc-server/source/browse/#svn%2Ftrunk%2FAndroid%2Fres%2Flayout


RE: Android tests - FakeTruth - 12-24-2013

Lol I got it. Maybe I have never committed it before.
Here it isBig Grin