-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|517|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz Max -> BlitzMax-NG Android build failed

Posted : Sunday, 13 August 2017, 02:36
Ferret3D

BlitzMax-NG Android build failed - Solved


Hi,

I followed the tutorial from Bmax-ng to setup and compile for android but it fails to build.


Posted : Sunday, 13 August 2017, 02:55
rockford
I haven't seen the BlitzMax-NG tutorial (as I develop in GLBasic), but have you installed Java SDK - http://www.oracle.com/technetwork/java/javaee/downloads/java-ee-sdk-6u3-jdk-7u1-downloads-523391.html and set up the path correctly? These were common faults for GLB not compiling Android .APKs correctly.

Another thing, have you got all the right size icons in your dev folder?
Posted : Sunday, 13 August 2017, 04:25
Ferret3D
The tutorial is outdated, the current Android SDK doesn't come with the file.

The files can be downloaded here:
http://android-sdk.en.lo4d.com/download/mirror-ex1

Replace ...\Android\sdk\tools with the downloaded files.
Posted : Sunday, 13 August 2017, 04:39
Jayenkai
Also, learnt from experience, be sure you install the correct SDK number.
If you open the AndroidManifest.xml and Project.Properties files into notepad (if indeed the thing supplies those?) you should find a Target=Android-xx, where xx is the number of the SDK you'll definitely need to have installed.

It may be possible to instead change that number to the SDK you've already installed, but (with Monkey-X, at least) I haven't dared for fear of incompatibilities creeping in.

-=-=-
''Load, Next List!''
Posted : Monday, 14 August 2017, 10:19
Ferret3D
It compiles with no errors but the apk doesn't run on any of mi devices.

I now have Cerberus X setup for android and html, it compiles and runs on mi devices.
Also found a 3D module for it.