Anyone has a clue about it? On 31 maio, 17:30, Allan Valeriano <[email protected]> wrote: > > Hi all, > > I'm having this problem for a while and today I found out this warning on my > logcat. I'm trying to run 3 apps that work together. The first one has a > component repository, which should stores my components for some apps to use > it. The second one just registers a developer component to this repository > and the third one asks for this registered component to the first one. I > hope this was clear till now. > > Well, first I was running it all on the same project, so everything worked > fine. I think it was because everything was on the same VM, so I had no > problem registering or accessing the components on my repository. > > Then I separated the projects in 3, and tried to do the same thing. The > first app runs fine, the second app registers its components to the > repository (on first process) just fine, but when the third process tries to > load the components, it finds nothing! That's the time I receive the warn: > > 05-28 22:47:24.685: WARN/ActivityManager(66): Unable to start service Intent > > > { act=kaluana.context.IProviderService }: not found > > I've tried to put the three activities on the same process, but it did not > work. Here are the AndroidManifests where I try to configure it: > > First app (where the repository is): > > <application android:label="@string/app_name"> > > <uses-library android:name="com.google.android.maps" /> > > <uses-library android:name="android.test.runner" /> > > <service android:name="kaluana.impl.control.ComponentManager" > > android:process="kaluana.process"> > > <intent-filter> > > <action android:name="kaluana.api.control.IComponentManager"></action> > > </intent-filter> > > </service> > > > </application> > > Second app (this one just register a component to the repository): > > > <activity android:name=".PingPongCompApp" > > android:label="@string/app_name" > > android:process="kaluana.process"> > > <intent-filter> > > <action android:name="android.intent.action.MAIN" /> > > <category android:name="android.intent.category.LAUNCHER" /> > > </intent-filter> > > </activity> > > Third app (this one try to load the component, asking the first to search on > its repository): > > > <activity android:name=".PingPongApp" > > android:label="@string/app_name" > > android:process="kaluana.process"> > > <intent-filter> > > <action android:name="android.intent.action.MAIN" /> > > <category android:name="android.intent.category.LAUNCHER" /> > > </intent-filter> > > </activity> > > Here is my logcat. > > > 05-29 00:26:13.956: DEBUG/AndroidRuntime(285): >>>>>>>>>>>>>> > > AndroidRuntime START <<<<<<<<<<<<<< > > 05-29 00:26:13.956: DEBUG/AndroidRuntime(285): CheckJNI is ON > > 05-29 00:26:14.377: DEBUG/AndroidRuntime(285): --- registering native > > > functions --- > > 05-29 00:26:16.856: DEBUG/dalvikvm(192): GC_EXPLICIT freed 325 objects / > > > 19744 bytes in 123ms > > 05-29 00:26:16.956: DEBUG/PackageParser(60): Scanning package: > > > /data/app/vmdl57494.tmp > > 05-29 00:26:16.987: INFO/PackageParser(60): teste.ping.pong: compat added > > > android.permission.WRITE_EXTERNAL_STORAGE > > android.permission.READ_PHONE_STATE > > 05-29 00:26:17.207: INFO/PackageManager(60): Removing non-system > > > package:teste.ping.pong > > 05-29 00:26:17.207: INFO/ActivityManager(60): Force stopping package > > > teste.ping.pong uid=10036 > > 05-29 00:26:17.537: DEBUG/PackageManager(60): Scanning package > > > teste.ping.pong > > 05-29 00:26:17.537: INFO/PackageManager(60): Package teste.ping.pong > > > codePath changed from /data/app/teste.ping.pong-1.apk to > > /data/app/teste.ping.pong-2.apk; Retaining data and using new > > 05-29 00:26:17.567: INFO/PackageManager(60): /data/app/teste.ping.pong-2.apk > > > changed; unpacking > > 05-29 00:26:17.596: DEBUG/installd(34): DexInv: --- BEGIN > > > '/data/app/teste.ping.pong-2.apk' --- > > 05-29 00:26:18.356: DEBUG/dalvikvm(292): DexOpt: load 105ms, verify 282ms, > > > opt 13ms > > 05-29 00:26:18.385: DEBUG/installd(34): DexInv: --- END > > > '/data/app/teste.ping.pong-2.apk' (success) --- > > 05-29 00:26:18.397: WARN/PackageManager(60): Code path for pkg : > > > teste.ping.pong changing from /data/app/teste.ping.pong-1.apk to > > /data/app/teste.ping.pong-2.apk > > 05-29 00:26:18.397: WARN/PackageManager(60): Resource path for pkg : > > > teste.ping.pong changing from /data/app/teste.ping.pong-1.apk to > > /data/app/teste.ping.pong-2.apk > > 05-29 00:26:18.397: DEBUG/PackageManager(60): Services: > > > teste.examples.pingpong.PingComponentConfig2 > > teste.examples.pingpong.PongComponentConfig2 > > teste.examples.pingpong.PingService2 teste.examples.pingpong.PongService2 > > 05-29 00:26:18.407: INFO/ActivityManager(60): Force stopping package > > > teste.ping.pong uid=10036 > > 05-29 00:26:18.417: DEBUG/PackageManager(60): Activities: > > > teste.ping.pong.PingPongCompApp > > 05-29 00:26:18.696: INFO/installd(34): move /data/dalvik-cache/d...@app > > > @[email protected] -> /data/dalvik-cache/d...@app > > @[email protected] > > 05-29 00:26:18.696: DEBUG/PackageManager(60): New package installed in > > > /data/app/teste.ping.pong-2.apk > > 05-29 00:26:19.055: DEBUG/dalvikvm(60): GC_FOR_MALLOC freed 6599 objects / > > > 460120 bytes in 193ms > > 05-29 00:26:19.287: INFO/ActivityManager(60): Force stopping package > > > teste.ping.pong uid=10036 > > 05-29 00:26:19.595: DEBUG/dalvikvm(118): GC_EXPLICIT freed 12525 objects / > > > 643528 bytes in 214ms > > 05-29 00:26:20.366: DEBUG/dalvikvm(149): GC_EXPLICIT freed 2444 objects / > > > 134416 bytes in 558ms > > 05-29 00:26:20.807: DEBUG/dalvikvm(60): GC_EXPLICIT freed 3846 objects / > > > 214936 bytes in 258ms > > 05-29 00:26:20.817: INFO/installd(34): unlink /data/dalvik-cache/d...@app > > > @[email protected] > > 05-29 00:26:20.926: WARN/RecognitionManagerService(60): no available voice > > > recognition services found > > 05-29 00:26:20.987: DEBUG/AndroidRuntime(285): Shutting down VM > > 05-29 00:26:21.026: DEBUG/dalvikvm(285): Debugger has detached; object > > > registry had 1 entries > > 05-29 00:26:21.066: INFO/AndroidRuntime(285): NOTE: attach of thread 'Binder > > > Thread #3' failed > > 05-29 00:26:21.426: WARN/Searchables(60): No global search activity found > > 05-29 00:26:22.367: DEBUG/AndroidRuntime(297): >>>>>>>>>>>>>> AndroidRuntime > > > START <<<<<<<<<<<<<< > > 05-29 00:26:22.367: DEBUG/AndroidRuntime(297): CheckJNI is ON > > 05-29 00:26:22.776: DEBUG/AndroidRuntime(297): --- registering native > > > functions --- > > 05-29 00:26:24.305: INFO/ActivityManager(60): Starting activity: Intent { > > > act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] > > flg=0x10000000 cmp=teste.ping.pong/.PingPongCompApp } > > 05-29 00:26:24.606: DEBUG/AndroidRuntime(297): Shutting down VM > > 05-29 00:26:24.636: DEBUG/dalvikvm(297): Debugger has detached; object > > > registry had 1 entries > > 05-29 00:26:24.726: INFO/AndroidRuntime(297): NOTE: attach of thread 'Binder > > > Thread #3' failed > > 05-29 00:26:24.836: INFO/ActivityManager(60): Start proc kaluana.process for > > > activity teste.ping.pong/.PingPongCompApp: pid=304 uid=10036 gids={1015} > > 05-29 00:26:26.667: INFO/ARMAssembler(60): generated > > > scanline__00000077:03545404_00000004_00000000 [ 47 ipp] (67 ins) at > > [0x2d3db8:0x2d3ec4] in 9289729 ns > > 05-29 00:26:27.006: INFO/ActivityManager(60): Start proc kaluana.process for > > > service kaluana.app/kaluana.impl.control.ComponentManager: pid=310 uid=10035 > > gids={3003, 1015} > > 05-29 00:26:27.417: DEBUG/ThrottleService(60): finally have imsi - > > > retreiving data > > 05-29 00:26:27.696: DEBUG/ThrottleService(60): onPollAlarm - roaming =false, > > > read =0, written =0, new total =0 > > 05-29 00:26:27.867: INFO/ActivityManager(60): Displayed activity > > > teste.ping.pong/.PingPongCompApp: 3300 ms (total 54634 ms) > > 05-29 00:26:28.555: DEBUG/teste.ping.pong.PingPongCompApp$1(304): > > > Registering components on process: 304 > > 05-29 00:26:28.635: WARN/ActivityManager(60): Unable to start service Intent > > > { act=kaluana.context.IProviderService }: not found > > 05-29 00:26:28.635: DEBUG/kaluana.impl.control.ComponentManager$1(310): > > > Registering component: PingComponent > > 05-29 00:26:28.647: DEBUG/kaluana.impl.control.ComponentRepository(310): > > > Registering components on process: 310 > > 05-29 00:26:28.657: DEBUG/kaluana.impl.control.ComponentRepository(310): > > > [PingComponent] > > 05-29 00:26:28.667: DEBUG/kaluana.impl.control.ComponentManager$1(310): > > > Registering component: PongComponent > > 05-29 00:26:28.667: DEBUG/kaluana.impl.control.ComponentRepository(310): > > > Registering components on process: 310 > > 05-29 00:26:28.667: DEBUG/kaluana.impl.control.ComponentRepository(310): > > > [PongComponent, PingComponent] > > 05-29 00:26:28.676: DEBUG/teste.ping.pong.PingPongCompApp$1(304): Components > > > registered > > 05-29 00:26:28.715: WARN/InputManagerService(60): Starting input on > > > non-focused client > > com.android.internal.view.iinputmethodclient$stub$pr...@43f6ccc8(uid=10019 > > pid=118) > > 05-29 00:26:33.756: DEBUG/dalvikvm(118): GC_EXPLICIT freed 2753 objects / > > > 148728 bytes in 137ms > > 05-29 00:26:46.896: DEBUG/AndroidRuntime(319): >>>>>>>>>>>>>> AndroidRuntime > > > START <<<<<<<<<<<<<< > > 05-29 00:26:46.896: DEBUG/AndroidRuntime(319): CheckJNI is ON > > 05-29 00:26:47.586: DEBUG/AndroidRuntime(319): --- registering native > > > functions --- > > 05-29 00:26:49.076: INFO/ActivityManager(60): Process com.android.mms (pid > > > 182) has died. > > 05-29 00:26:49.215: DEBUG/dalvikvm(192): GC_EXPLICIT freed 167 objects / > > > 11856 bytes in 113ms > > 05-29 00:26:49.307: DEBUG/PackageParser(60): Scanning package: > > > /data/app/vmdl57495.tmp > > 05-29 00:26:49.327: INFO/PackageParser(60): teste.ping.pong: compat added > > > android.permission.WRITE_EXTERNAL_STORAGE > > android.permission.READ_PHONE_STATE > > 05-29 00:26:49.537: INFO/PackageManager(60): Removing non-system > > > package:teste.ping.pong > > 05-29 00:26:49.537: INFO/ActivityManager(60): Force stopping package > > > teste.ping.pong uid=10036 > > 05-29 00:26:49.646: INFO/Process(60): Sending signal. PID: 304 SIG: 9 > > 05-29 00:26:49.777: INFO/WindowManager(60): WIN DEATH: Window{43f3dc08 > > > teste.ping.pong/teste.ping.pong.PingPongCompApp paused=false} > > 05-29 00:26:49.806: INFO/UsageStats(60): Unexpected resume of > > > com.android.launcher while already resumed in teste.ping.pong > > 05-29 00:26:50.036: WARN/InputManagerService(60): Got RemoteException > > > sending setActive(false) notification to pid 304 uid 10036 > > 05-29 00:26:50.616: DEBUG/PackageManager(60): Scanning package > > > teste.ping.pong > > 05-29 00:26:50.626: INFO/PackageManager(60): Package teste.ping.pong > > > codePath changed from /data/app/teste.ping.pong-2.apk to > > /data/app/teste.ping.pong-1.apk; Retaining data and using new > > 05-29 00:26:50.635: INFO/PackageManager(60): /data/app/teste.ping.pong-1.apk > > > changed; unpacking > > 05-29 00:26:50.667: DEBUG/installd(34): DexInv: --- BEGIN > > > '/data/app/teste.ping.pong-1.apk' --- > > 05-29 00:26:51.386: DEBUG/dalvikvm(326): DexOpt: load 108ms, verify 260ms, > > > opt 13ms > > 05-29 00:26:51.416: DEBUG/installd(34): DexInv: --- END > > > '/data/app/teste.ping.pong-1.apk' (success) --- > > 05-29 00:26:51.425: WARN/PackageManager(60): Code path for pkg : > > > teste.ping.pong changing from /data/app/teste.ping.pong-2.apk to > > /data/app/teste.ping.pong-1.apk > > 05-29 00:26:51.425: WARN/PackageManager(60): Resource path for pkg : > > > teste.ping.pong changing from /data/app/teste.ping.pong-2.apk to > > /data/app/teste.ping.pong-1.apk > > 05-29 00:26:51.425: DEBUG/PackageManager(60): Activities: > > > teste.ping.pong.PingPongApp > > 05-29 00:26:51.447: INFO/ActivityManager(60): Force stopping package > > > teste.ping.pong uid=10036 > > 05-29 00:26:51.697: INFO/installd(34): move /data/dalvik-cache/d...@app > > > @[email protected] -> /data/dalvik-cache/d...@app > > @[email protected] > > 05-29 00:26:51.707: DEBUG/PackageManager(60): New package installed in > > > /data/app/teste.ping.pong-1.apk > > 05-29 00:26:52.107: DEBUG/dalvikvm(60): GC_FOR_MALLOC freed 6744 objects / > > > 448448 bytes in 207ms > > 05-29 00:26:52.296: INFO/ActivityManager(60): Force stopping package > > > teste.ping.pong uid=10036 > > 05-29 00:26:52.446: DEBUG/dalvikvm(118): GC_EXPLICIT freed 75 objects / 3128 > > > bytes in 141ms > > 05-29 00:26:53.037: WARN/RecognitionManagerService(60): no available voice > > > recognition services found > > 05-29 00:26:53.336: WARN/Searchables(60): No global search activity found > > 05-29 00:26:53.336: DEBUG/dalvikvm(149): GC_EXPLICIT freed 1518 objects / > > > 77248 bytes in 763ms > > 05-29 00:26:53.656: DEBUG/dalvikvm(60): GC_EXPLICIT freed 4015 objects / > > > 250976 bytes in 240ms > > 05-29 00:26:53.796: INFO/installd(34): unlink /data/dalvik-cache/d...@app > > > @[email protected] > > 05-29 00:26:53.826: DEBUG/AndroidRuntime(319): Shutting down VM > > 05-29 00:26:53.859: DEBUG/dalvikvm(319): Debugger has detached; object > > > registry had 1 entries > > 05-29 00:26:53.916: INFO/AndroidRuntime(319): NOTE: attach of thread 'Binder > > > Thread #3' failed > > 05-29 00:26:54.977: DEBUG/AndroidRuntime(331): >>>>>>>>>>>>>> AndroidRuntime > > > START <<<<<<<<<<<<<< > > 05-29 00:26:54.977: DEBUG/AndroidRuntime(331): CheckJNI is ON > > 05-29 00:26:55.336: DEBUG/AndroidRuntime(331): --- registering native > > > functions --- > > 05-29 00:26:56.856: INFO/ActivityManager(60): Starting activity: Intent { > > > act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] > > flg=0x10000000 cmp=teste.ping.pong/.PingPongApp } > > 05-29 00:26:56.966: DEBUG/AndroidRuntime(331): Shutting down VM > > 05-29 00:26:57.016: DEBUG/dalvikvm(331): Debugger has detached; object > > > registry had 1 entries > > 05-29 00:26:57.056: INFO/AndroidRuntime(331): NOTE: attach of thread 'Binder > > > Thread #3' failed > > 05-29 00:26:57.516: INFO/ActivityManager(60): Start proc kaluana.process for > > > activity teste.ping.pong/.PingPongApp: pid=338 uid=10036 gids={1015} > > 05-29 00:26:59.106: DEBUG/teste.ping.pong.PingPongApp$1(338): Loading > > > components on process:338 > > 05-29 00:26:59.167: WARN/ActivityManager(60): Unable to start service Intent > > > { act=kaluana.context.IProviderService }: not found > > 05-29 00:26:59.176: INFO/kaluana.impl.control.ComponentManager$1(310): > > > loading: teste.examples.pingpong.PingComponent... on process: 310 > > 05-29 00:26:59.188: DEBUG/kaluana.impl.control.ComponentRepository(310): > > > searching for component teste.examples.pingpong.PingComponent... > > 05-29 00:26:59.197: DEBUG/kaluana.impl.control.ComponentRepository(310): > > > Searching for component: teste.examples.pingpong.PingComponent on: [] > > 05-29 00:26:59.197: INFO/kaluana.impl.control.ComponentManager$1(310): > > > loading: teste.examples.pingpong.PongComponent... on process: 310 > > 05-29 00:26:59.207: DEBUG/kaluana.impl.control.ComponentRepository(310): > > > searching for component teste.examples.pingpong.PongComponent... > > 05-29 00:26:59.207: DEBUG/kaluana.impl.control.ComponentRepository(310): > > > Searching for component: teste.examples.pingpong.PongComponent on: [] > > 05-29 00:26:59.527: INFO/ActivityManager(60): Displayed activity > > > teste.ping.pong/.PingPongApp: 2298 ms (total 2298 ms) > > 05-29 00:26:59.886: WARN/InputManagerService(60): Starting input on > > > non-focused client > > com.android.internal.view.iinputmethodclient$stub$pr...@43f6ccc8(uid=10019 > > pid=118) > > 05-29 00:27:05.157: DEBUG/dalvikvm(192): GC_EXPLICIT freed 118 objects / > > > 9208 bytes in 95ms > > 05-29 00:27:10.255: DEBUG/dalvikvm(214): GC_EXPLICIT freed 2273 objects / > > > 157568 bytes in 187ms > > 05-29 00:27:15.215: DEBUG/dalvikvm(274): GC_EXPLICIT freed 792 objects / > > > 56608 bytes in 142ms > > thanks in advance
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

