I was using Cocos Creator version 2.4.12
NDK version: 21.4.7075529
Python Script: 2.7.18
AGP version: classpath ‘com.android.tools.build:gradle:7.2.2’
Gradle Version: distributionUrl=https://services.gradle.org/distributions/gradle-7.3.3-all.zip
still can’t package…by the way I’m using Python Script to build and to compile and releasing APK
zzy
April 20, 2024, 8:25am
#2
In some windows api, if url is too long it will occur errors. Try shorten your file path, for example, move your project to a shallower folder.
I did maximize the path by using REGEDIT it can bypass the 256 Characters MAX_PATH by editing it in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem.
zzy
April 20, 2024, 11:36am
#4
I heard that this method is unstable and need reboot?