Questions tagged [apklib]

33 questions
2
votes
1 answer

Creating apklib for non-maven Android library project fails

I have an android lib (customized, integrated zxing barcode scanner lib) that's not built with maven. So I try to use mvn install:install-file to create the apklib to my local maven repository. Therefore I run: mvn install:install-file…
Mathias Conradt
  • 28,420
  • 21
  • 138
  • 192
2
votes
3 answers

How to generate .apklib and .apk in same maven build?

So I am using Android Maven Plugin to generate apklib snapshot for one of my library project. But the library project is also self sufficient to run on its own so I am thinking that may be we should generate .apklib and .apk both at the same time…
lazyguy
  • 963
  • 1
  • 13
  • 33
1
vote
1 answer

Why does build fail due to missing apklib dependency with custom local repository?

I have a Scala/Android project that I compile with SBT 0.12.4. It works. I can declare a new repository and new apklib dependency: resolvers += "local maven" at "file:./lib/" libraryDependencies += apklib("com.sbstrm" % "appirater" % "1.3.1") I've…
Mikael
  • 2,355
  • 1
  • 21
  • 45
1
vote
1 answer

Android project using Maven with AAR for not having Eclipse errors

I have an android project that uses several libraries: play-services for analytics, appcompat-v7 for the actionar, and others... (for ads, in-app...) I used to use APKLIB packaging and I was able to generate the APK of my project, but having…
nano
  • 2,511
  • 4
  • 25
  • 42
1
vote
1 answer

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…
user1050755
  • 11,218
  • 4
  • 45
  • 56
1
vote
1 answer

Supporting android library projects with maven

I am writing an android library project and would like to add the support for maven. My library project pom file looks like this:
Jane
  • 43
  • 1
  • 4
1
vote
2 answers

Maven + android R.java and BuildConfig.java duplicate class

I searched for the solution on the internet and did everything which is mentioned but nothing did solve my problem. Here is my pom.xml
Mustafa Güven
  • 15,526
  • 11
  • 63
  • 83
1
vote
0 answers

How to deal with inner dependencies for apklib in maven (Android project)?

I faced following issue. Sometimes I want to add dependency to apklib in my Android project, but if this library has own dependencies that are not declared in its own pom file I get the error. For example
olegflo
  • 1,105
  • 3
  • 17
  • 26
1
vote
0 answers

Android apklib: Doublicate R.java

I have an Android project with a dependency to a apklib project. In the apklib project a R.java file will be generated and packed into the result apklib file. The Android project unzip it via android plugin and rebuild all code. In consequence of…
user1770962
  • 211
  • 1
  • 2
  • 11
1
vote
0 answers

Apklib type of library

I use Android Studio with gradle and i need to add library,that has apklib type. How i can convert it to aar type? Because, when i run my program - it fails. This is my dependency for my library: compile 'com.squareup:android-times-square:1.0.3'
user3134124
  • 387
  • 4
  • 16
1
vote
1 answer

How can I add an apklib dependency to your android maven project?

I have an android project which I am developing on eclipse and building with maven. I wanted to include a lib (apklib) in it, and similarly to other includes, I have tried appending the dependency to my pom in the following way:
Thomas
  • 2,751
  • 5
  • 31
  • 52
0
votes
1 answer

Android Maven Project in Eclipse with apklib

I am trying to add google play services to existing android maven project using jar and apklib. The project does compile using mvn clean install, but in Eclipse i am getting this error: Error: No resource found that matches the given name (at…
allo86
  • 946
  • 1
  • 9
  • 23
0
votes
1 answer

m2e-android and eclipse kepler/adt latest: apklib classes and resources not included in final apk

Anyone got any idea why that could be? I did "properties -> android -> add lib" and also added the apklib project to the build path. It is also imported to the workspace and opened and built. it really drives me nuts because the v7 support libs are…
user1050755
  • 11,218
  • 4
  • 45
  • 56
0
votes
1 answer

Does Android Maven apklib include its own SDK in the packaging?

When I configured my apklib I included: android android 4.0_r3 provided in the dependencies list. If I…
JohnyTex
  • 3,323
  • 5
  • 29
  • 52
0
votes
1 answer

android-maven-plugin packaging failed with hierarchical project and apklib dependency

I have main root project let's call it as A where is pom.xml with list of all modules and type of packaging pom
Robert
  • 1,272
  • 4
  • 21
  • 40