title: Integrating Unity with Eclipse - How to follow the "official" tutorial's instructions?
body: <p>I have read all the documentation I found on how to integrate Unity3D projects targeted to Android into eclipse. The reason I want to do that is to be able to call the Unity3D Activity within my own "normal" Android application.</p>
  
  <p>Well, I tried to follow the steps <a href="http://unity3d.com/support/documentation/Manual/Android-Integrating%20Unity%20With%20Eclipse.html" rel="nofollow noreferrer">listed on this tutorial</a>.
  Using all the combinations I can imagine, I did the following:  </p>
  
  <ol>
  <li><p>I used the Unity Android project and built it (within the Unity
  IDE), then copied the <code>/Temp/StagingArea/</code> folder to another location.</p></li>
  <li><p>I created a new Android project, using create from existing sources,
  setting the location of the <code>StagingArea</code> copy folder. This would be
  the Android Library Project. Check "is Library" on properties ->
  Android.  </p></li>
  <li><p>Again, I create an Android project, import the previusly created
  Android Library project and <code>classes.jar</code>.  </p></li>
  <li><p>I <strong>move</strong> the <code>asset</code> folder contents from the Library project to the
  "Activity" project. It has two subfolders, <code>bin</code> and <code>libs</code>.  </p></li>
  <li><p>I modify the generated Activity to extend <code>UnityPlayerActivity</code> and
  remove the setContent line of the onCreate method. Change the
  package to match the Unity Player bundle id.  </p></li>
  <li><p>Add the corresponding lines to manifest, basically those that are on
  the Library project.</p></li>
  </ol>
  
  <p>So everything compiles without errors, and I can run the project, shows the splash screen, and then a black screen, playing the sounds of my Unity Scene correctly. The logcat reveals the following errors:</p>
  
  <pre><code>01-26 16:51:46.415: D/dalvikvm(2299): Trying to load lib /data/data/es.fundacionvf.unity.gps/lib/libQCARWrapper.so 0x40515a38
  01-26 16:51:46.415: E/Unity(2299): Unable to find QCARWrapper
  01-26 16:51:46.415: D/dalvikvm(2299): Trying to load lib /data/data/es.fundacionvf.unity.gps/lib/libQCARWrapper.so 0x40515a38
  01-26 16:51:46.415: E/Unity(2299): Unable to find QCARWrapper
  01-26 16:51:46.415: D/dalvikvm(2299): Trying to load lib /data/data/es.fundacionvf.unity.gps/lib/libQCARWrapper.so 0x40515a38
  01-26 16:51:46.415: E/Unity(2299): Unable to find QCARWrapper
  01-26 16:51:46.415: I/Unity(2299): StopQCAR
  01-26 16:51:46.415: I/Unity(2299): UnityEngine.Debug:Internal_Log(Int32, String, Object)
  01-26 16:51:46.415: I/Unity(2299): UnityEngine.Debug:Log(Object)
  01-26 16:51:46.415: I/Unity(2299): UnityEngine.MonoBehaviour:print(Object)
  01-26 16:51:46.415: I/Unity(2299): TrackerBehaviour:StopQCAR()
  01-26 16:51:46.415: I/Unity(2299): TrackerBehaviour:OnApplicationPause(Boolean)
  01-26 16:51:46.415: I/Unity(2299):  
  01-26 16:51:46.415: I/Unity(2299): (Filename: /Applications/buildAgent/work/842f9557127e852/Runtime/Export/Generated/UnityEngineDebug.cpp Line: 34)
  01-26 16:51:46.425: D/dalvikvm(2299): Trying to load lib /data/data/es.fundacionvf.unity.gps/lib/libQCARWrapper.so 0x40515a38
  01-26 16:51:46.425: E/Unity(2299): Unable to find QCARWrapper
  01-26 16:51:46.425: I/Unity(2299): DllNotFoundException: QCARWrapper
  01-26 16:51:46.425: I/Unity(2299):   at (wrapper managed-to-native) TrackerBehaviour:stopTracker ()
  01-26 16:51:46.425: I/Unity(2299):   at TrackerBehaviour.StopQCAR () [0x00000] in &lt;filename unknown&gt;:0 
  01-26 16:51:46.425: I/Unity(2299):   at TrackerBehaviour.OnApplicationPause (Boolean pause) [0x00000] in &lt;filename unknown&gt;:0 
  </code></pre>
  
  <p>Just to mention... read these two SO questions: <a href="https://stackoverflow.com/questions/7749841/unity3d-integration-with-android/7884945#7884945">1</a> and <a href="https://stackoverflow.com/questions/7645787/android-apk-size-difference-from-unity-directly-and-integrating-unity-in-eclipse">2</a>. They seem to have succeded, so it is possible to achieve following those steps (or similar).</p>
  
  <p>I also found useful <a href="http://forum.unity3d.com/threads/71607-Integrating-Unity-and-Eclipse" rel="nofollow noreferrer">this topic on the Unity3D forum</a>, which basically describes the same proccess in a clearer way.</p>
  
  <p>Has anybody experienced this issue? Any suggestion or alternative?</p>
  
  <p>Regards.</p>