Closed FWest98 closed 9 years ago
I don't have access to a Windows machine, would you mind submitting a pull request with the .bat
file?
I don't know how to make such a file, but I do know that the command above works for Windows, so you can add that one to the readme. Users just have to get the path to the generated jar.
@echo off REM author shriduttkothari@gmail.com ant jar && java -jar build/jar/dex-method-counts.jar %1
Thank you Mihai for this honest tool and not asking to upload the build ;)
For windows:
-> Add path to apache-ant/bin to Environment variable
-> make sure you have cygwin
-> run >>> ant jar in cmd at path
-> open cygwin.bat
-> access the path for dex-method-counts-master folder..
-> execute $ ./dex-method-counts <path/to/App.apk>. here path to apk better to keep it inside the dex-method-counts-master folder to avoid issues related to path in cygwin. and here you go :)
Done by 367330cb5c330faf13e835e469a6c81a5e8ec3e9
Windows doesn't support the runfile you provided. You can make a .bat file, or provide the different code for Windows:
java -jar [path-to-generated-jar (./build/jar/....)] [filename to inspect]