Issue:Can't download android-sdk_r23-windows.zip

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
decemer
Regular
Posts: 34
Joined: Tue Jun 11, 2013 11:28 am
Contact:

Issue:Can't download android-sdk_r23-windows.zip

#1 Post by decemer » Wed Dec 30, 2015 12:20 pm

hi,all :D

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/android.rpy", line 445, in script
  File "game/android.rpy", line 447, in <module>
  File "game/mobilebuild.rpy", line 234, in download
  File "game/download.rpy", line 131, in check
Exception: Downloading http://dl.google.com/android/android-sdk_r23-windows.zip to D:\renpy-6.99.8-sdk\rapt\android-sdk-r23_r23-windows.zip failed: <urlopen error [Errno 10060] >

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/android.rpy", line 445, in script
  File "D:\renpy-6.99.8-sdk\renpy\ast.py", line 805, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "D:\renpy-6.99.8-sdk\renpy\python.py", line 1461, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/android.rpy", line 447, in <module>
  File "D:\renpy-6.99.8-sdk\rapt\buildlib\rapt\install_sdk.py", line 258, in install_sdk
    unpack_sdk(interface)
  File "D:\renpy-6.99.8-sdk\rapt\buildlib\rapt\install_sdk.py", line 100, in unpack_sdk
    interface.download(url, plat.path(archive))
  File "game/mobilebuild.rpy", line 234, in download
  File "D:\renpy-6.99.8-sdk\renpy\ui.py", line 277, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "D:\renpy-6.99.8-sdk\renpy\display\core.py", line 2424, in interact
    repeat, rv = self.interact_core(preloads=preloads, **kwargs)
  File "D:\renpy-6.99.8-sdk\renpy\display\core.py", line 3080, in interact_core
    rv = root_widget.event(ev, x, y, 0)
  File "D:\renpy-6.99.8-sdk\renpy\display\layout.py", line 906, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "D:\renpy-6.99.8-sdk\renpy\display\layout.py", line 906, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "D:\renpy-6.99.8-sdk\renpy\display\layout.py", line 906, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "D:\renpy-6.99.8-sdk\renpy\display\behavior.py", line 1780, in event
    return run(self.function, *self.args, **self.kwargs)
  File "D:\renpy-6.99.8-sdk\renpy\display\behavior.py", line 295, in run
    return var(*args, **kwargs)
  File "game/download.rpy", line 131, in check
Exception: Downloading http://dl.google.com/android/android-sdk_r23-windows.zip to D:\renpy-6.99.8-sdk\rapt\android-sdk-r23_r23-windows.zip failed: <urlopen error [Errno 10060] >

Windows-8-6.2.9200
Ren'Py 6.99.8.959
Ren'Py Launcher 6.99.8.959
maybe internet problem,any other way replace?
THX
Attachments
traceback.txt
(2.49 KiB) Downloaded 69 times

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Issue:Can't download android-sdk_r23-windows.zip

#2 Post by PyTom » Thu Dec 31, 2015 1:23 am

IIRC, if you download http://dl.google.com/android/android-sd ... indows.zip and place it in the RAPT directory, Ren'Py will pick it up.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

decemer
Regular
Posts: 34
Joined: Tue Jun 11, 2013 11:28 am
Contact:

Re: Issue:Can't download android-sdk_r23-windows.zip

#3 Post by decemer » Thu Dec 31, 2015 3:34 am

no,i haved copy zip file in rapt,it will build android-sdk_r23-windows.tmp file,and then,Still error :oops:

decemer
Regular
Posts: 34
Joined: Tue Jun 11, 2013 11:28 am
Contact:

Re: Issue:Can't download android-sdk_r23-windows.zip

#4 Post by decemer » Thu Dec 31, 2015 12:36 pm

PyTom wrote:IIRC, if you download http://dl.google.com/android/android-sd ... indows.zip and place it in the RAPT directory, Ren'Py will pick it up.
no,i haved copy zip file in rapt,it will build android-sdk_r23-windows.tmp file,and then,Still error :oops:
Attachments
360反馈意见截图179702209583125.png
360反馈意见截图16910101504460.png
360反馈意见截图16810310525178.png

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

Re: Issue:Can't download android-sdk_r23-windows.zip

#5 Post by Karl_C » Thu Dec 31, 2015 1:30 pm

