v0.8.9 (Bugfixes + translations) released to Google Play!

Useful links
Source code of the game - Contribution guide - ATCS Editor - Translate the game on Weblate - Example walkthrough - Andor's Trail Directory - Join the Discord
Get the game (v0.8.9) from Google, F-Droid, our server, or itch.io

Building AT on Android

Discussions of the development process of the game.
User avatar
rijackson741
Posts: 4451
Joined: Tue Aug 20, 2013 2:04 am
android_version: 10 - Android 10
Location: Somewhere in Dhayavar
Contact:

Re: Building AT on Android

Post by rijackson741 »

I don't use Virtual Box. Android Studio has it's own built-in Android VMs, and it's easier to use them. Here's a link to the installer for AS 2.2.3: https://www.dropbox.com/s/5o1aqobsmnajr ... s.exe?dl=0
Level:71, XP:6493739, PV:608, FQ:84
HP:210, AC:212, AD:58-77, AP:4, ECC:16%, CM:1.5, BC:188, DR:3
Gold: 237559 | RoLS:1, RoL:1, GoW:1, VSH:1, RoFLS:1, WoB:1
HH:1, WA:1, CS:2, Cl:1, IF:4, Ev:3, Re:2, WP:DA:1, WP:1S:1, WP:B:1, AP:L:1, FS:DW:2, S:DW:1
User avatar
Shadow Slayer
Posts: 56
Joined: Fri Jan 05, 2018 10:22 am
android_version: 4.4 - Kitkat
Location: Vacor's Hideout (Temporarily Retired)(Real Life Location, I WILL NOT TELL YOU:))

Re: Building AT on Android

Post by Shadow Slayer »

Unfortunately I had to have a problem... ( :evil: :cry: Why cant people make something simple and easy to use that can compile apps!?)

So I downloaded Android Studio and tried to create a project and i'm told that no SDK is found, I try to update/install it when starting AS and I cant because it is said in brackets that it is installed, so I downloaded the SDK packages from the AS website and redirected AS to the SDK and still says SDK has no platforms?

And even worse, so then I decided to download tiled at least and start making new maps for my content and I downloaded the source code, (Even both the zip and source.tar) installer and macos and whatever I don't try when I turn on tiled I get the error: Entry point not found, Could not find link library KERNEL.dll I looked for this file and I found lots of .dll files but no KERNEL.dll?
They called it the Shadow, and started creating a small cult around it, Only the smallest core of the cult actually knows that this power comes from the Kazaul-era dark arts...
User avatar
rijackson741
Posts: 4451
Joined: Tue Aug 20, 2013 2:04 am
android_version: 10 - Android 10
Location: Somewhere in Dhayavar
Contact:

Re: Building AT on Android

Post by rijackson741 »

In AS go to "File", "Project structure", "Project", and choose the SDK there (I have Android API 24 Platform selected).

I don't know what the problem with Tiled is, but it's nothing to do with the sources. Browse to C:\Program Files\Tiled, and double click on tiled.exe. Do you get the same message?
Level:71, XP:6493739, PV:608, FQ:84
HP:210, AC:212, AD:58-77, AP:4, ECC:16%, CM:1.5, BC:188, DR:3
Gold: 237559 | RoLS:1, RoL:1, GoW:1, VSH:1, RoFLS:1, WoB:1
HH:1, WA:1, CS:2, Cl:1, IF:4, Ev:3, Re:2, WP:DA:1, WP:1S:1, WP:B:1, AP:L:1, FS:DW:2, S:DW:1
User avatar
Zukero
Lead Developer
Posts: 2028
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: Building AT on Android

Post by Zukero »

For Tiled, don't bother with the sources, they're of no use to you (yet?). Get the Windows installer.
The source code you'll need is AT's, so that you have access to the maps and tilesheets.

For Android Studio, you will need to ensure that you have the SDK packages for the Android version currently targeted by AT (21).

