Page 3 of 4

Re: Building AT on Android

Posted: Thu Jan 18, 2018 8:12 pm
by rijackson741
I misunderstood. I thought when you said "nothing" you meant the game wouldn't launch.

Did you modify loadresources.xml to include your new json and map files? You need to do that. Note that the json needs to be created by exporting the project from ATCS.

Re: Building AT on Android

Posted: Thu Jan 18, 2018 8:59 pm
by Zukero
You need to add your resources to the loadresources.xml file under res/values/
You also need to alter at least one existing map to add a mapchange area leading to your own maps (if you created maps).
Finally, you may need to ask AIDE to "refresh" the res folder, or to "clean" the project in order to ensure that the R.java file is regenerated by aapt. If R.java doesn't contain references to your own content, while your files are definitely there according to AIDE, you can simply delete R.java before running the game.

Re: Building AT on Android

Posted: Fri Jan 19, 2018 2:08 pm
by Shadow Slayer
when I added my content I couldn't save it because it asked me to buy the full version, I do not know how to clean or refresh project?

Re: Building AT on Android

Posted: Fri Jan 19, 2018 4:48 pm
by Zukero
You can't use the free version of AIDE to do anything useful. Period.

Re: Building AT on Android

Posted: Fri Jan 19, 2018 11:50 pm
by Shadow Slayer
Oh no, Looks like i'll have to buy it, but £14 just to save a file, WoW, But I guess AT is worth it (NOBODY WILL STOP ME, I WILL SOON BE CREATING PROPER CONTENT!!!!!! :D :lol: :D !!!!)

Re: Building AT on Android

Posted: Mon Jan 22, 2018 8:57 am
by Shadow Slayer
Unfortunately I don't think this will happen soon... (My Phone Broke) :?

Re: Building AT on Android

Posted: Mon Jan 22, 2018 9:21 am
by Zukero
:cry: on the upside, you saved 14 quids. :roll:

Re: Building AT on Android

Posted: Mon Jan 22, 2018 9:37 am
by Shadow Slayer
Zukero wrote: Mon Jan 22, 2018 9:21 am :cry: on the upside, you saved 14 quids. :roll:
lol :lol:
Maybe I will try to create AT on my laptop if that's possible,
and then add my content, I heard somewhere on the forums
that you can get Android Studio on laptop and its free?

Re: Building AT on Android

Posted: Mon Jan 22, 2018 10:09 am
by Zukero
Yes. The best place to work on AT is a desktop/laptop computer.

I recently tried Android Studio 3.0, and it's forcing a bunch of changes to the layout of the source code, which I don't want to deal with until after we release the next version.
I suggest you to stick to Android Studio 2.X if you can find it, or Eclipse with the ADT plugin, which has been abandoned by Google a while ago, but still works fine if you're willing to jump through a few hoops to set it up.

For testing, I recommend installing VirtualBox (or another Virtual Machine system), and creating at least one Android VM using ISOs from androidx86.org.
There are some more hoops to jump through to attach such a VM to the android debugger (set up networking correctly, connect manually using the command line...), but it's neither hard, nor long, and there are plenty of tutorials out there.
You'll need this even more as you no longer have a phone handy.

As a bonus, you'll be able to have ATCS and Android Studio (or Eclipse) running side by side (if you have at least 8GB RAM. Possible with 4GB, but painful).

Finally, it will also let you use Git, but as it seems you're new to development tools, you should get familiar with the rest before looking at Git. Git is powerful, convenient, reliable, and a bit hard to understand and use when you're not familiar with it.

Re: Building AT on Android

Posted: Mon Jan 22, 2018 10:21 am
by Shadow Slayer
So I need to use virtual box to test Andor's Trail, and I need Android studio for what then, Is it that after I compile Andors Trail it will only work on virtual box or could I just download the apk on my laptop without virtual box after compiling it in android studio?