You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.
This is my local monkeyrunner.bat, it works for me:
rem don't modify the caller's environmentsetlocalrem Set up prog to be the path of this script, including following symlinks,rem and set up progdir to be the fully-qualified pathname of its directory.setprog=%~f0rem Change current directory and drive to where the script is, to avoidrem issues with directories containing whitespaces.cd /d %~dp0rem Check we have a valid Java.exe in the path.setjava_exe=call ..\lib\find_java.bat
ifnotdefined java_exe goto :EOFifdefined APP_HOME goto AppHomeOk
setAPP_HOME=%ANDROID_HOME%\tools
:AppHomeOkfor /f %%ain ("%APP_HOME%\lib\monkeyrunner-26.0.0-dev.jar") dosetjarfile=%%~nxasetframeworkdir=.
setlibdir=ifexist%frameworkdir%\%jarfile%goto JarFileOk
setframeworkdir=..\lib
ifexist%frameworkdir%\%jarfile%goto JarFileOk
setframeworkdir=..\framework
:JarFileOksetjarpath=%frameworkdir%\%jarfile%ifnotdefined ANDROID_SWT goto QueryArch
setswt_path=%ANDROID_SWT%goto SwtDone
:QueryArchfor /f "delims="%%ain ('%frameworkdir%\..\bin\archquery') dosetswt_path=%frameworkdir%\%%a
:SwtDoneifexist"%swt_path%"goto SetPath
echo SWT folder '%swt_path%' does not exist.
echo Please set ANDROID_SWT to point to the folder containing swt.jar for your platform.
exit /B
:SetPathcall"%java_exe%" -Xmx512m "-Djava.ext.dirs=%frameworkdir%;%swt_path%" -Dcom.android.monkeyrunner.bindir=%ANDROID_HOME%\platform-tools -jar %jarpath%%*
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
gradlew :app:assembleDebug :app:assembleDebugAndroidTest :app:installDebug :app:installDebugAndroidTest
%ANDROID_HOME%\tools\bin\monkeyrunner.bat run_perf_tests.py .\ <INSERT_ID>
Even after resolving the ANDROID_SWT variable issue with monkeyrunner with the below command it seems like monkeyrunner.bat is broken for Windows.
set ANDROID_SWT=C:\Users\someone\AppData\Local\Android\sdk\tools\lib\x86_64\swt.jar
The text was updated successfully, but these errors were encountered: