Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by nortala · Feb 16, 2012 at 08:40 AM · androideclipse

Android Eclipse integration broken for Unity 3.5?

I have a project that launches a Unity game from an Android front end. While I was using Unity 4.2, I could run the project from Eclipse just fine. After upgrading, Unity exits immediately on startup.

I've re-started the whole integration setup from scratch (following this http://unity3d.com/support/documentation/Manual/Android-Integrating%20Unity%20With%20Eclipse.html), and using an empty Unity project to test. Unity still bails on startup when run from Eclipse (it runs just fine when launched from Unity Editor).

Are those instructions outdated now? Are there now steps I'm missing?

Anyone else have this problem?

What I could get out of LogCat:

 02-16 17:18:19.025: D/dalvikvm(1939): GC_EXPLICIT freed 916 objects / 56296 bytes in 89ms
 02-16 17:18:19.625: D/AndroidRuntime(2032): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
 02-16 17:18:19.625: D/AndroidRuntime(2032): CheckJNI is OFF
 02-16 17:18:19.625: D/dalvikvm(2032): creating instr width table
 02-16 17:18:19.665: D/AndroidRuntime(2032): --- registering native functions ---
 02-16 17:18:19.915: D/dalvikvm(657): GC_EXPLICIT freed 172 objects / 9200 bytes in 26ms
 02-16 17:18:21.615: D/PackageParser(105): Scanning package: /data/app/vmdl30974.tmp
 02-16 17:18:22.345: D/PackageManager(105): Scanning package jayelinda.unitytest
 02-16 17:18:22.355: I/PackageManager(105): /data/app/jayelinda.unitytest-1.apk changed; unpacking
 02-16 17:18:22.355: D/PackageManager(105): Caching shared lib lib/armeabi-v7a/libmono.so
 02-16 17:18:22.395: D/PackageManager(105): Caching shared lib lib/armeabi-v7a/libunity.so
 02-16 17:18:22.435: D/installd(69): DexInv: --- BEGIN '/data/app/jayelinda.unitytest-1.apk' ---
 02-16 17:18:22.505: D/dalvikvm(2041): creating instr width table
 02-16 17:18:22.645: D/dalvikvm(2041): DexOpt: load 47ms, verify 65ms, opt 2ms
 02-16 17:18:22.675: D/installd(69): DexInv: --- END '/data/app/jayelinda.unitytest-1.apk' (success) ---
 02-16 17:18:22.675: D/PackageManager(105):   Activities: jayelinda.unitytest.UnityTestActivity
 02-16 17:18:22.675: I/ActivityManager(105): Force stopping package jayelinda.unitytest uid=10064
 02-16 17:18:22.825: I/installd(69): move /data/dalvik-cache/data@app@jayelinda.unitytest-1.apk@classes.dex -> /data/dalvik-cache/data@app@jayelinda.unitytest-1.apk@classes.dex
 02-16 17:18:22.825: D/PackageManager(105): New package installed in /data/app/jayelinda.unitytest-1.apk
 02-16 17:18:22.995: D/HomeLoaders(215): get install or remove message so do change adapter
 02-16 17:18:23.095: D/HtcWidgetScanner(418): action - android.intent.action.PACKAGE_ADDED
 02-16 17:18:23.095: D/HtcWidgetScanner(418): packageUid - 10064
 02-16 17:18:23.195: D/dalvikvm(105): GC_EXPLICIT freed 19531 objects / 1047696 bytes in 105ms
 02-16 17:18:23.265: D/AndroidRuntime(2032): Shutting down VM
 02-16 17:18:23.265: D/dalvikvm(2032): Debugger has detached; object registry had 1 entries
 02-16 17:18:23.265: D/dalvikvm(2032): Compiler shutdown in progress - discarding request
 02-16 17:18:23.265: D/dalvikvm(2032): Compiler shutdown in progress - discarding request
 02-16 17:18:23.265: D/dalvikvm(2032): Compiler shutdown in progress - discarding request
 02-16 17:18:23.275: I/AndroidRuntime(2032): NOTE: attach of thread 'Binder Thread #3' failed
 02-16 17:18:23.545: D/AndroidRuntime(2051): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
 02-16 17:18:23.545: D/AndroidRuntime(2051): CheckJNI is OFF
 02-16 17:18:23.545: D/dalvikvm(2051): creating instr width table
 02-16 17:18:23.585: D/AndroidRuntime(2051): --- registering native functions ---
 02-16 17:18:23.815: I/ActivityManager(105): Force stopping package jayelinda.unitytest uid=10064
 02-16 17:18:23.815: I/ActivityManager(105): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=jayelinda.unitytest/.UnityTestActivity }
 02-16 17:18:23.825: D/SurfaceFlinger(105): Layer::setBuffers(this=0x5298a8), pid=105, w=1, h=1
 02-16 17:18:23.825: D/SurfaceFlinger(105): Layer::setBuffers(this=0x5298a8), pid=105, w=1, h=1
 02-16 17:18:23.855: D/AndroidRuntime(2051): Shutting down VM
 02-16 17:18:23.855: D/dalvikvm(2051): Debugger has detached; object registry had 1 entries
 02-16 17:18:23.855: D/SurfaceFlinger(105): Layer::requestBuffer(this=0x5298a8), index=0, pid=105, w=480, h=800 success
 02-16 17:18:23.865: I/ActivityManager(105): Start proc jayelinda.unitytest for activity jayelinda.unitytest/.UnityTestActivity: pid=2059 uid=10064 gids={}
 02-16 17:18:23.875: I/AndroidRuntime(2051): NOTE: attach of thread 'Binder Thread #3' failed
 02-16 17:18:23.925: D/Sensors(105): open_akm, fd=153
 02-16 17:18:23.945: D/AK8973(72): Compass Start
 02-16 17:18:23.945: W/ActivityThread(2059): Application jayelinda.unitytest is waiting for the debugger on port 8100...
 02-16 17:18:23.955: I/System.out(2059): Sending WAIT chunk
 02-16 17:18:23.955: I/dalvikvm(2059): Debugger is active
 02-16 17:18:24.005: D/SurfaceFlinger(105): Layer::setBuffers(this=0x46c8a0), pid=105, w=1, h=1
 02-16 17:18:24.005: D/SurfaceFlinger(105): Layer::setBuffers(this=0x46c8a0), pid=105, w=1, h=1
 02-16 17:18:24.045: D/SurfaceFlinger(105): Layer::requestBuffer(this=0x46c8a0), index=0, pid=105, w=480, h=355 success
 02-16 17:18:24.085: D/RegisterService(408): insert plugin size 1
 02-16 17:18:24.135: D/RegisterService(408): insert plugin size 3
 02-16 17:18:24.155: I/System.out(2059): Debugger has connected
 02-16 17:18:24.155: I/System.out(2059): waiting for debugger to settle...
 02-16 17:18:24.245: W/Addapter(215): info.icon:2130837537
 02-16 17:18:24.255: W/Addapter(215): info.icon:2130837504
 02-16 17:18:24.265: W/Addapter(215): info.icon:2130837508
 02-16 17:18:24.265: W/Addapter(215): info.icon:2130837526
 02-16 17:18:24.275: W/Addapter(215): info.icon:2130837504
 02-16 17:18:24.285: W/Addapter(215): info.icon:2130837627
 02-16 17:18:24.295: D/RegisterService(408): insert plugin size 1
 02-16 17:18:24.295: W/Addapter(215): info.icon:2130837544
 02-16 17:18:24.295: W/Addapter(215): info.icon:2130903041
 02-16 17:18:24.305: W/Addapter(215): info.icon:2130837526
 02-16 17:18:24.315: W/Addapter(215): info.icon:2130837715
 02-16 17:18:24.325: W/Addapter(215): info.icon:2130837589
 02-16 17:18:24.335: W/Addapter(215): info.icon:2130837589
 02-16 17:18:24.345: W/Addapter(215): info.icon:2130838435
 02-16 17:18:24.355: W/Addapter(215): info.icon:2130838097
 02-16 17:18:24.355: I/System.out(2059): waiting for debugger to settle...
 02-16 17:18:24.365: W/Addapter(215): info.icon:2130837578
 02-16 17:18:24.365: W/Addapter(215): info.icon:2130837786
 02-16 17:18:24.375: W/Addapter(215): info.icon:2130837504
 02-16 17:18:24.385: D/RegisterService(408): insert plugin size 1
 02-16 17:18:24.385: W/Addapter(215): info.icon:2130837504
 02-16 17:18:24.435: D/Addapter(215): text : Get more HTC widgets
 02-16 17:18:24.555: I/System.out(2059): waiting for debugger to settle...
 02-16 17:18:24.755: I/System.out(2059): waiting for debugger to settle...
 02-16 17:18:24.955: I/System.out(2059): waiting for debugger to settle...
 02-16 17:18:24.995: D/SurfaceFlinger(105): Layer::requestBuffer(this=0x46c8a0), index=1, pid=105, w=480, h=355 success
 02-16 17:18:25.164: I/System.out(2059): waiting for debugger to settle...
 02-16 17:18:25.205: D/SurfaceFlinger(105): Layer::requestBuffer(this=0x46c8a0), index=0, pid=105, w=480, h=355 success
 02-16 17:18:25.235: D/SurfaceFlinger(105): Layer::requestBuffer(this=0x46c8a0), index=1, pid=105, w=480, h=355 success
 02-16 17:18:25.365: I/System.out(2059): waiting for debugger to settle...
 02-16 17:18:25.568: I/System.out(2059): debugger has settled (1405)
 02-16 17:18:25.825: D/dalvikvm(2059): Trying to load lib /data/data/jayelinda.unitytest/lib/libmono.so 0x46328598
 02-16 17:18:25.825: D/dalvikvm(2059): Added shared lib /data/data/jayelinda.unitytest/lib/libmono.so 0x46328598
 02-16 17:18:26.005: D/proxy(2059): Added shared lib /assets/libs/armeabi-v7a/libmono.so 0x8091cf4c
 02-16 17:18:26.005: D/proxy(2059): No JNI_OnLoad found in /assets/libs/armeabi-v7a/libmono.so 0x8091cf4c
 02-16 17:18:26.005: D/dalvikvm(2059): Trying to load lib /data/data/jayelinda.unitytest/lib/libunity.so 0x46328598
 02-16 17:18:26.005: D/dalvikvm(2059): Added shared lib /data/data/jayelinda.unitytest/lib/libunity.so 0x46328598
 02-16 17:18:26.445: D/proxy(2059): Added shared lib /assets/libs/armeabi-v7a/libunity.so 0x80a12f4c
 02-16 17:18:26.555: D/SurfaceFlinger(105): Layer::setBuffers(this=0x74ebb0), pid=2059, w=1, h=1
 02-16 17:18:26.555: D/SurfaceFlinger(105): Layer::setBuffers(this=0x74ebb0), pid=2059, w=1, h=1
 02-16 17:18:26.605: D/SurfaceFlinger(105): Layer::requestBuffer(this=0x74ebb0), index=0, pid=2059, w=480, h=800 success
 02-16 17:18:26.625: D/SurfaceFlinger(105): Layer::setBuffers(this=0x5e3d88), pid=2059, w=480, h=800
 02-16 17:18:26.625: D/SurfaceFlinger(105): Layer::setBuffers(this=0x5e3d88), pid=2059, w=480, h=800
 02-16 17:18:26.635: D/libEGL(2059): loaded /system/lib/egl/libGLES_android.so
 02-16 17:18:26.645: D/libEGL(2059): loaded /system/lib/egl/libEGL_adreno200.so
 02-16 17:18:26.645: D/libEGL(2059): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
 02-16 17:18:26.645: D/libEGL(2059): loaded /system/lib/egl/libGLESv2_adreno200.so
 02-16 17:18:26.655: D/Unity(2059): Creating OpenGL ES 2.0 context (RGB16 565 16/0)
 02-16 17:18:26.665: D/SurfaceFlinger(105): Layer::requestBuffer(this=0x5e3d88), index=0, pid=2059, w=480, h=800 success
 02-16 17:18:26.715: D/SurfaceFlinger(105): Layer::requestBuffer(this=0x5e3d88), index=1, pid=2059, w=480, h=800 success
 02-16 17:18:26.765: I/ActivityManager(105): Displayed activity jayelinda.unitytest/.UnityTestActivity: 2922 ms (total 2922 ms)
 02-16 17:18:26.855: D/Zygote(66): Process 2059 exited cleanly (1)
 02-16 17:18:26.865: E/ActivityManager(105): fail to set top app changed!
 02-16 17:18:26.865: I/ActivityManager(105): Process jayelinda.unitytest (pid 2059) has died.
 02-16 17:18:26.865: I/WindowManager(105): WIN DEATH: Window{463774a8 jayelinda.unitytest/jayelinda.unitytest.UnityTestActivity paused=false}
 02-16 17:18:26.865: I/WindowManager(105): WIN DEATH: Window{4644e2b0 SurfaceView paused=false}
 02-16 17:18:26.885: D/Sensors(105): close_akm, fd=153
 02-16 17:18:26.885: I/UsageStats(105): Unexpected resume of com.htc.launcher while already resumed in jayelinda.unitytest
 02-16 17:18:26.895: D/SurfaceFlinger(105): Layer::setBuffers(this=0x46c8a0), pid=215, w=480, h=800
 02-16 17:18:26.895: D/SurfaceFlinger(105): Layer::setBuffers(this=0x46c8a0), pid=215, w=480, h=800
 02-16 17:18:26.905: W/InputManagerService(105): Got RemoteException sending setActive(false) notification to pid 2059 uid 10064
 02-16 17:18:26.925: D/SurfaceFlinger(105): Layer::requestBuffer(this=0x46c8a0), index=0, pid=215, w=480, h=800 success
 02-16 17:18:26.975: D/SurfaceFlinger(105): Layer::requestBuffer(this=0x46c8a0), index=1, pid=215, w=480, h=800 success
 02-16 17:18:27.295: D/AK8973(72): Compass CLOSE 
 02-16 17:18:30.665: V/AlarmManager(105): Alarm triggering: Alarm{46683628 type 2 com.google.android.apps.maps}
 02-16 17:18:30.665: V/AlarmManager(105): Adding Alarm{46683628 type 2 com.google.android.apps.maps} Jan 02 04:16:01 am
 02-16 17:18:30.715: V/AlarmManager(105): Adding Alarm{4664e170 type 2 com.google.android.apps.maps} Jan 02 04:31:01 am
 02-16 17:18:30.785: V/AlarmManager(105): Adding Alarm{4654c1d8 type 0 android} Feb 17 01:00:00 am
 02-16 17:18:43.015: D/dalvikvm(692): GC_EXPLICIT freed 99 objects / 4056 bytes in 68ms
 02-16 17:18:48.025: D/dalvikvm(275): GC_EXPLICIT freed 428 objects / 20736 bytes in 81ms
 02-16 17:18:53.025: D/dalvikvm(1969): GC_EXPLICIT freed 3121 objects / 143048 bytes in 76ms
 02-16 17:18:58.045: D/dalvikvm(657): GC_EXPLICIT freed 119 objects / 9808 bytes in 99ms
 02-16 17:19:19.015: D/dalvikvm(671): GC_EXPLICIT freed 3522 objects / 149480 bytes in 71ms
 02-16 17:19:25.015: D/dalvikvm(408): GC_EXPLICIT freed 5944 objects / 328128 bytes in 72ms
 02-16 17:19:27.719: V/AlarmManager(105): Alarm triggering: Alarm{46551020 type 0 com.google.android.gsf}
 02-16 17:19:27.719: V/AlarmManager(105): Adding Alarm{46551020 type 0 com.google.android.gsf} Feb 16 05:49:27 pm
 02-16 17:19:27.775: I/EventLogService(268): Aggregate from 1329371367645 (log), 1329371367645 (data)
 02-16 17:19:27.865: V/AlarmManager(105): Adding Alarm{466c0ec8 type 0 com.google.android.gsf} Feb 16 05:49:27 pm
 02-16 17:19:32.845: D/dalvikvm(268): GC_EXPLICIT freed 711 objects / 130152 bytes in 72ms
 02-16 17:19:37.845: D/dalvikvm(418): GC_EXPLICIT freed 312 objects / 15936 bytes in 66ms
 02-16 17:19:52.015: D/dalvikvm(611): GC_EXPLICIT freed 188 objects / 10056 bytes in 71ms
Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image BerggreenDK · Feb 16, 2012 at 09:42 AM 0
Share

