I need your support to remove this error which is keep on coming while I'm using uiautomatorviewer.bat file for inspecting elements. It is working for only static page of an application. When i was taking screenshot of a page where numeric value is display & it is changing dynamically it throws same error again.
Error :
Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist!
Dynamic Page Image
Following things i have already tried but it didn't work :
Stop Appium server in the background.
Disconnected mobile device & connect it back.
Close the uiautomatorviewer.bat file & restart it again.
Please guys help me!!
Thanks in advance.
Related
I have stoppped appium server and then I tried to capture object through UIAutomatorViewer, but still it throws the error as "Unexpected error while obtaining UI Hierarchy". I have tried the following options.
Stop Appium server in the background.
Disconnected mobile device & connect it back.
3.close the uiautomatorviewer.bat file & restart it again.
Restarted the device
a. Turn on USB DEBUGGING
b. Enable view attribute inspection
c. Select the debug app option and choose io.appium.uiautomator2.server
adb devices to recognise my device.
I have exit and restarted uiautomatorviewer
After tried all the above options, still I get the same error.
Please help to get this issue resolved.
UIAutomatorviewer Error
Anyone encountered this already?. I downloaded the sample code for IOS from github. I replaced the app id with my own, that i got after whitelisting my device. I ran the app and selected the device and media to cast. Soon after I hit the cast button, I am getting the following error....
Failed to start application (com.google.GCKFramework.GCKApplicationSessionError); caused by: entity not found (com.google.GCKFramework.GCKNetworkRequestError).
Found solution for this one. Once I enabled the Chromecast to send it's serial number to Google, the error went away (for future reference). It can be done in settings.
Source: https://github.com/googlecast/cast-ios-demo-player/issues/5
I'm working on sending message through UDP. However, I've been trapped in the problem about 'binding port'.
When I built the project on iOS simulator first time, nothing strange happened. Everything was fine.
But when I built the project second time. I got an error message from terminal when the app tried to bind port.
The message goes like this "Error Domain=NSPOSIXErrorDomain Code=48 "Address already in use" UserInfo=0x767c830 {NSLocalizedFailureReason=Error in bind() function, NSLocalizedDescription=Address already in use}"
What's confuses me is that the error didn't appear when I run my app on iPad.
I guess that maybe it is for the reason that I didn't close the socket. But why it goes correctly on iPad?
Hope someone could solve this. Thx!
Current head of GDAAsyncUdpSocket does not (also) set SO_REUSEPORT (it just does ADDRESS, which is quite enough for TCP).
I just popped in a quick fix:
https://github.com/dirkx/CocoaAsyncSocket/commit/5ec8c83d59ecb754824f706198eb62e29961c1be
https://github.com/dirkx/CocoaAsyncSocket
and it should get fixed upstream too:
https://github.com/robbiehanson/CocoaAsyncSocket/pull/159
Thanks,
Dw.
I've started a project in PhoneGap which will utilise Sencha Touch 2.
I tried to change the app name from 'app', since I've heard that conflicts with PhoneGap on Android devices. I altered app.js to main.js and that worked, but then I tried changing the Ext.application.name. All I got was a white screen after the loading splash, even with the old name Sencha. Debug console shows nothing at all happening, and the document <body> was empty. This happens with both sencha-touch-all.js and sencha-touch-all-debug.js. Test device is an iPad 1G running iOS 4.3.5.
Aside: To debug this issue, I set up weinre on my Mac and added the appropriate <script> tag to index.html. After making that change, though, the app didn't even launch. It hung on the PhoneGap splash png and I got this message from gdb-remote:
error: failed to launch '<app URI>' -- failed to send the qLaunchSuccess packet
The only reference to that message besides its definition in gdb-remote source that I can find is here, and it's unrelated. I managed to get the issue to go away by restarting the iPad and removing build intermediates.
SOLVED: The issue here was a missing value in the Ext.application definition (key with no associated value), so the whole app definition probably tanked as a result of that. Hence blank screen.
I have been working with the streaming media start to finish project,which i got from
http://supportforums.blackberry.com/t5/Java-Development/Streaming-media-Start-to-finish/ta-p/488255 ...
the project has been working fine till i put in a Playcontrol it worked but when i click on play it gives an error,i had to clean the simulator because it gave me this error i.e
Error inside JVM: Access violation reading from 0x0000000C.
On fixing that by cleaning the simulator i ran the streaming media code and it complied perfectly but when i click on the app itself it gives a NullPointerException.
Could this be from the PlayerClass i implemented CustomButtons or from the simulator itself? i can post the PlayerClass Code here if anyone offers to assist
Please i need help!
Thanks