I'm trying to integrare ranorex in my android application. I added Manifest declarations:
<meta-data android:name="RxVersion" android:value="5.0.0" />
<meta-data android:name="RxLibVersion" android:value="1.7.0" />
And
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.INJECT_EVENTS" />
Also I created a BaseActivity class witch omResume, onPause and dispatchKeyEvent methods. Each of activity in my app extending this BaseActivity.
When I'm starting my app I get an error:
Code: Select all
01-29 14:48:17.459 3361-3405/pl.XXX I/System.out﹕ ------------------------------------------------------|
01-29 14:48:17.459 3361-3405/pl.XXX I/System.out﹕ E: Service Intent must be explicit: Intent { act=com.ra
01-29 14:48:17.459 3361-3405/pl.XXX I/System.out﹕ norex.services.deviceservice.RanorexIntentService (has
01-29 14:48:17.459 3361-3405/pl.XXX I/System.out﹕ extras) }
01-29 14:48:17.459 3361-3405/pl.XXX I/System.out﹕ ------------------------------------------------------|
Code: Select all
3361-3361/pl.XXX E/ActivityThread﹕ Activity pl.XXX.activities.MainActivity has leaked IntentReceiver com.ranorex.proxy.IntentServiceProxy$PortRequestResponseReceiver@1f785d22 that was originally registered here. Are you missing a call to unregisterReceiver()?
android.app.IntentReceiverLeaked: Activity pl.XXX.activities.MainActivity has leaked IntentReceiver com.ranorex.proxy.IntentServiceProxy$PortRequestResponseReceiver@1f785d22 that was originally registered here. Are you missing a call to unregisterReceiver()?
at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:898)
at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:699)
at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1637)
at android.app.ContextImpl.registerReceiver(ContextImpl.java:1617)
at android.app.ContextImpl.registerReceiver(ContextImpl.java:1611)
at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:488)
at com.ranorex.proxy.IntentServiceProxy.RequestPort(Unknown Source)
at com.ranorex.android.RanorexAndroidAutomation.e(Unknown Source)
at com.ranorex.android.RanorexAndroidAutomation.d(Unknown Source)
at com.ranorex.android.RanorexAndroidAutomation$AsyncPrepareCommunicationChannelTask.run(Unknown Source)
at java.lang.Thread.run(Thread.java:818)
Best Regards
MaciejK