• Dear Cerberus X User!

    As we prepare to transition the forum ownership from Mike to Phil (TripleHead GmbH), we need your explicit consent to transfer your user data in accordance with our amended Terms and Rules in order to be compliant with data protection laws.

    Important: If you accept the amended Terms and Rules, you agree to the transfer of your user data to the future forum owner!

    Please read the new Terms and Rules below, check the box to agree, and click "Accept" to continue enjoying your Cerberus X Forum experience. The deadline for consent is April 5, 2024.

    Do not accept the amended Terms and Rules if you do not wish your personal data to be transferred to the future forum owner!

    Accepting ensures:

    - Continued access to your account with a short break for the actual transfer.

    - Retention of your data under the same terms.

    Without consent:

    - You don't have further access to your forum user account.

    - Your account and personal data will be deleted after April 5, 2024.

    - Public posts remain, but usernames indicating real identity will be anonymized. If you disagree with a fictitious name you have the option to contact us so we can find a name that is acceptable to you.

    We hope to keep you in our community and see you on the forum soon!

    All the best

    Your Cerberus X Team

Bug Problem with compiling to Android using MacOS

RaspberryDJ

New member
Joined
Jun 3, 2019
Messages
122
I just found out Cerberus and downloaded Cerberus V2019-05-05, MacOS.
It compile fine for macOS and iOS but for Android it gives me this :

"/Applications/Cerberus/bin/transcc_macos" -target=Android_Game -config=Release -run "/Users/jimmy/Desktop/Demo M1 vs M2/assets.cxs"
TRANS cerberus compiler V2019-02-21
Parsing...
Semanting...
Translating...
Building...

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine java version from '12.0.1'.

* 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 https://help.gradle.org
TRANS FAILED: Android build failed.
Done.


Got Android Studio 3 installed + jre-8u211-macosx-x64 and jdk-8u211-macosx-x64 installed. I also tried the newest version of JAVA, it doesn't make any difference.

The error started with another error message and I searched the forum to see that another one had the same problem but on Linux. The solution was said to be to set the application folder to 755, so I did that. After that it asks for JDK instead.

So here I am now, any ideas what to do?
Would be grateful for any help.
 
Updated Androidstudio and reinstalled CerberusX and got the first error back :

"/Applications/Cerberus/bin/transcc_macos" -target=Android_Game -config=Release -run "/Applications/Cerberus/examples/mojo2/drawprimitives/drawprimitives.cxs"
TRANS cerberus compiler V2019-02-21
Parsing...
Semanting...
Translating...
Building...
sh: ./gradlew: Permission denied
TRANS FAILED: Android build failed.
Done.

Any ideas?
 
Welcome to the forum. It seems to be a permission problem. We had that problem on linux but I will look into it.

Btw. Do you run CX on a retina display? If yes, does it render fine in the desktop target?
 
Thanks! I don't have a retina screen to try it on I'm afriad.

I did change the folder access to 755 but I didn't do anything else.
It seems like the other error was caused by having two versions of JAVA installed by mistake. I kept version 8.

Now it seems to work fine. But I havn't touch any OS.cpp file yet, I'll read through that post and do that as well !
 
Back
Top Bottom