spinal
New member
- Joined
- Jul 2, 2019
- Messages
- 5
Hi guys, new here
Anyhow, I was following the guide on how to setup the android target, but get the following error when building...
From what I can tell, I think I followed the instructions correctly, with the following changes to config.winnt.txt -
reflecting where I installed android studio and java sdk.
I made sure to download API24 inside android studio as that is the version used in the guide.
Any idea if I messed something?
Thanks.
Anyhow, I was following the guide on how to setup the android target, but get the following error when building...
Code:
"C:/Cerberus/bin/transcc_winnt" -target=Android_Game -config=Debug "C:/Cerberus/examples/mojo/mikehart/BitmapFont/BitmapFont.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.
From what I can tell, I think I followed the instructions correctly, with the following changes to config.winnt.txt -
Code:
'--------------------
'Java dev kit path
'
'Must be set to a valid dir for ANDROID and FLASH target support
'
'The Java JDK is currently available here: http://www.oracle.com/technetwork/java/javase/downloads/index.html
'
JDK_PATH="C:\Program Files\Java\jdk-12.0.1"
'--------------------
'--------------------
'Android SDK and tool paths.
'
'Must be set to a valid dir for ANDROID target support
'
ANDROID_PATH="C:\Program Files\Android\Android Studio"
'--------------------
reflecting where I installed android studio and java sdk.
I made sure to download API24 inside android studio as that is the version used in the guide.
Any idea if I messed something?
Thanks.