Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get this working with Android Studio #5

Closed
alistairrutherford opened this issue Sep 13, 2013 · 6 comments
Closed

Can't get this working with Android Studio #5

alistairrutherford opened this issue Sep 13, 2013 · 6 comments

Comments

@alistairrutherford
Copy link

No matter what I try I cannot seem to get rid of the error

Gradle: : duplicate files during packaging of APK

I have tried excluding the orm-lite classes from the components i.e.

compile 'com.j256.ormlite:ormlite-android:4.47'

compile 'com.j256.ormlite:ormlite-core:4.47'

compile group: 'com.tojc.ormlite.android', name: 'ormlite-content-provider-library', version: '1.0.3' exclude group: 'com.j256.ormlite'

compile group: 'com.tojc.ormlite.android', name: 'ormlite-content-provider-compiler', version: '1.0.3' exclude group: 'com.j256.ormlite'

But to no avail. If you create a dummy application using android studio and add these dependancies you will be able to recreate the error.

@jakenjarvis
Copy link
Owner

I have not ever used a AndroidStudio still. Near future, I would try it.

@alistairrutherford
Copy link
Author

I figured it out. Not sure if my comment got posted it not. The android
manifest XML file in the component is clashing with the one in the client
project. The apklib setting in your sample project handles this but there
does not appear to be an equivilant in gradle. Oh well.

Best Regards
Alistair
On 14 Sep 2013 14:21, "Jaken" notifications@github.com wrote:

I have not ever used a AndroidStudio still. Near future, I would try it.


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-24445417
.

@jakenjarvis
Copy link
Owner

Since I have generated a ormlite-content-provider-library-1.0.3.jar in Maven, you will be able to use it.
http://repo1.maven.org/maven2/com/tojc/ormlite/android/ormlite-content-provider-library/1.0.3/
That you use this or is difficult in the AndroidStudio?

My native language is Japanese. Support of a foreign language is not sufficient.
I'm using a machine translation. Please write in English polite. Ability of my English is not high. XD

@alistairrutherford
Copy link
Author

It is working now. I used provided jar and link to it locally using:

compile files('lib/ormlite-content-provider-library-1.0.3.jar')

Thanks.

@jakenjarvis
Copy link
Owner

Oh, it was good! I thank you for your report you. :)

@jakenjarvis
Copy link
Owner

Hi @alistairrutherford
I checked it by AndroidStudio. Your problem will be solved by the following description. ;)

dependencies {
    compile 'com.tojc.ormlite.android:ormlite-content-provider-library:1.0.3@jar'
}

jakenjarvis added a commit that referenced this issue Nov 14, 2013
 Required: Maven3.1.1, android-maven-plugin3.8.0 over.
 Required: MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m".

Update the development environment.
 android-maven-plugin 3.8.0
 maven-pmd-plugin 3.0.1(and fixed source code)
 spring-core 3.2.5.RELEASE

#5 #6 #7 #12

* However, the following problems that occur in the eclipse is left.
Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.0:consume-aar (execution: default-consume-aar, phase: compile)
jakenjarvis added a commit that referenced this issue Nov 14, 2013
 Required: Maven3.1.1, android-maven-plugin3.8.0 over.
 Required: MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m".

Update the development environment.
 android-maven-plugin 3.8.0
 maven-pmd-plugin 3.0.1(and fixed source code)
 spring-core 3.2.5.RELEASE

#5 #6 #7 #12

* However, the following problems that occur in the eclipse is left.
Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.0:consume-aar (execution: default-consume-aar, phase: compile)
jakenjarvis added a commit that referenced this issue Nov 16, 2013
 Required: Maven3.1.1, android-maven-plugin3.8.0 over.
 Required: MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m".

Update the development environment.
 android-maven-plugin 3.8.0
 maven-pmd-plugin 3.0.1(and fixed source code)
 spring-core 3.2.5.RELEASE

#5 #6 #7 #12

* However, the following problems that occur in the eclipse is left.
Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.0:consume-aar (execution: default-consume-aar, phase: compile)
jakenjarvis added a commit that referenced this issue Nov 16, 2013
 Required: Maven3.1.1, android-maven-plugin3.8.0 over.
 Required: MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m".

Update the development environment.
 android-maven-plugin 3.8.0
 maven-pmd-plugin 3.0.1(and fixed source code)
 spring-core 3.2.5.RELEASE

#5 #6 #7 #12

* However, the following problems that occur in the eclipse is left.
Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.0:consume-aar (execution: default-consume-aar, phase: compile)
jakenjarvis added a commit that referenced this issue Nov 16, 2013
 Required: Maven3.1.1, android-maven-plugin3.8.0 over.
 Required: MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m".

Update the development environment.
 android-maven-plugin 3.8.0
 maven-pmd-plugin 3.0.1(and fixed source code)
 spring-core 3.2.5.RELEASE

#5 #6 #7 #12

* However, the following problems that occur in the eclipse is left.
Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.0:consume-aar (execution: default-consume-aar, phase: compile)
jakenjarvis added a commit that referenced this issue Nov 16, 2013
 Required: Maven3.1.1, android-maven-plugin3.8.0 over.
 Required: MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m".

Update the development environment.
 android-maven-plugin 3.8.0
 maven-pmd-plugin 3.0.1(and fixed source code)
 spring-core 3.2.5.RELEASE

#5 #6 #7 #12

* However, the following problems that occur in the eclipse is left.
Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.0:consume-aar (execution: default-consume-aar, phase: compile)
jakenjarvis added a commit that referenced this issue Nov 16, 2013
 Required: Maven3.1.1, android-maven-plugin3.8.0 over.
 Required: MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m".

