Can't compile IntelliJ Android app with references to Maven libraries -


i'm new intellij. have android project i'm trying use bitcoinj. in intellij, go file | project structure... | new project library | maven..., search "bitcoinj" (which found "com.google:bitcoinj:0.11.1") , add it, adds android module's dependencies tab.

however, when use "import com.google.bitcoin.core" in android app's source, following compiler error:

error:(5, 1) java: package com.google.bitcoinj not exist

i same behavior no matter library add. being new intellij, i'm missing simple, haven't been able find through google searches.

you need add dependency pom file of project. way add dependencies maven project. intellij looks @ maven poms in order build project.

what described opens other project in ide right next project absolutely no relation it.

see https://code.google.com/p/bitcoinj/wiki/usingmaven

as not on mvnrepo, following: http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html


Comments

Popular posts from this blog

jQuery Mobile app not scrolling in Firefox -

c++ - How to add Crypto++ library to Qt project -

php array slice every 2th rule -