Got the error message "Could not connect: No such file or directory" wtih g_bus_get_sync
To reproduce
Steps to reproduce the behavior:
-
cross compile dbus-1.8.0 for android.
-
put the mandatory files to android file system.
-
exec from adb shell : dbus-daemon --system (without
-
cross compile the following test code for android.
GError *error = NULL;con = g_bus_get_sync(G_BUS_TYPE_SYSTEM, NULL, &error); if(con == NULL) { g_print("%s\n",error->message); return 1; }
-
exec from adb shell for the test code.
-
Got the error message "Could not connect: No such file or directory"
Expected result
Expect to get the dbus connection for g_dbus_connection_call.
A clear and concise description of what you expected to happen.
Actual result
A clear and concise description of what the bug is.
Additional context
Add any other context about the problem here.