droidVncServer icon indicating copy to clipboard operation
droidVncServer copied to clipboard

An error regarding missing daemon file

Open ghost opened this issue 10 years ago • 2 comments

Hi everyone,

The project has been built successfully at my site, but the application could not work properly on my Android device due to an error about missing daemon file. Can you help me with this?

The log shows as following:

04-08 02:43:54.139: V/VNCserver(960): ServerConnection started 04-08 02:43:54.179: V/VNCserver(960): Listening... 04-08 02:43:54.189: I/Choreographer(960): Skipped 47 frames! The application may be doing too much work on its main thread. 04-08 02:43:54.240: I/Ads(960): adRequestUrlHtml:

04-08 02:43:54.879: I/Choreographer(960): Skipped 65 frames! The application may be doing too much work on its main thread. 04-08 02:43:54.899: D/gralloc_goldfish(960): Emulator without GPU emulation detected. 04-08 02:43:58.749: I/Ads(960): Received ad url: <url: "http://googleads.g.doubleclick.net:80/mads/gma?preqs=0&session_id=1430801773823530655&u_sd=2&seq_num=1&u_w=384&msid=org.onaips.vnc&cap=m%2Ca&js=afma-sdk-a-v6.0.1&cipa=0&format=320x50_mb&net=ed&app_name=58.android.org.onaips.vnc&hl=en&u_h=592&carrier=310260&ptime=0&u_audio=4&u_so=p&output=html&region=mobile_app&u_tz=0&client_sdk=1&ex=1&slotname=a14c45a1d8a1817&caps=inlineVideo_interactiveVideo_mraid1_th_autoplay_mediation_sdkAdmobApiForAds_di&isul=32&blob=ANWCwl1SJZa-pr9tQFhBTxjk_aK0Ksyi3K7zaQ8b0MVd_zxYG3LM7Lz9bzjRtFfAuAyV4kH52jQ50DAHsZDRngFL34xnxsxZznZe8Oybq8v28D6Ctk6LZc6SEE7QXHUcs3IIU-hxHqGHwX4gLmmu0LfkrfTTriNdoNlRfHqLEVaekybSNrksHATirgi_gqA&et=147&jsv=80&urll=664" type: "admob" afmaNotifyDt: "null"> 04-08 02:44:01.209: I/Ads(960): onReceiveAd() 04-08 02:44:01.559: D/TilesManager(960): Starting TG #0, 0x2a49ba50

04-08 02:44:08.029: V/VNCserver(960): Error! Could not find daemon file, /data/data/org.onaips.vnc/lib/libandroidvncserver.so

04-08 02:44:08.892: I/Choreographer(960): Skipped 41 frames! The application may be doing too much work on its main thread. 04-08 02:44:10.349: V/VNCserver(960): Could not start server :(

Thank you,

ghost avatar Apr 08 '14 02:04 ghost

Looks like missing dependencies. As a quick test, you can download droid-VNC-server.apk file, rename it to droid-VNC-server.zip, unpack this file. In /lib folder you should find libandroidvncserver.so compiled lib for every supported architecture. You can add it to your project and try to build again. This worked for me for commit: ac9c26d3c12396750c969e8e97c5c78e756a1dce

Another solution is to use commit: f95fa6bc44d4302acb2233d3c16f718d843ca33d So there is no such a problem at all for me.

Hope it helps

krossovochkin avatar Sep 09 '14 06:09 krossovochkin

I am also getting the same problem "Error! Could not find daemon file, /data/data/org.onaips.vnc/lib/libandroidvncserver.so". I follwed your solution but it didn't work for me is there any other solution.

naveen5886 avatar Jun 15 '15 11:06 naveen5886