Have you tried this one?
Android and iOS Support
When building Android or iOS packages, Ren'Py will prompt you to download RAPT (Ren'Py Android Packaging Tool) or Renios (Ren'Py iOS Support). As these downloads may fail if your Internet connection is unreliable, these packages can be downloaded separately. To install, extract the contents of the archive to the Ren'Py directory. (Place the "rapt" or "renios" directory into the "renpy-6.99.8" directory.)

Android Support (RAPT): renpy-6.99.8-rapt.zip

iOS Support (Renios): renpy-6.99.8-renios.zip
Source: Ren'Py 6.99.8 "Here's to the crazy ones."

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

Re: Issue:Can't download android-sdk_r23-windows.zip

#6 Post by Karl_C » Thu Dec 31, 2015 1:37 pm

BTW: Why do you use apache-ant-xxx-bin.tar.gz?

tar.gz are zipped Linux archives? .zip would be the choice for windows?

decemer
Regular
Posts: 34
Joined: Tue Jun 11, 2013 11:28 am
Contact:

Re: Issue:Can't download android-sdk_r23-windows.zip

#7 Post by decemer » Fri Jan 01, 2016 8:00 am

Karl_C wrote:BTW: Why do you use apache-ant-xxx-bin.tar.gz?

tar.gz are zipped Linux archives? .zip would be the choice for windows?
i do not thing and renpy program auto download it :(

decemer
Regular
Posts: 34
Joined: Tue Jun 11, 2013 11:28 am
Contact:

Re: Issue:Can't download android-sdk_r23-windows.zip

#8 Post by decemer » Fri Jan 01, 2016 8:33 am

Karl_C wrote:Have you tried this one?
Android and iOS Support
When building Android or iOS packages, Ren'Py will prompt you to download RAPT (Ren'Py Android Packaging Tool) or Renios (Ren'Py iOS Support). As these downloads may fail if your Internet connection is unreliable, these packages can be downloaded separately. To install, extract the contents of the archive to the Ren'Py directory. (Place the "rapt" or "renios" directory into the "renpy-6.99.8" directory.)

Android Support (RAPT): renpy-6.99.8-rapt.zip

iOS Support (Renios): renpy-6.99.8-renios.zip
Source: Ren'Py 6.99.8 "Here's to the crazy ones."
i haved done this,but the problem is android sdk,your rapt still need to download android-sdk_r23-windows.zip

decemer
Regular
Posts: 34
Joined: Tue Jun 11, 2013 11:28 am
Contact:

Re: Issue:Can't download android-sdk_r23-windows.zip

#9 Post by decemer » Tue Jan 05, 2016 2:57 am

i solved the question above ,down zip and setup
and then,problem is
BUILD FAILED
D:\renpy-6.99.8-sdk\rapt\android-sdk-r23\tools\ant\build.xml:601: Invalid file: D:\renpy-6.99.8-sdk\rapt\android-sdk-r23\extras\google\play_licensing\library\build.xml
and i can find new android SDK have this file

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Issue:Can't download android-sdk_r23-windows.zip

#10 Post by PyTom » Wed Jan 06, 2016 12:25 am

Hm... are you in a country where access to google is blocked for some reason? It sounds like you are, and you might need a VPN or something to work around that.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

decemer
Regular
Posts: 34
Joined: Tue Jun 11, 2013 11:28 am
Contact:

Re: Issue:Can't download android-sdk_r23-windows.zip

#11 Post by decemer » Thu Jan 07, 2016 5:18 am

PyTom wrote:Hm... are you in a country where access to google is blocked for some reason? It sounds like you are, and you might need a VPN or something to work around that.
So is there any other way to packaging Android? :)
Just some manal mode,manal way,manal packaging tutorials to export APK packages

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Issue:Can't download android-sdk_r23-windows.zip

#12 Post by PyTom » Fri Jan 08, 2016 3:18 am

The answer is no. The android stuff is all automated, and trying to extract that is more work than I want to do. Feel free to read installsdk.py to see what it does, but I'm not going to write a second set of documentation that duplicates the automatic stuff. Your best bet is to solve the problems that are preventing you from reliably downloading the android SDK. (Especially because to set up the environment manually, you're likely to need to download that stuff anyway.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

decemer
Regular
Posts: 34
Joined: Tue Jun 11, 2013 11:28 am
Contact:

Re: Issue:Can't download android-sdk_r23-windows.zip

#13 Post by decemer » Sun Jan 10, 2016 12:05 pm

PyTom wrote:The answer is no. The android stuff is all automated, and trying to extract that is more work than I want to do. Feel free to read installsdk.py to see what it does, but I'm not going to write a second set of documentation that duplicates the automatic stuff. Your best bet is to solve the problems that are preventing you from reliably downloading the android SDK. (Especially because to set up the environment manually, you're likely to need to download that stuff anyway.)
thanks ,i can donate your android work,just best wish for renpy future,your donate web is?

decemer
Regular
Posts: 34
Joined: Tue Jun 11, 2013 11:28 am
Contact:

Re: Issue:Can't download android-sdk_r23-windows.zip

#14 Post by decemer » Fri Jan 15, 2016 3:42 am

i found! my folder is "D:\renpy-6.99.8-sdk" debug info is "D:\renpy-6.99.3-sdk\"

User avatar
MimirollCookie
Miko-Class Veteran
Posts: 725
Joined: Sat May 23, 2015 5:05 am
Completed: Best Friends (DRAMA), Sweet and Spices (NaNo16)
Projects: Cupid's Wish, Best Friends Deux
Organization: Pastelle Studios
Deviantart: MimirollCookie
Location: A place where rainbows and unicorns collide. ^0^
Contact:

Re: Issue:Can't download android-sdk_r23-windows.zip

#15 Post by MimirollCookie » Sun Feb 07, 2016 1:40 pm

Hmm.....
The same problem happened to me too!!
But it worked because of what PyTom posted!

Post Reply

Who is online

Users browsing this forum: Google [Bot]