Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Prerequisites: <strong>Your friend must have android SDK installed, with required API level, i.e. if you are developing in Android 1.6 your friend should have atleast 1.6 installed</strong> </p> <p>Well considering you situation I will <strong>Recommend</strong> you should give your friend the <code>&lt;application-name&gt;.apk</code> file that gets generated in your <code>project\bin</code> folder, since any method would either require a device or SDK installed on machine.</p> <p>You can then ask your friend to install that <code>.apk</code> file with asking him\her to navigate to tools directory of sdk and executing <code>abd install "&lt;.apk folder directory&gt;.&lt;apk-file-name&gt;.apk"</code> when some avd is running, and can be created using <code>android create avd -n &lt;name&gt; -t &lt;targetID&gt;</code> from tools directory of sdk. <a href="http://developer.android.com/guide/developing/tools/avd.html" rel="nofollow">Complete tutorial on how to create avd is here</a>.</p> <p>But if you insist on doing a transfer of your entire AVD heres a quick untested tutorial.</p> <p>Yes you can surely do that, I think. I haven't tried this on some other machine but hope this will help you.</p> <p>Now </p> <ol> <li>Go to your <code>.android\avd</code> directory, well I don't know about the other OS but in Windows 7 its at <code>C:\Users\&lt;user-name&gt;\.android\avd</code></li> <li>Copy the <code>&lt;Android Virtual Device Name&gt;.ini</code> file and <code>&lt;Android Virtual Device Name&gt;.avd</code> folder. Which you can paste it in may be your flash drive or do some online sharing I dont know you choose your way of transferring this data.</li> <li>Open <code>&lt;Android Virtual Device Name&gt;.ini</code> with any text editor and change <code> path=C:\Users\&lt;your-user-name&gt;\.android\avd\&lt;Android Virtual Device Name&gt;.avd</code> with <code>path=C:\Users\&lt;your-friends-name&gt;\.android\avd\&lt;Android Virtual Device Name&gt;.avd</code> basically you are changing the path where the folder <code>.avd</code> lies.</li> </ol> <p>Now to create a desktop short-cut</p> <ol> <li><p>Create a blank text file with:</p> <pre><code>cd &lt;friends-sdk-directory&gt;\tools &lt;root drive of the friends sdk-directory&gt; : emulator -avd &lt;Android Virtual Device Name&gt; </code></pre> <p>and save it as <code>emulator_shortcut.bat</code></p></li> </ol> <p>Now when you start the bat file your emulator will start.</p> <p><strong>Some notes:</strong></p> <p>Make sure you edit <code>&lt;friends-sdk-directory&gt;</code>,<code>&lt;Android Virtual Device Name&gt;</code>,<code>&lt;your-user-name&gt;</code>,<code>&lt;your-friends-name&gt;</code>,<code>&lt;.apk folder directory&gt;</code>,<code>&lt;apk-file-name&gt;</code> with appropriate values.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload