Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Automater-application won't work

Hi. I'm new to this forum but I got a problem with the Automator. I was on a hunt for an emulator or a program that could open up apks on my MacBook Pro. I found the Android-emulator from Google, but everytime I run an app it crashes within a minute. But then I read about that you could make your own application in Mac OSx using the automator. I tried, and failed. I managed to create the application, but everytime I try to open up an apk-file when associating it to my automator-application, I get the message: "The action "Run Shell Script" encountered an error. Check the actoin's properties and try running the workflow again."


I have no idea at all within these kind of things so I have no clue at all what I should do about it. Can anyone help me with this? Would be very satisfying to install and run apks on my MacBook Pro 🙂



Below this you can see my "code" and "actions"

User uploaded file

MacBook Pro (13-inch Early 2011), Mac OS X (10.7.5)

Posted on Feb 9, 2013 4:16 PM

Reply
13 replies

Feb 10, 2013 2:36 PM in response to vvikke

presumably your adb is actually at the location you're using?

~/Android/android-sdk-mac/platform-tools/adb

if you triple-click above to select the line, then use Services-Reveal, you'll soon see. If it's not there, correct the path


Although surely, if the emulator crashes in seconds, it's not running when you try this install, and the command would fail anyway ?...

Feb 10, 2013 2:42 PM in response to vvikke

vvikke wrote:


Well I rightclick on the apk-file and then I chose "Open with..." and then I choose the Autormator-application that I made... But I tried your suggesion on dragging and dropping the apk on the app, but it didn't work either :/

What happened when you dragged a file onto the app?


The app is designed to have files dragged onto it not ot be opened. If you open it then there is no file to pass to the shell script and nothing in arg $1 so toy get the error.

Automater-application won't work

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.