-1

For automating apk file I need this but not through cmd but through robotium.re-sign.jar

When I was dropping an apk file on re-sign.jar file it gives an Error something like - {ERROR : Cannot run program "D:\SDK\SDK/tools/zipalign": Create process error = 2,The system cannot find the file specified}

2 Answers2

0

For create a apk for Google Play Publish, look this tutorial, you have to solve this problem is : https://www.scirra.com/tutorials/861/how-to-sign-and-align-your-android-app-apk

ctesniere
  • 131
  • 8
0

re-sign.jar search for zipalign in the old path(tool). However, it is in build-tool. Try to set ANDROID_HOME to the root of SDK which contain both tool and build-tool folders.