problems to deploy with cerberus x for Android....I use a macmini 2021 M1 Processor

Dear friends,
at this point i'm very confused..
Can somebody help me with step by step to deploy for android in mac osx?(Big Sur) please can you also posts the links to downloads the required softwares fo my mac mini M1?
I would like to work with cerberus x , because i think it's very powerful...
Thank a lot in advance, Lestroso
Still wait for my Mac (M1) to arrive and will give it a try and post a step by step tutorial then using the current released Cerberus version. Give me some days, hope it (the Mac) will be here this week...
Dear Martin.....Thousands Thanks!!! I thank you very much for your future support...I will wait for you! W Cerberus X!!!
Please...give me detailed steps as you can. Thanks a lot again...Lestroso.
If you are getting the correct javac version of 15.0.1 Then do not remove the JDK installation.
There is no need to remove or reinstall Cerberus.

Let's start by checking and cleaning some old files.
Open a new terminal and type:
ls -a
In the output, look for a directory called .gradle and if you see it type:
rm -rf .grade && clear && ls -a

The .gradle directory will be gone.

You will need your password used to install software for the next bit.
If you downloaded the Cerberus from and have problems with running the Cerberus IDE, or if it will not let you save files.

Then if you know how to use the 'Get Info' context menu; you can add yourself to the file permissions via the Finder Application. Use that route to change the permissions of the /Applications/Cerberus directory and add yourself, making sure that you have set the 'apply to enclosed items' found in the little gear wheel in the Sharing and Permissions section.

Or you can use the command line to take ownership of the whole Cerberus directory.
cd /Applications
sudo chown -R $USER Cerberus

In any of these cases, you will be asked to enter your password.

If you downloaded and built Cerberus from GitHub in a directory where you already have file permissions, then you should have no issues saving files.

Now to Check and clean old Cerberus build files.
In the Finder Application, navigate to where ever you have tried to build any Cerberus source files.
For example:
Remove any directory that contains the extension .buildv2020 to clear out old build files that can cause issues.
Example of a build directory: matchup.buildv2020-12-30

Now steps to take to set up.
Step 1:
Download and install a version of Oracle JDK.
The current JDK version 15 download is at
The files will be installed to:

Step 2:
For easy install of the Android SDK:
Download Android Studio:
Note: Android studio comes with a copy of JDK 1.8.0 stored as part of the application bundle.
You will be asked during set up if you wish for Android Studio to use that version or click the button at the side of the edit box to locate a previously installed version, meaning that you can select the version via navigating to Library/Java/JavaVirtualMachines/jdk-15.0.1.jdk/Contents/Home

You will also be asked where to install the Android SDK. You can choose the default location, or select a different location. You must make a note of where is has been installed for later. I always install it in the user home directory in Library/Android/SDK.

Once you have installed Android Studio, you can begin to install additional Android SDK's.
Start Android Studio and in the greeting dialog at the bottom select the 'configure' drop down, then select SDK Manager.
Here you can install and remove various Android SDK's.

You should select to install two additional SDK's, unless you are targeting a specific release of the Android Operating system.
Install at least API's 28,23,16.

Step 3:
Start Cerberus and using the Projects Tree View, navigate and open the file located at Cerberus/bin/config.macos.txt
In the file opened in the editor, change the config variable to where the Android SDK is located and save.

Step 4:
While in Cerberus, use the Projects Tree View to navigate and open the file located at Cerberus/targets/android/template/config.cxs
In the opened file in the editor, change the line below and save:

Exit Cerberus and restart Cerberus for changes to be updated.

Step 5:
Make sure you have your Android device plugged in to the computer.
Start Cerberus and using the Projects Tree View, navigate and open the file located at Cerberus/examples/mojo2/bouncyaliens/bouncyaliens.cxs

You can then build and install to the Android device. That is provided that you have enabled developer mode on your phone.
Keep an eye on the Android device to accept the connection to the computer.
Last edited:
DEAR dawlane,
I thank you so muchfor your detailed steps!!! I have followed your steps and i have a good success...but not i have problem in the 5 step...My computer don't recognize my phone... I have a Samsung A20 ...Have you got any other idea? to deploy?? thank s a lot again... Lestroso.

> Task :app:compileDebugJavaWithJavac
Note: /Applications/Cerberus/examples/mojo2/bouncyaliens/bouncyaliens.buildv2020-12-05/android/app/src/main/java/com/cerberus/cerberusgame/ uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Applications/Cerberus/examples/mojo2/bouncyaliens/bouncyaliens.buildv2020-12-05/android/app/src/main/java/com/cerberus/cerberusgame/ uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :app:compileDebugNdk NO-SOURCE
> Task :app:compileDebugSources
> Task :app:mergeDebugShaders
> Task :app:compileDebugShaders
> Task :app:generateDebugAssets
> Task :app:mergeDebugAssets
> Task :app:transformClassesWithDexBuilderForDebug
> Task :app:transformDexArchiveWithExternalLibsDexMergerForDebug
> Task :app:transformDexArchiveWithDexMergerForDebug
> Task :app:mergeDebugJniLibFolders
> Task :app:transformNativeLibsWithMergeJniLibsForDebug
> Task :app:checkDebugLibraries
> Task :app:processDebugJavaRes NO-SOURCE
> Task :app:transformResourcesWithMergeJavaResForDebug
> Task :app:validateSigningDebug
> Task :app:packageDebug
> Task :app:assembleDebug
> Task :app:installDebug FAILED

FAILURE: Build failed with an exception.

* What went wrong:
29 actionable tasks: 28 executed, 1 up-to-date
Execution failed for task ':app:installDebug'.
> No connected devices!

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at

TRANS FAILED: Android build failed.

[SIZE=7]Thank YOU Mister dawlane!!!!![/SIZE]

I have had Success!!!!!!! The Cerberus for Android is Started!! Now It's all ok!!! Now I'm very Happy!!! Dear Dawlane you are a very good Teacher!! Dear MikeHart, you schould take this little piece of instructions for deploy to Android (for Mac) and make a mini manual for all the communty....
I thank you everybody in this forum for helping me and dedicated your time to me... I Have appriciated so much...Best regards,

Lestroso... Happy 2021!! Cheers!
Top Bottom