Repository: renpy/renpy

Issue #4034: [ERROR] PORT 
Created: 2022-10-20T17:55:37Z
While running game code:
File "game/android.rpy", line 507, in 
File "game/mobilebuild.rpy", line 248, in download
File "game/download.rpy", line 148, in check
Exception: Downloading https://dl.google.com/android/repository/commandlinetools-win-7583922_latest.zip to C:\renpy-8.0.3-sdk\rapt\commandlinetools-win-7583922_latest.zip failed: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2633)
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "launcher/game/android.rpyc", line 505, in script
File "C:\renpy-8.0.3-sdk\renpy\ast.py", line 1131, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\renpy-8.0.3-sdk\renpy\python.py", line 1061, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/android.rpy", line 507, in 
File "C:\renpy-8.0.3-sdk\rapt\buildlib\rapt\install_sdk.py", line 358, in install_sdk
unpack_sdk(interface)
File "C:\renpy-8.0.3-sdk\rapt\buildlib\rapt\install_sdk.py", line 138, in unpack_sdk
interface.download(url, plat.path(archive))
File "game/mobilebuild.rpy", line 248, in download
File "C:\renpy-8.0.3-sdk\renpy\ui.py", line 299, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, kwargs)
File "C:\renpy-8.0.3-sdk\renpy\display\core.py", line 3377, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, kwargs) # type: ignore
File "C:\renpy-8.0.3-sdk\renpy\display\core.py", line 4258, in interact_core
rv = root_widget.event(ev, x, y, 0)
File "C:\renpy-8.0.3-sdk\renpy\display\layout.py", line 1175, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "C:\renpy-8.0.3-sdk\renpy\display\layout.py", line 1175, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "C:\renpy-8.0.3-sdk\renpy\display\layout.py", line 1175, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "C:\renpy-8.0.3-sdk\renpy\display\behavior.py", line 2418, in event
return run(self.function, self.args, **self.kwargs)
File "C:\renpy-8.0.3-sdk\renpy\display\behavior.py", line 329, in run
return action(args, **kwargs)
File "game/download.rpy", line 148, in check
Exception: Downloading https://dl.google.com/android/repository/commandlinetools-win-7583922_latest.zip to C:\renpy-8.0.3-sdk\rapt\commandlinetools-win-7583922_latest.zip failed: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2633)

Duplicate issue #4033: Error when trying to port
Created: 2022-10-19T21:17:44Z
//hello, I have this error when making a port and I really don't know how to solve it since I'm a newbie in this field.
Ren'Py 8.0.3.22090809
Updating project
Creating resource directory.
Packaging internal data.
I am using Gradle to build the package.
To honor the JVM configuration for this build, a new JVM will be created. Please consider using the daemon: https://docs.gradle.org/6.1.1/userguide/gradle_daemon.html.
The daemon will stop at the end of the build after processing
FAIL: The compilation has failed with an exception.


What failed:
A problem occurred while setting up the ':app' project.
Could not create the ':app:assembleRelease' task.
The ':app:lintVitalRelease' task could not be created.
The SDK location was not found. Set the location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project's local properties file to 'C:\renpy-8.0.3-sdk\rapt\project\local.properties'.


Test:
Run with the --stacktrace option to get the stack trace. Run with the --info or --debug option to get more logs. Run with the --scan option to get complete information.


Get more help at https://help.gradle.org/


BUILD FAILED in 14s

Closing comment (2022-10-21T00:21:43Z): Is this the same error reported in #4034 ?