OrangoMango / RubikCube

Rubik's cube made with javafx3D (Custom moves and solving algorithm). Includes an Android version.
https://orangomango.itch.io/rubik-cube
MIT License
6 stars 0 forks source link

Hello, where can I find the Android version source code for a Rubik's Cube? #1

Open shapolang opened 1 month ago

OrangoMango commented 1 month ago

Hi, thanks for reaching out. This repository hasn't got an android branch yet. However I can share the zip file containing all the android source code, but I wrote it some time ago so it can be improved a lot, I will also update this repository with a new branch in a couple of days and maybe later also the source code :)

rubik.zip

If you have any further questions I'm happy to answer, if not feel free to close this issue.

shapolang commented 1 month ago

自动回复 O(∩_∩)O~,亲,邮件已经收到,

shapolang commented 1 month ago

Thank you for sharing, but I cannot run it after importing it into Android Studio. Do I need to use a different development tool or architecture? I saw online that Gluon Mobile might be used. I'm very interested in Rubik's Cubes and other game development. I look forward to your reply.

------------------ 原始邮件 ------------------ 发件人: "OrangoMango/RubikCube" @.>; 发送时间: 2024年7月30日(星期二) 凌晨1:04 @.>; 抄送: "ゞ @.**@.>; 主题: Re: [OrangoMango/RubikCube] Hello, where can I find the Android version source code for a Rubik's Cube? (Issue #1)

Hi, thanks for reaching out. This repository hasn't got an android branch yet. However I can share the zip file containing all the android source code, but I wrote it some time ago so it can be improved a lot, I will also update this repository with a new branch in a couple of days and maybe later also the source code :)

rubik.zip

If you have any further questions I'm happy to answer, if not feel free to close this issue.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

OrangoMango commented 1 month ago

Oh no no, this isn't an Android Studio project. I wrote it completely from scratch by using a deprecated framework called javafxports. To compile the android source code you need java 8 and run ./gradlew android

shapolang commented 1 month ago

Could you please let me know what development tools are needed for this project? Does Scratch have its own tools? If not, where can I download the necessary tools to run this project? Thank you!

------------------ 原始邮件 ------------------ 发件人: "OrangoMango/RubikCube" @.>; 发送时间: 2024年7月30日(星期二) 下午5:59 @.>; 抄送: "ゞ @.**@.>; 主题: Re: [OrangoMango/RubikCube] Hello, where can I find the Android version source code for a Rubik's Cube? (Issue #1)

Oh no no, this isn't an Android Studio project. I wrote it completely from scratch by using a deprecated framework called javafxports. To compile the android source code you need java 8 and run ./gradlew android

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

OrangoMango commented 1 month ago

No, I did it using plain java stuff (not in scratch, from scratch). Anyway to compile it, as I said you just need java 8 and running the gradle script with the command ./gradlew android should do the rest. In order to let gradle know the current java version you may need to set the JAVA_HOME environment variable

shapolang commented 1 month ago

I encountered the following issue when executing the ./gradlew android command. Also, do you use IDEA to write JavaFX, or do you use another tool?

Ha ha, I was able to run the version from your GitHub successfully using IDEA, but the Android version didn’t work.

------------------ 原始邮件 ------------------ 发件人: "OrangoMango/RubikCube" @.>; 发送时间: 2024年7月31日(星期三) 凌晨0:21 @.>; 抄送: "ゞ @.**@.>; 主题: Re: [OrangoMango/RubikCube] Hello, where can I find the Android version source code for a Rubik's Cube? (Issue #1)

No, I did it using plain java stuff (not in scratch, from scratch). Anyway to compile it, as I said you just need java 8 and running the gradle script with the command ./gradlew android should do the rest.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

OrangoMango commented 1 month ago

I use notepad and the terminal to build javaFX applications. I guess the issue is related to the gradle or java version. Are you using java jdk 8? And which gradle version are you using (./gradlew --version should do the work maybe)?

shapolang commented 1 month ago

Okay, I'll try later. I've been a bit busy lately

---Original--- From: "Orango @.> Date: Wed, Jul 31, 2024 23:50 PM To: @.>; Cc: @.**@.>; Subject: Re: [OrangoMango/RubikCube] Hello, where can I find the Androidversion source code for a Rubik's Cube? (Issue #1)

I use notepad and the terminal to build javaFX applications. I guess the issue is related to the gradle or java version. Are you using java jdk 8? And which gradle version are you using (./gradlew --version should do the work maybe)?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>