Update apk.py

Try Catch for possible exception !