I'm setting up an Android-based Amazon AWS SimpleDB client in Eclipse (just started). I'm getting an error on the line:
import com.amazonaws.services.simpledb.AmazonSimpleDBClient;
that says "The import com.amazonaws cannot be resolved."
I've already installed the AWS SimpleDB jar file in the lib directory of my project, and added the lib directory to the build path of my project.
How do I get Eclipse to resolve the name in the import statement? Thanks.
I found the answer to my problem. I think I made an error when adding the lib directory to my build path.
Here's the right way to do it:
Right click Project -> select Properties -> Java Build Path -> Libraries and click Add JARs. Then select the JARs added to the lib directory. Thanks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With