I am working on a currency wallet app. I have downloaded code from here. I have imported this code in my eclipse, also i have inserted some libs(.jar files). I have downloaded maven code for java from here.
Now in android project in eclipse there are some compile time errors found like. The import com.google.bitcoin.params cannot be resolved and so on.
So please can anybody help me to build bitcoin project without error ?
Where to found following packges and How to import following packages ?
**The import javax.annotation cannot be resolved
The import org.slf4j cannot be resolved
The import com.google cannot be resolved
The import de.schildbach.wallet_test.R cannot be resolved
The import org.bitcoinj cannot be resolved
The import ch cannot be resolved`enter code here`
The import org.spongycastle cannot be resolved**
Thank you in advance.
You need to get each of those libraries and add them to your project:
Put the JAR file in the /libs folder in the root of your project (create the libs folder if it doesn't exist)
If necessary, right-click the JAR file and select Build Path → Add to Build Path
If necessary, clean the project (Project → Clean)
For javax.annotation, for example, you would use this libarary:
http://mvnrepository.com/artifact/com.google.code.findbugs/jsr305
Just click the latest version number and then click Download.
If you have a dependency that you can't find a JAR file for, you can download the source and add that project as a library dependency for your project: https://stackoverflow.com/a/8281477/399105
More resources: