Android build, not detected JDK

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Message
Author
User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Android build, not detected JDK

#1 Post by isobellesophia »

Hello, i just have some test on building in Android version, just to make sure that my main project wont get alot of problems.

When after i installed SDK, everything is fine, and when i downloaded JDK in Windows x64, it doesn't seems that RenPy detects it.. i searched through, but it confuses me alot.. obviously dragging me in the wrong solution.

It keeps showing me the grey colored texts as if the JDK is not present in Renpy.. or even it was nothing.

Can somebody help me out of this?
Thanks in advance.
I am a friendly user, please respect and have a good day.


Image

Image


User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: Android build, not detected JDK

#2 Post by isobellesophia »

Bump,

When i looked into other tutorials, it doesn't seem work too..
I am currently new about this, i hope someone could help.
I am a friendly user, please respect and have a good day.


Image

Image


rames44
Veteran
Posts: 233
Joined: Sun May 29, 2016 4:38 pm
Contact:

Re: Android build, not detected JDK

#3 Post by rames44 »

Your question isn’t even 2 hours old and you’re bumping it? Etiquette, please.

Why don’t you start with a detailed list of the steps you performed. What version of the JDK did you install? What did you do to test that it’s installed correctly and is working? What did you do next after installing the JDK?

User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: Android build, not detected JDK

#4 Post by isobellesophia »

rames44 wrote: Mon Sep 09, 2019 12:44 pm Your question isn’t even 2 hours old and you’re bumping it? Etiquette, please.

Why don’t you start with a detailed list of the steps you performed. What version of the JDK did you install? What did you do to test that it’s installed correctly and is working? What did you do next after installing the JDK?
The version i downloaded is the lastest one, as the launcher said, and yes, i did follow the steps, after i installed it and reopen RenPy, the JDK is not still there, i already installed SDK right after i installed JDK.
I am a friendly user, please respect and have a good day.


Image

Image


User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: Android build, not detected JDK

#5 Post by isobellesophia »

Oh, and also, for more explanation, first, i already downloaded SDK, and after that, i also downloaded the JDK in Windows x64, (I still dont know if it is x86 or x64.. so i rather use x64 instead.) and then after the java installed, i reopened RenPy, it was still nothing, it keeps telling me that i need to download JDK.

Also, i am such a newbie about android build, i didnt even get to the next step..
I am a friendly user, please respect and have a good day.


Image

Image


rayminator
Miko-Class Veteran
Posts: 793
Joined: Fri Feb 09, 2018 12:05 am
Location: Canada
Contact:

Re: Android build, not detected JDK

#6 Post by rayminator »

here is what you need to do you will have clean you pc by removing all of the SDK and JDk completely out of your system even you did a uninstall there are left overs like folders and environment variables and the registy
then make sure you download the right version JDK 8 and SDK 8 versions not the new version and then install it again if that doesn't work then the best thing to do is to do a is a clean install windows (that part s**ks)

User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: Android build, not detected JDK

#7 Post by isobellesophia »

So Jdk and Sdk 8 are needed then? Maybe i did download the lastest with version 9.. which is i didnt notice.

(Notice that i didnt have usual computer, i only use computer cafè in our place, so that means all program files arent allowed to open, only the administrators can open it.)

Thanks for that, im gonna try, im gonna reply once i done it, or it is had the same issue.
I am a friendly user, please respect and have a good day.


Image

Image


User avatar
hell_oh_world
Miko-Class Veteran
Posts: 777
Joined: Fri Jul 12, 2019 5:21 am
Contact:

Re: Android build, not detected JDK

#8 Post by hell_oh_world »

isobellesophia wrote: Mon Sep 09, 2019 10:52 pm So Jdk and Sdk 8 are needed then? Maybe i did download the lastest with version 9.. which is i didnt notice.

(Notice that i didnt have usual computer, i only use computer cafè in our place, so that means all program files arent allowed to open, only the administrators can open it.)

Thanks for that, im gonna try, im gonna reply once i done it, or it is had the same issue.
Just for clarifications, sdk 8 does not exist. Its pretty much a general term for the utilities and tools that you need in order to develop things like software, etc. (SDK - Software Development Kit). In the Java world, JDK is the right term (JDK - Java Development Kit 8, *11 and 12 are the newest ones*). But don't bother yet on installing it, 8 would do fine. Also, it will be probably best to screenshot the launcher, so that we can have an overlook of the disabled buttons properly. Be sure that you have downloaded JDK and not just only the Runtime Environment. Downloading the runtime environment only will not help you in distributing your builds on java related platforms.

Just to be sure, heres the link that you need to download. https://www.oracle.com/technetwork/java ... 33151.html
Pick x64 if you have 64 bit system, check your system by popping out system information by pressing winkey + pause break. Under system type, you can check the bit of the os. Downloading the x32 is the safest way, it can work in both 32 and 64 bit platforms. the file size should be between 200 mb and 220 mb. All these, i've just assumed your using windows os.

User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: Android build, not detected JDK

#9 Post by isobellesophia »

hell_oh_world wrote: Tue Sep 10, 2019 5:31 am
isobellesophia wrote: Mon Sep 09, 2019 10:52 pm So Jdk and Sdk 8 are needed then? Maybe i did download the lastest with version 9.. which is i didnt notice.

(Notice that i didnt have usual computer, i only use computer cafè in our place, so that means all program files arent allowed to open, only the administrators can open it.)