Update the development environment.
 android-maven-plugin 3.8.0
 maven-pmd-plugin 3.0.1(and fixed source code)
 spring-core 3.2.5.RELEASE

#5 #6 #7 #12

* However, the following problems that occur in the eclipse is left.
Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.0:consume-aar (execution: default-consume-aar, phase: compile)
jakenjarvis added a commit that referenced this issue Nov 16, 2013
 Required: Maven3.1.1, android-maven-plugin3.8.0 over.
 Required: MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m".

Update the development environment.
 android-maven-plugin 3.8.0
 maven-pmd-plugin 3.0.1(and fixed source code)
 spring-core 3.2.5.RELEASE

#5 #6 #7 #12

* However, the following problems that occur in the eclipse is left.
Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.0:consume-aar (execution: default-consume-aar, phase: compile)
jakenjarvis added a commit that referenced this issue Nov 16, 2013
 Required: Maven3.1.1, android-maven-plugin3.8.0 over.
 Required: MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m".

Update the development environment.
 android-maven-plugin 3.8.0
 maven-pmd-plugin 3.0.1(and fixed source code)
 spring-core 3.2.5.RELEASE

#5 #6 #7 #12

* However, the following problems that occur in the eclipse is left.
Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.0:consume-aar (execution: default-consume-aar, phase: compile)
jakenjarvis added a commit that referenced this issue Nov 16, 2013
 Required: Maven3.1.1, android-maven-plugin3.8.0 over.
 Required: MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m".

Update the development environment.
 android-maven-plugin 3.8.0
 maven-pmd-plugin 3.0.1(and fixed source code)
 spring-core 3.2.5.RELEASE

#5 #6 #7 #12

* However, the following problems that occur in the eclipse is left.
Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.0:consume-aar (execution: default-consume-aar, phase: compile)
jakenjarvis added a commit that referenced this issue Nov 16, 2013
 Required: Maven3.1.1, android-maven-plugin3.8.0 over.
 Required: MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m".

Update the development environment.
 android-maven-plugin 3.8.0
 maven-pmd-plugin 3.0.1(and fixed source code)
 spring-core 3.2.5.RELEASE

#5 #6 #7 #12

* However, the following problems that occur in the eclipse is left.
Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.0:consume-aar (execution: default-consume-aar, phase: compile)
jakenjarvis added a commit that referenced this issue Nov 17, 2013
 Required: Maven3.1.1, android-maven-plugin3.8.0 over.
 Required: MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m".

Update the development environment.
 android-maven-plugin 3.8.0
 maven-pmd-plugin 3.0.1(and fixed source code)
 spring-core 3.2.5.RELEASE

#5 #6 #7 #12

* However, the following problems that occur in the eclipse is left.
Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.0:consume-aar (execution: default-consume-aar, phase: compile)
jakenjarvis added a commit that referenced this issue Nov 17, 2013
 Required: Maven3.1.1, android-maven-plugin3.8.0 over.
 Required: MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m".

Update the development environment.
 android-maven-plugin 3.8.0
 maven-pmd-plugin 3.0.1(and fixed source code)
 spring-core 3.2.5.RELEASE

#5 #6 #7 #12

* However, the following problems that occur in the eclipse is left.
Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.0:consume-aar (execution: default-consume-aar, phase: compile)
jakenjarvis added a commit that referenced this issue Nov 17, 2013
 Required: Maven3.1.1, android-maven-plugin3.8.0 over.
 Required: MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m".

Update the development environment.
 android-maven-plugin 3.8.0
 maven-pmd-plugin 3.0.1(and fixed source code)
 spring-core 3.2.5.RELEASE

#5 #6 #7 #12

* However, the following problems that occur in the eclipse is left.
Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.0:consume-aar (execution: default-consume-aar, phase: compile)
jakenjarvis added a commit that referenced this issue Nov 17, 2013
 Required: Maven3.1.1, android-maven-plugin3.8.0 over.
 Required: MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m".

Update the development environment.
 android-maven-plugin 3.8.0
 maven-pmd-plugin 3.0.1(and fixed source code)
 spring-core 3.2.5.RELEASE

#5 #6 #7 #12

* However, the following problems that occur in the eclipse is left.
Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.0:consume-aar (execution: default-consume-aar, phase: compile)
jakenjarvis added a commit that referenced this issue Nov 17, 2013
 Required: Maven3.1.1, android-maven-plugin3.8.0 over.
 Required: MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m".

Update the development environment.
 android-maven-plugin 3.8.0
 maven-pmd-plugin 3.0.1(and fixed source code)
 spring-core 3.2.5.RELEASE

#5 #6 #7 #12

* However, the following problems that occur in the eclipse is left.
Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.0:consume-aar (execution: default-consume-aar, phase: compile)
jakenjarvis added a commit that referenced this issue Nov 17, 2013
 Required: Maven3.1.1, android-maven-plugin3.8.0 over.
 Required: MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m".

Update the development environment.
 android-maven-plugin 3.8.0
 maven-pmd-plugin 3.0.1(and fixed source code)
 spring-core 3.2.5.RELEASE

#5 #6 #7 #12

* However, the following problems that occur in the eclipse is left.
Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.0:consume-aar (execution: default-consume-aar, phase: compile)
jakenjarvis added a commit that referenced this issue Nov 17, 2013
 Required: Maven3.1.1, android-maven-plugin3.8.0 over.
 Required: MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m".

Update the development environment.
 android-maven-plugin 3.8.0
 maven-pmd-plugin 3.0.1(and fixed source code)
 spring-core 3.2.5.RELEASE

#5 #6 #7 #12

* However, the following problems that occur in the eclipse is left.
Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.0:consume-aar (execution: default-consume-aar, phase: compile)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants