Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><strong>Part 1</strong></p> <p>The following steps can help you create and install the build on your device or emulator(Tested on Mac):</p> <p><strong>Step1</strong>: you need to have the Android SDK and NDK configured and istalled Also install Autotools Mac users can use <a href="http://www.gnu.org/software/automake/faq/autotools-faq.html#How-do-I-install-the-Autotools-_0028as-user_0029_003f" rel="noreferrer">this</a> link (Follow point 2.3 only in the link) Other platform users please make sure you install it correctly.</p> <p><strong>Step2</strong>: Mac users open up your terminal and clone the git repo on any directory you want to by running the following command: (Other users sorry i don't know how but i think you can figure it out that how you can get the git repo on your directory using command promt or whatever you are using)</p> <p><code>$ git clone git://git.linphone.org/linphone-android.git --recursive</code></p> <p>After you get the Repo copied into your directory now go to the directory and open the README file and read out the whole file.</p> <p><strong>Step3</strong>: Now we will follow as the instructions written in README file First Go to root directory of the downloaded project using the following command on Terminal:</p> <pre><code>Mac users on terminal write cd and then drag and drop the "linphone-android" folder on terminal (when you drag and drop the folder terminal will get the path of the folder and then you can hit enter to get into the directory of that folder) $ cd /Users/myname/Desktop/Android/linphone-android </code></pre> <p>or just use simple command <strong>cd</strong> to get into the folder</p> <pre><code> $ cd Desktop $ cd Android $ cd linphone-android </code></pre> <p>Now when you get into the directory on terminal then check your PATH of SDK &amp; NDK installed on your Mac run </p> <pre><code>$ echo $PATH </code></pre> <p>if you see the path with SDK and NDK location then it's ok to proceed with <strong>Step4 and skip the below part</strong> and if not then you need to setup the PATH before you execute the make and make install script in Step 4: To set up path use :</p> <pre><code>$ export PATH=/Users/myname/Documents/adt-bundle-mac-x86_64-20130729/sdk/platform-tools:/Users/myname/Documents/adt-bundle-mac-x86_64-20130729/sdk/tools:/Users/myname/Documents/android-ndk-r9:$PATH </code></pre> <p>it's like <strong>export PATH=(Path of your SDK platform tools folder):(Path of your SDK tools folder):(Path of your NDK folder):$PATH</strong></p> <p>This will set up the path and to confirm again run </p> <pre><code>$ echo $PATH </code></pre> <p>Now you will see that the path of SDK and NDK is there.</p> <p><strong>Step 4</strong>: Now if the Path is already setup you can simply run</p> <pre><code>$ make </code></pre> <p>Now connect your Device to you Mac/Pc and see if eclipse has detected it. After the device is connected run:</p> <pre><code>$ make install $ make generate-sdk (optional) </code></pre> <p>This will install the application into your phone. (you need to have an working SIP username and password to configure in the app)</p> <p>This above steps worked for me and i was able to get the app running on my device.</p> <p><strong>Part 2</strong></p> <p>Importing into Eclipse : After you have made your build then now you need to import it into eclipse.</p> <p><strong>Step1</strong>: Go to eclipse click on File Menu then Import then select Existing Android Code into Workspace </p> <p>Hit Next and Browse to the <strong>linphone-android</strong> project folder And Only tick linphone-android folder and Leave Copy project into workspace untick.</p> <p>Do this Like the below image: <img src="https://i.stack.imgur.com/RNQzw.png" alt="enter image description here"></p> <p>And hit finish. Now you right click on "linphone-android" (project name) and go to Properties and Java Build Path and then Order and Export and then reorder them as my image below and untick gcm.jar</p> <p><img src="https://i.stack.imgur.com/U1IM2.png" alt="enter image description here"></p> <p>Hit OK And Boom No errors Now just run it on device or emulator. (Make sure your minimum target SDK matches with your device or emulator.)</p> <p>The above steps worked fine for me and it will work for you as well.</p> <p>All the Best !!</p>
    singulars
    1. This table or related slice is empty.
    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.
    2. 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