apk - Batch file to run an Android app in emulator -


compile.bat:

set path=%path%;h:\source\program\sdk\tools; set path=%path%;h:\source\program\sdk\platform-tools; cd sdk\tools emulator -avd emulator2 adb wait-for-device   cd sdk\platform-tools adb install -r sp.apk  

here batch file run .apk emulator. cd, adviser wants run app in computer using cd. sdk folder in cd , same directory compile.bat. setting of path correct? there error when test compile.bat cd, says too many files specified; take apk file , verifier file.

the adb install command become adb install -r sp.apk apk p.apk t_rootproject_name-debug.apk. want install sp.apk in emulator.

when run commands in cmd, not in batch file working.

also want know how enable camera in laptop emulator. app requires camera run.

can me please? begging you. need tomorrow graduation. thank you.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -