Update android app from editor not worked

I create new empty project.
I install in on device.
In editor i see my phone as target
I try build.

Editor logs
INFO:ENGINE: Defold Engine 1.2.149 (34bb960)
FATAL:ENGINE: Unable to load project file: 'http://192.168.1.139:58034/build/game.projectc' (-1)
ERROR:DLIB: ../src/dlib/socket.cpp( 94 ): SOCKET: Unknown result code 1

WARNING:DLIB: Failed to send unannounce message (-1000)
INFO:DLIB: SSDP: Done on address 10.17.10.6
INFO:DLIB: SSDP: Done on address 10.142.108.191
INFO:DLIB: SSDP: Done on address 192.168.1.122
LOGCAT
2019-03-25 22:42:52.544 27605-27605/com.example.todo W/NativeThread: type=1400 audit(0.0:60930): avc: denied { ioctl } for path="socket:[1975580]" dev="sockfs" ino=1975580 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0
2019-03-25 22:42:55.357 27605-27605/com.example.todo V/threaded_app: Pause: 0xead62ca0
2019-03-25 22:42:55.369 27605-27645/com.example.todo V/threaded_app: activityState=13
2019-03-25 22:42:55.369 27605-27645/com.example.todo V/glfw-android: handleCommand: APP_CMD_PAUSE
2019-03-25 22:42:55.393 27605-27605/com.example.todo V/threaded_app: SaveInstanceState: 0xead62ca0
2019-03-25 22:42:55.393 27605-27645/com.example.todo V/glfw-android: handleCommand: APP_CMD_SAVE_STATE
2019-03-25 22:42:55.393 27605-27645/com.example.todo V/threaded_app: APP_CMD_SAVE_STATE
2019-03-25 22:42:55.414 27605-27605/com.example.todo V/threaded_app: Stop: 0xead62ca0
2019-03-25 22:42:55.494 27605-27645/com.example.todo V/threaded_app: activityState=14
2019-03-25 22:42:55.494 27605-27645/com.example.todo V/glfw-android: handleCommand: APP_CMD_STOP
2019-03-25 22:42:55.815 27605-27605/com.example.todo V/threaded_app: NativeWindowDestroyed: 0xead62ca0 -- 0x77172008
2019-03-25 22:42:55.815 27605-27645/com.example.todo V/threaded_app: APP_CMD_TERM_WINDOW
2019-03-25 22:42:55.815 27605-27645/com.example.todo V/glfw-android: handleCommand: APP_CMD_TERM_WINDOW
2019-03-25 22:42:55.815 27605-27645/com.example.todo V/glfw-android: destroy_gl_surface
2019-03-25 22:42:55.827 27605-27645/com.example.todo V/threaded_app: APP_CMD_TERM_WINDOW
2019-03-25 22:42:55.832 27605-27605/com.example.todo V/threaded_app: WindowFocusChanged: 0xead62ca0 -- 0
2019-03-25 22:42:55.927 27605-27645/com.example.todo V/glfw-android: handleCommand: APP_CMD_LOST_FOCUS
2019-03-25 22:42:58.821 27605-27605/com.example.todo V/threaded_app: Start: 0xead62ca0
2019-03-25 22:42:58.822 27605-27645/com.example.todo V/threaded_app: activityState=10
2019-03-25 22:42:58.822 27605-27645/com.example.todo V/glfw-android: handleCommand: APP_CMD_START
2019-03-25 22:42:58.822 27605-27605/com.example.todo V/threaded_app: Resume: 0xead62ca0
2019-03-25 22:42:58.922 27605-27645/com.example.todo V/threaded_app: activityState=11
2019-03-25 22:42:58.922 27605-27645/com.example.todo V/glfw-android: handleCommand: APP_CMD_RESUME
2019-03-25 22:42:58.945 27605-27605/com.example.todo V/threaded_app: NativeWindowCreated: 0xead62ca0 -- 0x77172008
2019-03-25 22:42:59.032 27605-27645/com.example.todo V/threaded_app: APP_CMD_INIT_WINDOW
2019-03-25 22:42:59.032 27605-27645/com.example.todo V/glfw-android: handleCommand: APP_CMD_INIT_WINDOW
2019-03-25 22:42:59.032 27605-27645/com.example.todo V/glfw-android: create_gl_surface
2019-03-25 22:42:59.034 27605-27605/com.example.todo V/threaded_app: WindowFocusChanged: 0xead62ca0 -- 1
2019-03-25 22:42:59.034 27605-27645/com.example.todo V/glfw-android: handleCommand: APP_CMD_GAINED_FOCUS
2019-03-25 22:42:59.147 27605-27605/com.example.todo W/NativeThread: type=1400 audit(0.0:60936): avc: denied { ioctl } for path="socket:[1972757]" dev="sockfs" ino=1972757 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0
2019-03-25 22:42:59.147 27605-27605/com.example.todo I/chatty: uid=10256(com.example.todo) identical 1 line
2019-03-25 22:42:59.147 27605-27605/com.example.todo W/NativeThread: type=1400 audit(0.0:60938): avc: denied { ioctl } for path="socket:[1972757]" dev="sockfs" ino=1972757 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0
2019-03-25 22:42:59.396 27605-27605/com.example.todo V/threaded_app: WindowFocusChanged: 0xead62ca0 -- 0
2019-03-25 22:42:59.410 27605-27645/com.example.todo V/glfw-android: handleCommand: APP_CMD_LOST_FOCUS
2019-03-25 22:43:00.420 27605-27605/com.example.todo V/threaded_app: WindowFocusChanged: 0xead62ca0 -- 1
2019-03-25 22:43:00.435 27605-27645/com.example.todo V/glfw-android: handleCommand: APP_CMD_GAINED_FOCUS
2019-03-25 22:43:00.467 27605-27645/com.example.todo E/defold: ERROR:DLIB: ../src/dlib/socket.cpp( 94 ): SOCKET: Unknown result code 1
2019-03-25 22:43:00.468 27605-27645/com.example.todo W/defold: WARNING:DLIB: Failed to send announce message (-1000)
2019-03-25 22:43:00.468 27605-27645/com.example.todo W/defold: WARNING:DLIB: Failed to send announce message (-15)
2019-03-25 22:43:01.135 27605-27605/com.example.todo V/threaded_app: Pause: 0xead62ca0
2019-03-25 22:43:01.151 27605-27645/com.example.todo V/threaded_app: activityState=13
2019-03-25 22:43:01.151 27605-27645/com.example.todo V/glfw-android: handleCommand: APP_CMD_PAUSE
2019-03-25 22:43:01.242 27605-27605/com.example.todo V/threaded_app: WindowFocusChanged: 0xead62ca0 -- 0
2019-03-25 22:43:01.242 27605-27645/com.example.todo V/glfw-android: handleCommand: APP_CMD_LOST_FOCUS
2019-03-25 22:43:01.244 27605-27605/com.example.todo V/threaded_app: SaveInstanceState: 0xead62ca0
2019-03-25 22:43:01.374 27605-27645/com.example.todo V/glfw-android: handleCommand: APP_CMD_SAVE_STATE
2019-03-25 22:43:01.374 27605-27645/com.example.todo V/threaded_app: APP_CMD_SAVE_STATE
2019-03-25 22:43:01.374 27605-27605/com.example.todo V/threaded_app: Stop: 0xead62ca0
2019-03-25 22:43:01.501 27605-27645/com.example.todo V/threaded_app: activityState=14
2019-03-25 22:43:01.502 27605-27645/com.example.todo V/glfw-android: handleCommand: APP_CMD_STOP
2019-03-25 22:43:01.509 27605-27605/com.example.todo V/threaded_app: NativeWindowDestroyed: 0xead62ca0 -- 0x77172008
2019-03-25 22:43:01.608 27605-27645/com.example.todo V/threaded_app: APP_CMD_TERM_WINDOW
2019-03-25 22:43:01.608 27605-27645/com.example.todo V/glfw-android: handleCommand: APP_CMD_TERM_WINDOW
2019-03-25 22:43:01.608 27605-27645/com.example.todo V/glfw-android: destroy_gl_surface
2019-03-25 22:43:01.610 27605-27645/com.example.todo V/threaded_app: APP_CMD_TERM_WINDOW
2019-03-25 22:45:00.011 27605-27605/com.example.todo V/threaded_app: Start: 0xead62ca0
2019-03-25 22:45:00.011 27605-27645/com.example.todo V/threaded_app: activityState=10
2019-03-25 22:45:00.011 27605-27645/com.example.todo V/glfw-android: handleCommand: APP_CMD_START
2019-03-25 22:45:00.012 27605-27605/com.example.todo V/threaded_app: Resume: 0xead62ca0
2019-03-25 22:45:00.112 27605-27645/com.example.todo V/threaded_app: activityState=11
2019-03-25 22:45:00.112 27605-27645/com.example.todo V/glfw-android: handleCommand: APP_CMD_RESUME
2019-03-25 22:45:00.154 27605-27605/com.example.todo V/threaded_app: NativeWindowCreated: 0xead62ca0 -- 0x77172008
2019-03-25 22:45:00.219 27605-27645/com.example.todo V/threaded_app: APP_CMD_INIT_WINDOW
2019-03-25 22:45:00.219 27605-27645/com.example.todo V/glfw-android: handleCommand: APP_CMD_INIT_WINDOW
2019-03-25 22:45:00.219 27605-27645/com.example.todo V/glfw-android: create_gl_surface
2019-03-25 22:45:00.223 27605-27605/com.example.todo V/threaded_app: WindowFocusChanged: 0xead62ca0 -- 1
2019-03-25 22:45:00.231 27605-27645/com.example.todo V/glfw-android: handleCommand: APP_CMD_GAINED_FOCUS
2019-03-25 22:45:00.339 27605-27645/com.example.todo I/defold: INFO:DLIB: SSDP: Started on address 10.17.10.6
2019-03-25 22:45:00.335 27605-27605/com.example.todo W/NativeThread: type=1400 audit(0.0:60980): avc: denied { ioctl } for path="socket:[1972918]" dev="sockfs" ino=1972918 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0
2019-03-25 22:45:00.340 27605-27645/com.example.todo I/defold: INFO:DLIB: SSDP: Done on address 10.37.11.6
2019-03-25 22:45:00.340 27605-27645/com.example.todo I/defold: INFO:DLIB: SSDP: Started on address 192.168.1.122
2019-03-25 22:45:00.340 27605-27645/com.example.todo I/defold: INFO:DLIB: SSDP: Done on address 192.168.43.1
2019-03-25 22:45:00.335 27605-27605/com.example.todo W/NativeThread: type=1400 audit(0.0:60981): avc: denied { ioctl } for path="socket:[1972918]" dev="sockfs" ino=1972918 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0
2019-03-25 22:45:00.340 27605-27645/com.example.todo E/defold: ERROR:DLIB: ../src/dlib/socket.cpp( 94 ): SOCKET: Unknown result code 1
2019-03-25 22:45:00.340 27605-27645/com.example.todo W/defold: WARNING:DLIB: Failed to send announce message (-1000)
2019-03-25 22:45:04.338 27605-27605/com.example.todo W/NativeThread: type=1400 audit(0.0:60984): avc: denied { ioctl } for path="socket:[1979756]" dev="sockfs" ino=1979756 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0
2019-03-25 22:45:08.357 27605-27605/com.example.todo W/NativeThread: type=1400 audit(0.0:60989): avc: denied { ioctl } for path="socket:[1981478]" dev="sockfs" ino=1981478 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0
2019-03-25 22:45:12.373 27605-27605/com.example.todo W/NativeThread: type=1400 audit(0.0:60993): avc: denied { ioctl } for path="socket:[1980819]" dev="sockfs" ino=1980819 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0
2019-03-25 22:45:16.373 27605-27605/com.example.todo W/NativeThread: type=1400 audit(0.0:60997): avc: denied { ioctl } for path="socket:[1979382]" dev="sockfs" ino=1979382 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0
2019-03-25 22:45:20.373 27605-27605/com.example.todo W/NativeThread: type=1400 audit(0.0:61002): avc: denied { ioctl } for path="socket:[1981488]" dev="sockfs" ino=1981488 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0
2019-03-25 22:45:20.376 27605-27605/com.example.todo I/chatty: uid=10256(com.example.todo) identical 1 line
2019-03-25 22:45:20.376 27605-27605/com.example.todo W/NativeThread: type=1400 audit(0.0:61004): avc: denied { ioctl } for path="socket:[1981488]" dev="sockfs" ino=1981488 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0
2019-03-25 22:45:24.372 27605-27605/com.example.todo W/NativeThread: type=1400 audit(0.0:61006): avc: denied { ioctl } for path="socket:[1981497]" dev="sockfs" ino=1981497 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0
2019-03-25 22:45:24.376 27605-27605/com.example.todo I/chatty: uid=10256(com.example.todo) identical 1 line
2019-03-25 22:45:24.376 27605-27605/com.example.todo W/NativeThread: type=1400 audit(0.0:61008): avc: denied { ioctl } for path="socket:[1981497]" dev="sockfs" ino=1981497 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0
2019-03-25 22:45:28.392 27605-27605/com.example.todo W/NativeThread: type=1400 audit(0.0:61010): avc: denied { ioctl } for path="socket:[1979389]" dev="sockfs" ino=1979389 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0
2019-03-25 22:45:30.345 27605-27645/com.example.todo E/defold: ERROR:DLIB: ../src/dlib/socket.cpp( 94 ): SOCKET: Unknown result code 1
2019-03-25 22:45:30.345 27605-27645/com.example.todo W/defold: WARNING:DLIB: Failed to send announce message (-1000)
2019-03-25 22:45:32.154 27605-27645/com.example.todo V/glfw-android: _glfwPlatformCloseWindow
2019-03-25 22:45:32.155 27605-27645/com.example.todo V/glfw-android: destroy_gl_surface
2019-03-25 22:45:32.164 27605-27645/com.example.todo D/push: Push stopped
2019-03-25 22:45:32.165 27605-27645/com.example.todo I/defold: INFO:ENGINE: Defold Engine 1.2.149 (34bb960)

Is this using a wifi or a wired connection?

Pc is wired. Phone is wifi

Could you try with the phone connected using USB to see if it makes any difference?

2 Likes

Editor don’t see device

USB Tethering is enabled?

1 Like

Tethering is internet hotspot from mobile? I use it

Yes, for sharing your phones internet connection using USB.

A running debug engine on device should show up in the editor if USB Tethering is enabled and the device is connected using USB to your PC (Win or Linux).

1 Like