Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

Integration of Unity and Eclipse

$
0
0
Hey guys I need a little bit of help with integration of Unity into Eclipse My reference page is this => [here][1] I have Unity3D Pro version and Android Plugin Pro Version - Set up your Unity Android project as you would normally and hit Build. - Enter your project folder, go to Temp/StagingArea. - Copy all project files to a new folder. - Import this folder as a new Android project in Eclipse. - Mark this project as a library in the properties window for the project. (Right click on the project name, go to Properties->Android and mark "Is Library".) - Create a new Android project in Eclipse. This will constitute the Java part of your project. - Add the Unity Android project as a library to your new project. (Right click on the project name, go to Properties->Android, select "Add...", add the project.) - Add the classes.jar library to the Library references for your new project. (In properties, go to Java_Build_path->Libraries, select "Add External Jar...", navigate to UNITY_INSTALLATION\Editor\Data\PlaybackEngines\and roidplayer\bin and add classes.jar) By now, If I am running this little project into my device I get something like this You can see the picture from this link. [https://copy.com/vVaCyQTEUECV][2] The next Step is this: - 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.) [Here is How my Library Looks][3] I am moving the asset folder and the res folder from the library project to the new project. After that I am moving the *AndroidMnifest.xml* from the library and replacing in the project This is my Code from *MainActivity.java* 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); } } And this is the new *Manifest.xml* from java project. After I am building it i got an error with the following text **The application )process com.Developer.Packman) has stopped unexpectedly please try again.** The problem is that I am not getting any kind of Errors in LogCat or Console, everything is clear. I really need your help. Thank you. [1]: http://forum.unity3d.com/threads/71607-Integrating-Unity-and-Eclipse [2]: https://copy.com/vVaCyQTEUECV [3]: https://copy.com/zrWa0UjpRuMO

Viewing all articles
Browse latest Browse all 7934

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>