oldyz
Well-known member
try to follow the instructions/workflow descriptions i have posted for the first steps (downloads , variables, setup), i will do the merge steps later once i get them working...Well, im still struggling cause im on win10now and was ion win7, not sure why i cant build, i followed video exactly, gradle went ok, but i think sdk-setup.bat did not went well ,
Also im on win64 but i used win32 libs from the video, not sure how that would fail it, its just different path to x86 program files , strange, maybe it downloads different libs for 64 and 32 bit and they just clash with what i installed
skip the "path" thing in windows 10 64 bit
Windows 7 64 bit attempt, master branch files, no 6391 merge, no custom apk
Downloaded Java JDK for windows x64 version 8u281
jdk-8u281-windows-x64.exe
downloaded SDK tools package
commandlinetools-win-8092744_latest.zip
extracted them to C:\android\sdk
result: directory structure like this C:\android\sdk\cmdline-tools\bin\sdkmanager.bat
Added User variables
ANDROID_HOME
value
C:\android\sdk
JAVA_HOME
value
C:\Program Files\Java\jre1.8.0_281
Added system variables
"C:\Program Files\Java\jre1.8.0_281\bin"
value
C:\Program Files\Java\jre1.8.0_281\bin
modified system variable
Path
added this to value (after the :
C:\Program Files\Java\jre1.8.0_281\bin\;
inside C:\openbor-master\engine\android
renamed scrip.bat to scrip.bat.OLD
replaced script.bat in
C:\openbor-master\engine\android
###new script.bat##
@echo off
IF EXIST C:\android\sdk\cmdline-tools\bin\ (
C:\android\sdk\cmdline-tools\bin\sdkmanager.bat --sdk_root=C:\android\sdk "build-tools;28.0.3" "ndk-bundle" "platform-tools" "platforms;android-28" "tools"
) ELSE IF EXIST C:\android\sdk\tools\bin\ (
C:\android\sdk\tools\bin\sdkmanager.bat "build-tools;28.0.3" "ndk-bundle" "platform-tools" "platforms;android-28" "tools"
) ELSE (
echo can't find "Android command line tools only" folder! && echo. example:"C:\android\sdk\cmdline-tools\version\bin\"
)
@rem sdkmanager.bat --list
################################
executed sdk-setup.bat
things downloaded to 100%
created a platforms folder:
C:\android\sdk\ndk-bundle\platforms
executed build.bat
success