please ask this in the support forum, "Answers" is for "quick answers" to specific questions on how to make stuff within Unity.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by netlander · Apr 26, 2012 at 05:36 PM

Hi,

Your question is v interesting and the main reason why we have not yet gone for Unity 3.5 upgrade (There is little incentive for Android development).

So I wonder if you have managed to solve this problem at all?

Many thanks Paul


[EDIT]

Guys I edit my previous comments as follows:

After further investigating the issue with eclipse-unity 3.5.2 integration I have figured out the culprit that was causing the integration to break.

And that culprit was Android ADT, in other words the Android eclipse plugin.

In the process of migrating our environment we also installed the latest version of ADT which currently is version 18.0.0, for some reason that didn't play well with the integration workflow.

Our solution was to downgrade from ADT 18.0 to 15.0 and things started working again, we will try to incrementally upgrade to 16.0 then 17.0 to see what is the maximum version we can go up to.

At least now the integration is working even though we're not using the latest and greatest as far as ADT is concerned.

Hope this helps.

Paul

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by nortala · Apr 28, 2012 at 04:47 AM

I'm happy to report that the issue is fixed in Unity 3.5.1

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Berenger · Jun 11, 2012 at 07:01 PM 0
Share

Txasti : I still have the same problem with the 3.5.1 version :(

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

8 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

AndroidJavaException - java.lang.ClassNotFoundException 1 Answer

Error launching Unity activity in Eclipse 1 Answer

Android - Touch input won't work, Invisible activity in front of Unity activity 0 Answers

Android application with Unity? 0 Answers

LogoQuiz with Unity 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges