title: Integration of Unity and Eclipse
body: <p>I need a little bit of help with integration of Unity into Eclipse.</p>
  <p>My reference page is this =&gt;  <a href="http://forum.unity3d.com/threads/71607-Integrating-Unity-and-Eclipse" rel="nofollow noreferrer">here</a></p>
  <p>I have Unity3D Pro version and Android Plugin Pro Version</p>
  <ul>
  <li>Set up your Unity Android project as you would normally and hit
  Build.</li>
  <li>Enter your project folder, go to Temp/StagingArea.</li>
  <li>Copy all project files to a new folder.</li>
  <li>Import this folder as a new Android project in Eclipse.</li>
  <li>Mark this project as a library in the properties window for the
  project. (Right click on the project name, go to Properties-&gt;Android
  and mark &quot;Is Library&quot;.)</li>
  <li>Create a new Android project in Eclipse. This will constitute the
  Java part of your project.</li>
  <li>Add the Unity Android project as a library to your new project.
  (Right click on the project name, go to Properties-&gt;Android, select
  &quot;Add...&quot;, add the project.)</li>
  <li>Add the classes.jar library to the Library references for your new
  project. (In properties, go to Java_Build_path-&gt;Libraries, select
  &quot;Add External Jar...&quot;, navigate to
  UNITY_INSTALLATION\Editor\Data\PlaybackEngines\and roidplayer\bin and
  add classes.jar)</li>
  </ul>
  <p>By now, If I am running this little project into my device I get something like this</p>
  <p>You can see the picture from this link.</p>
  <p><a href="https://copy.com/vVaCyQTEUECV" rel="nofollow noreferrer">https://copy.com/vVaCyQTEUECV</a></p>
  <p>The next Step is this:</p>
  <ul>
  <li>Move the assets folder from the library project to the new project.
  (Android does not allow assets to be utilized in libraries, and this
  last step has to be repeated whenever the Unity project is rebuilt.)</li>
  </ul>
  <p>I am moving the asset folder and the res folder from the library project to the new project.</p>
  <p>After that I am moving the AndroidMnifest.xml from the library and replacing in the project</p>
  <p>This is my Code from MainActivity.java</p>
  <pre><code>package com.Developer.PackMan;
  
  import com.unity3d.player.UnityPlayerNativeActivity;
  
  
  import android.os.Bundle;
  
  public class MainActivity extends UnityPlayerNativeActivity {
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          
  }
  }
  </code></pre>
  <p>And this is Manifest.xml</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; package=&quot;com.Developer.PackMan&quot; android:theme=&quot;@android:style/Theme.NoTitleBar&quot; android:versionName=&quot;1.0&quot; android:versionCode=&quot;1&quot; android:installLocation=&quot;preferExternal&quot;&gt;
    &lt;supports-screens android:smallScreens=&quot;true&quot; android:normalScreens=&quot;true&quot; android:largeScreens=&quot;true&quot; android:xlargeScreens=&quot;true&quot; android:anyDensity=&quot;true&quot; /&gt;
    &lt;application android:icon=&quot;@drawable/app_icon&quot; android:label=&quot;@string/app_name&quot; android:debuggable=&quot;false&quot;&gt;
      &lt;activity android:name=&quot;com.unity3d.player.UnityPlayerNativeActivity&quot; android:label=&quot;@string/app_name&quot; android:screenOrientation=&quot;landscape&quot; android:launchMode=&quot;singleTask&quot; android:configChanges=&quot;mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale&quot;&gt;
        &lt;intent-filter&gt;
          &lt;action android:name=&quot;android.intent.action.MAIN&quot; /&gt;
          &lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&gt;
        &lt;/intent-filter&gt;
        &lt;meta-data android:name=&quot;unityplayer.UnityActivity&quot; android:value=&quot;true&quot; /&gt;
        &lt;meta-data android:name=&quot;unityplayer.ForwardNativeEventsToDalvik&quot; android:value=&quot;false&quot; /&gt;
      &lt;/activity&gt;
    &lt;/application&gt;
    &lt;uses-sdk android:minSdkVersion=&quot;9&quot; android:targetSdkVersion=&quot;19&quot; /&gt;
    &lt;uses-feature android:glEsVersion=&quot;0x00020000&quot; /&gt;
    &lt;uses-feature android:name=&quot;android.hardware.sensor.accelerometer&quot; /&gt;
  &lt;/manifest&gt;
  </code></pre>
  <p>After I am building it i got an error with the following text</p>
  <p>The application )process com.Developer.Packman) has stopped  unexpectedly please try again.</p>
  <p>The problem is that I am not getting any kind of Errors in LogCat or Console, everything is clear.</p>
  <p>I really need your help. Thank you.</p>