user1050755
user1050755

Reputation: 11691

Netbeans, android-maven-plugin and using apklib/aar dependencies

I built my own android libs in aar/apklib format and I am now looking for a way to use them in the final apk project within netbeans without breaking the maven build. Problem is: I need to include the produced lib jars in order to make netbeans happy about finding imports for the libs, however that breaks the maven build because dex finds duplicate build configs because the libs have been specified twice in pom.xml (once as apklib/aar and once as jar).

Upvotes: 1

Views: 583

Answers (1)

user1050755
user1050755

Reputation: 11691

Setting the .jar dependency to provided scope fixes the issue.

Upvotes: 1

Related Questions