You may want to paste error messages or screenshots of the problems here so we may provide more precise help.
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2
User avatar
Shadow Slayer
Posts: 56
Joined: Fri Jan 05, 2018 10:22 am
android_version: 4.4 - Kitkat
Location: Vacor's Hideout (Temporarily Retired)(Real Life Location, I WILL NOT TELL YOU:))

Re: Building AT on Android

Post by Shadow Slayer »

Where and How do I get the SDK?
They called it the Shadow, and started creating a small cult around it, Only the smallest core of the cult actually knows that this power comes from the Kazaul-era dark arts...
User avatar
Zukero
Lead Developer
Posts: 2028
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: Building AT on Android

Post by Zukero »

Android studio should have automatically downloaded and installed the latest one. Using its menus, you should be able to find something probably called SDK Manager that'll let you download and install specific versions.
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2
User avatar
Shadow Slayer
Posts: 56
Joined: Fri Jan 05, 2018 10:22 am
android_version: 4.4 - Kitkat
Location: Vacor's Hideout (Temporarily Retired)(Real Life Location, I WILL NOT TELL YOU:))

Re: Building AT on Android

Post by Shadow Slayer »

When starting AS it tries to install sdk but I cannot tick the box because sdk directory is missing, as for sdk, where is it? I found a BOS file called sdk manager but that seems to not turn on
They called it the Shadow, and started creating a small cult around it, Only the smallest core of the cult actually knows that this power comes from the Kazaul-era dark arts...
User avatar
rijackson741
Posts: 4451
Joined: Tue Aug 20, 2013 2:04 am
android_version: 10 - Android 10
Location: Somewhere in Dhayavar
Contact:

Re: Building AT on Android

Post by rijackson741 »

This is not a problem I have encountered. I have had problems when trying to run the emulator, because the project does not point to a specific sdk, but if I understand correctly, you are getting this error when trying to launch AS. Correct?
Level:71, XP:6493739, PV:608, FQ:84
HP:210, AC:212, AD:58-77, AP:4, ECC:16%, CM:1.5, BC:188, DR:3
Gold: 237559 | RoLS:1, RoL:1, GoW:1, VSH:1, RoFLS:1, WoB:1
HH:1, WA:1, CS:2, Cl:1, IF:4, Ev:3, Re:2, WP:DA:1, WP:1S:1, WP:B:1, AP:L:1, FS:DW:2, S:DW:1
sdevaney
Site Admin
Posts: 1177
Joined: Fri Jan 28, 2011 10:17 pm
android_version: 14 - Android 14
Contact:

Re: Building AT on Android

Post by sdevaney »

Shadow Slayer wrote: Fri Feb 02, 2018 10:12 am When starting AS it tries to install sdk but I cannot tick the box because sdk directory is missing, as for sdk, where is it? I found a BOS file called sdk manager but that seems to not turn on
I think we are all happy to help but some things are out of the scope of support we can really provide. There are simply better resources available for these types of questions than our forum. You will have better luck looking for answers at places like Stackoverflow or even the Android dev community here: https://plus.google.com/communities/105 ... 2062985968
User avatar
rijackson741
Posts: 4451
Joined: Tue Aug 20, 2013 2:04 am
android_version: 10 - Android 10
Location: Somewhere in Dhayavar
Contact:

Re: Building AT on Android

Post by rijackson741 »

Level:71, XP:6493739, PV:608, FQ:84
HP:210, AC:212, AD:58-77, AP:4, ECC:16%, CM:1.5, BC:188, DR:3
Gold: 237559 | RoLS:1, RoL:1, GoW:1, VSH:1, RoFLS:1, WoB:1
HH:1, WA:1, CS:2, Cl:1, IF:4, Ev:3, Re:2, WP:DA:1, WP:1S:1, WP:B:1, AP:L:1, FS:DW:2, S:DW:1
Post Reply