Thanks for that, im gonna try, im gonna reply once i done it, or it is had the same issue.
Just for clarifications, sdk 8 does not exist. Its pretty much a general term for the utilities and tools that you need in order to develop things like software, etc. (SDK - Software Development Kit). In the Java world, JDK is the right term (JDK - Java Development Kit 8, *11 and 12 are the newest ones*). But don't bother yet on installing it, 8 would do fine. Also, it will be probably best to screenshot the launcher, so that we can have an overlook of the disabled buttons properly. Be sure that you have downloaded JDK and not just only the Runtime Environment. Downloading the runtime environment only will not help you in distributing your builds on java related platforms.

Just to be sure, heres the link that you need to download. https://www.oracle.com/technetwork/java ... 33151.html
Pick x64 if you have 64 bit system, check your system by popping out system information by pressing winkey + pause break. Under system type, you can check the bit of the os. Downloading the x32 is the safest way, it can work in both 32 and 64 bit platforms. the file size should be between 200 mb and 220 mb. All these, i've just assumed your using windows os.
screenshot0001.png
I did for what you said, but it seems nothing changed since i downloaded the JDK 8, and rapt. :(

(i also tried x86, no luck.)
I am a friendly user, please respect and have a good day.


Image

Image


rayminator
Miko-Class Veteran
Posts: 793
Joined: Fri Feb 09, 2018 12:05 am
Location: Canada
Contact:

Re: Android build, not detected JDK

#10 Post by rayminator »

i had the same problem. it wouldn't install right. how i fixed it was by accident. i was going to do a virus scan in safe mode but window wouldn't let me log in so i tried to go back normal windows nope it won't just keeps going back to safe mode so i had re-install windows. first thing i did after all the updates i install the Jdk and renpy and it work now. just make you installing it on the c: drive

back on topic

you did say that you are using cafe computer then you will need permission by the owner of that cafe to install that

User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: Android build, not detected JDK

#11 Post by isobellesophia »

Sorry about the last thing you said, seems i cant do that, is there any other way to make the buttons selectable?
I am a friendly user, please respect and have a good day.


Image

Image


User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: Android build, not detected JDK

#12 Post by isobellesophia »

If this keeps not working, can EXE format can play in android also?

I heard that PC games can be imported to android, can RenPy do that?

Or maybe EXE to APK..
I am a friendly user, please respect and have a good day.


Image

Image


rayminator
Miko-Class Veteran
Posts: 793
Joined: Fri Feb 09, 2018 12:05 am
Location: Canada
Contact:

Re: Android build, not detected JDK

#13 Post by rayminator »

there is a way just try to make it as Web it is in beta though and try it on your phone to see if it works?
there are other programs out there that will make a apk but i can't suggest any cause i don't know any

User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: Android build, not detected JDK

#14 Post by isobellesophia »

rayminator wrote: Tue Sep 10, 2019 9:45 am there is a way just try to make it as Web it is in beta though and try it on your phone to see if it works?
there are other programs out there that will make a apk but i can't suggest any cause i don't know any
screenshot0002.png
which button should i press to build in android?
I am a friendly user, please respect and have a good day.


Image

Image


User avatar
hell_oh_world
Miko-Class Veteran
Posts: 777
Joined: Fri Jul 12, 2019 5:21 am
Contact:

Re: Android build, not detected JDK

#15 Post by hell_oh_world »

isobellesophia wrote: Tue Sep 10, 2019 8:16 am
hell_oh_world wrote: Tue Sep 10, 2019 5:31 am
isobellesophia wrote: Mon Sep 09, 2019 10:52 pm So Jdk and Sdk 8 are needed then? Maybe i did download the lastest with version 9.. which is i didnt notice.

(Notice that i didnt have usual computer, i only use computer cafè in our place, so that means all program files arent allowed to open, only the administrators can open it.)

Thanks for that, im gonna try, im gonna reply once i done it, or it is had the same issue.
Just for clarifications, sdk 8 does not exist. Its pretty much a general term for the utilities and tools that you need in order to develop things like software, etc. (SDK - Software Development Kit). In the Java world, JDK is the right term (JDK - Java Development Kit 8, *11 and 12 are the newest ones*). But don't bother yet on installing it, 8 would do fine. Also, it will be probably best to screenshot the launcher, so that we can have an overlook of the disabled buttons properly. Be sure that you have downloaded JDK and not just only the Runtime Environment. Downloading the runtime environment only will not help you in distributing your builds on java related platforms.

Just to be sure, heres the link that you need to download. https://www.oracle.com/technetwork/java ... 33151.html
Pick x64 if you have 64 bit system, check your system by popping out system information by pressing winkey + pause break. Under system type, you can check the bit of the os. Downloading the x32 is the safest way, it can work in both 32 and 64 bit platforms. the file size should be between 200 mb and 220 mb. All these, i've just assumed your using windows os.
screenshot0001.png

I did for what you said, but it seems nothing changed since i downloaded the JDK 8, and rapt. :(

(i also tried x86, no luck.)
It clearly states that it needs 64 bit jdk, make sure that you've downloaded 64 bit of jdk. If you did what I said to check your os' bit version you're literally in no luck if your platform is in 32 bit. There's no way you can run 64 bit softwares on 32 bit platforms. If your system platform is on 64 bit, you are eligible to develop those android builds. And another thing, be sure to install the jdk on the default path which is your main drive (commonly c), don't try to alter the path or install the jdk on a portable storage. Best practice it to incorporate it to your system, so leave all the settings to default as you install it. And lastly, press winkey + r then type this and enter. Screenshot the folder.

Code: Select all

\Program Files\Java
I just wanna see what are the java components installed in your hdd. This would only work if you did not tamper the default settings while you're installing JDK

Post Reply

Who is online

Users browsing this forum: Google [Bot], LegsWild