Android Help!

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.
Post Reply
Message
Author
woahevil1
Newbie
Posts: 13
Joined: Wed Aug 19, 2015 5:58 am
Contact:

Android Help!

#1 Post by woahevil1 »

After many hours and hurdles trying to set up Android testing for my visual novel, I can't seem to get past this.
Every time I Build and Install the package, it always gets stuck indefinitely here with no errors, seen in the image in the link below...
https://gyazo.com/9148cce7e2dbe9d9450d6fbb5202dbba
However I know my phone is connected as I am able to access it from my PC etc... so I am not sure as to what to try next.
Thanks for any help in advance.

User avatar
Brambly
Regular
Posts: 36
Joined: Mon Dec 22, 2014 6:12 am
Projects: 200 Years Behind
Deviantart: fallenangel1017
Contact:

Re: Android Help!

#2 Post by Brambly »

Have you tried just building the package and then manually dragging the file in to your phone's library?

Jibus
Regular
Posts: 135
Joined: Tue May 26, 2015 9:45 am
Contact:

Re: Android Help!

#3 Post by Jibus »

I got the same thing. Manually dragging the file in to the phone library worked

woahevil1
Newbie
Posts: 13
Joined: Wed Aug 19, 2015 5:58 am
Contact:

Re: Android Help!

#4 Post by woahevil1 »

Thanks for the answers. Hmm any particular place to drag or will I have to root my device etc... because breaking my phones warranty is a last resort.

Jibus
Regular
Posts: 135
Joined: Tue May 26, 2015 9:45 am
Contact:

Re: Android Help!

#5 Post by Jibus »

No need to root, just set the app in the "downloads" folder then launch it
Last edited by Jibus on Fri Oct 02, 2015 5:52 am, edited 1 time in total.

woahevil1
Newbie
Posts: 13
Joined: Wed Aug 19, 2015 5:58 am
Contact:

Re: Android Help!

#6 Post by woahevil1 »

*Edit* Never mind I got it to work, ty for all the help :D

mameshiba
Newbie
Posts: 20
Joined: Fri Jan 19, 2018 6:10 pm
Contact:

Re: Android Help!

#7 Post by mameshiba »

Hi all,
RenPy newbie and new to the lemmasoft forums, too, so I’m not sure if I should post here or a new thread.

I’m trying to create RenPy for Android, but I’m struggling to find a walkthrough that is step by step.
I’m on a Mac, I’ve installed the Java SDK and the Renpy SDK.
I’ve done my best to Configure the game, but, to be honest, I don’t really know what most settings mean.
When I hit Build Package, this is where I get the error…

//
(A bunch of other code……)

Caused by: java.lang.ClassNotFoundException: sun.misc.BASE64Encoder
at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1315)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
... 48 more

Total time: 14 seconds

The build seems to have failed.

//

Any ideas? Thanks so much!

User avatar
Karl_C
Veteran
Posts: 232
Joined: Sun Mar 31, 2013 6:18 am
Contact:

Re: Android Help!

#8 Post by Karl_C »

mameshiba wrote: Sat Apr 28, 2018 9:10 am Caused by: java.lang.ClassNotFoundException: sun.misc.BASE64Encoder
The sun.misc.BASE64Encoder class has been removed from Java 9 onwards. The only solution I know: Switch back to Java 8

mameshiba
Newbie
Posts: 20
Joined: Fri Jan 19, 2018 6:10 pm
Contact:

Re: Android Help!

#9 Post by mameshiba »

Hi Karl_C,
Thanks so much! I've set my default Java to Java 1.8.0_171, but I'm still receiving the same error. Any other ideas?

Otherwise, is there any other way to export Renpy to Android devices? Thank you!

mameshiba
Newbie
Posts: 20
Joined: Fri Jan 19, 2018 6:10 pm
Contact:

Re: Android Help!

#10 Post by mameshiba »

Hi @Karl_C - actually, I installed Renpy on my other computer and it looks promising! It didn't crash at the build level! One step forwards! :D Thanks so much for your help!

User avatar
Karl_C
Veteran
Posts: 232
Joined: Sun Mar 31, 2013 6:18 am
Contact:

Re: Android Help!

#11 Post by Karl_C »

mameshiba wrote: Mon Apr 30, 2018 1:22 pm I've set my default Java to Java 1.8.0_171, but I'm still receiving the same error. Any other ideas?
Did you set the path as well? Open a command promt and:

Code: Select all

set path=C:\Program Files\Java\jdk1.8.0_171\bin
to set it temporary.

mameshiba
Newbie
Posts: 20
Joined: Fri Jan 19, 2018 6:10 pm
Contact:

Re: Android Help!

#12 Post by mameshiba »

Hm... I'm on a Mac so I don't think that line will work. But I've switched computers and I've found a bit of patience and rebuilding the files seems to do the trick if I get an error. Thanks so much for your help!

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Semrush [Bot]