Question: i have an error in the following code when i tried to compile this:

```
void        Server::accept(void)
{
    Network::ptr connection = Network::initialize(this->my_acceptor.get_io_service());
    this->my_acceptor.async_accept(connection->socket(), bind(&Server::endCmd, this, *connection, placeholders::error));
}

void        Server::endCmd(Network connection, const boost::system::error_code& error)
{
    if (!error)
        {
            std::cout << "success!" << std::endl;
            connection.start();
            this->accept();
        }
}

```

VC++ 2010 tell me the following error : 

```
Error   1   error C2248: 'boost::asio::basic_io_object<IoObjectService>::basic_io_object' : cannot access private member declared in class 'boost::asio::basic_io_object<IoObjectService>'

```

i know this error come to this line because when i comment it, the error disapear...
After some research, it's probably with the socket's class when i call `connection->getSocket()` but this function returns a ref to an instance of socket : 

```
tcp::socket& Network::socket(void)
{
    return (this->my_socket);
}

```

so i didn't find any solution on the web :(

Anyone have an idea plz ?

Answer: 
Look for **bin** on your application. Probably there is a folder called **res/crunch**, so search for your drawable that isn't refreshing and refresh manually.
In my case, I import the wrong 'R' so that eclipse couldn't find the right image file.
try change this: import android.R; => import com.example.myfirstapp.R;