2 probably obvious android simulator tips
Posted: Tue Sep 20, 2011 6:42 pm
Have a couple quick things i've found when working with the android simulator.
If you installed into the default location, and are having problems starting a simulator due to the spaces in the path, the problem is easily avoided.
The following in the message box starts my emulator, and the whole spaces issue goes away.
Of course change C:\Program Files (x86)\Android\android-sdk\SDK Manager.exe to point to wherever your sdk manager is installed. (you can get the properties of the shortcut that starts it, and copy and paste it from there)
Should be a piece of cake to make a livecode plugin to start it for you.
The error associated with this problem is:![Laughing :lol:](./images/smilies/icon_lol.gif)
If you installed into the default location, and are having problems starting a simulator due to the spaces in the path, the problem is easily avoided.
The following in the message box starts my emulator, and the whole spaces issue goes away.
Code: Select all
put the shortfilepath of "C:\Program Files (x86)\Android\android-sdk\SDK Manager.exe" into tPath; launch tPath
Should be a piece of cake to make a livecode plugin to start it for you.
The error associated with this problem is:
Also, though I'm sure everyone knows this, in order to test, you must have created a stack, and changed its standalone settings to build android. Obvious I know, but i'm not always the sharpest tool in the shed.invalid command-line parameter: Files.
Hint: use '@foo' to launch a virtual device named 'foo'.
please use -help for more information
![Laughing :lol:](./images/smilies/icon_lol.gif)