Comments (11)
Yes... we switched to the behaviour of the SDK and the Gradle build system. You have to remove the duplicates.
from android-maven-plugin.
Hello,
Maybe it 's a stupid question but how I can do it because it is generate
automatically by the maven android plugin ?
Atali
Le 30 mai 2014 21:13, "Manfred Moser" [email protected] a écrit :
Yes... we switched to the behaviour of the SDK and the Gradle build
system. You have to remove the duplicates.—
Reply to this email directly or view it on GitHub
#382 (comment)
.
from android-maven-plugin.
Try the latest 3.9.0-rc.2 and send us the log with more details.
from android-maven-plugin.
05-31 05:58:42.495 1240-1240/com.zenittude E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.zenittude, PID: 1240
android.view.InflateException: Binary XML file line #23: Error inflating class com.zenittude.wizardpager.ui.StepPagerStrip
at android.view.LayoutInflater.createView(LayoutInflater.java:620)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at com.zenittude.v2.module.ordering.screen.CustomizationScreen.onCreateView(CustomizationScreen.java:53)
at com.zenittude.v2.module.ordering.screen.CustomizationScreen_.onCreateView(CustomizationScreen_.java:58)
at android.app.Fragment.performCreateView(Fragment.java:1700)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:890)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)
at android.app.BackStackRecord.run(BackStackRecord.java:684)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1447)
at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:479)
at com.zenittude.v2.common.NavigationManager.openNavigationRight(NavigationManager.java:181)
at com.zenittude.v2.common.NavigationManager_.access$1401(NavigationManager_.java:16)
at com.zenittude.v2.common.NavigationManager_$14.run(NavigationManager_.java:238)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at android.view.LayoutInflater.createView(LayoutInflater.java:594)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at com.zenittude.v2.module.ordering.screen.CustomizationScreen.onCreateView(CustomizationScreen.java:53)
at com.zenittude.v2.module.ordering.screen.CustomizationScreen_.onCreateView(CustomizationScreen_.java:58)
at android.app.Fragment.performCreateView(Fragment.java:1700)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:890)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)
at android.app.BackStackRecord.run(BackStackRecord.java:684)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1447)
at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:479)
at com.zenittude.v2.common.NavigationManager.openNavigationRight(NavigationManager.java:181)
at com.zenittude.v2.common.NavigationManager_.access$1401(NavigationManager_.java:16)
at com.zenittude.v2.common.NavigationManager_$14.run(NavigationManager_.java:238)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f050000 type #0x3 is not valid
at android.content.res.Resources.getDimensionPixelSize(Resources.java:623)
at com.zenittude.wizardpager.ui.StepPagerStrip.<init>(StepPagerStrip.java:70)
at com.zenittude.wizardpager.ui.StepPagerStrip.<init>(StepPagerStrip.java:59)
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at android.view.LayoutInflater.createView(LayoutInflater.java:594)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at com.zenittude.v2.module.ordering.screen.CustomizationScreen.onCreateView(CustomizationScreen.java:53)
at com.zenittude.v2.module.ordering.screen.CustomizationScreen_.onCreateView(CustomizationScreen_.java:58)
at android.app.Fragment.performCreateView(Fragment.java:1700)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:890)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)
at android.app.BackStackRecord.run(BackStackRecord.java:684)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1447)
at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:479)
at com.zenittude.v2.common.NavigationManager.openNavigationRight(NavigationManager.java:181)
at com.zenittude.v2.common.NavigationManager_.access$1401(NavigationManager_.java:16)
at com.zenittude.v2.common.NavigationManager_$14.run(NavigationManager_.java:238)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)
Extract from my library R.java
package com.zenittude.wizardpager;
public final class R {
public static final class attr {
.......
public static final class dimen {
public static final int step_pager_tab_height=0x7f050001;
public static final int step_pager_tab_spacing=0x7f050002;
public static final int step_pager_tab_width=0x7f050000;
}
......
Extract from my main app R.java
package com.zenittude;
public final class R {
public static final class animator {
public static final int card_flip_left_in=0x7f050000;
public static final int card_flip_left_out=0x7f050001;
public static final int card_flip_right_in=0x7f050002;
public static final int card_flip_right_out=0x7f050003;
public static final int slide_in_left=0x7f050004;
public static final int slide_out_right=0x7f050005;
}
While debugging, the resource takes into account is card_flip_left_in instead of step_pager_tab_width.
from android-maven-plugin.
You're going to need to provide us with a link to a cut down project
containing both modules.
On May 31, 2014 4:06 PM, "Atali" [email protected] wrote:
05-31 05:58:42.495 1240-1240/com.zenittude E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.zenittude, PID: 1240
android.view.InflateException: Binary XML file line #23: Error inflating class com.zenittude.wizardpager.ui.StepPagerStrip
at android.view.LayoutInflater.createView(LayoutInflater.java:620)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at com.zenittude.v2.module.ordering.screen.CustomizationScreen.onCreateView(CustomizationScreen.java:53)
at com.zenittude.v2.module.ordering.screen.CustomizationScreen_.onCreateView(CustomizationScreen_.java:58)
at android.app.Fragment.performCreateView(Fragment.java:1700)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:890)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)
at android.app.BackStackRecord.run(BackStackRecord.java:684)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1447)
at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:479)
at com.zenittude.v2.common.NavigationManager.openNavigationRight(NavigationManager.java:181)
at com.zenittude.v2.common.NavigationManager_.access$1401(NavigationManager_.java:16)
at com.zenittude.v2.common.NavigationManager_$14.run(NavigationManager_.java:238)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at android.view.LayoutInflater.createView(LayoutInflater.java:594) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696) at android.view.LayoutInflater.rInflate(LayoutInflater.java:755) at android.view.LayoutInflater.inflate(LayoutInflater.java:492) at android.view.LayoutInflater.inflate(LayoutInflater.java:397) at com.zenittude.v2.module.ordering.screen.CustomizationScreen.onCreateView(CustomizationScreen.java:53) at com.zenittude.v2.module.ordering.screen.CustomizationScreen_.onCreateView(CustomizationScreen_.java:58) at android.app.Fragment.performCreateView(Fragment.java:1700) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:890) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062) at android.app.BackStackRecord.run(BackStackRecord.java:684) at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1447) at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:479) at com.zenittude.v2.common.NavigationManager.openNavigationRight(NavigationManager.java:181) at com.zenittude.v2.common.NavigationManager_.access$1401(NavigationManager_.java:16) at com.zenittude.v2.common.NavigationManager_$14.run(NavigationManager_.java:238) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5017) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) at dalvik.system.NativeStart.main(Native Method)
Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f050000 type #0x3 is not valid
at android.content.res.Resources.getDimensionPixelSize(Resources.java:623)
at com.zenittude.wizardpager.ui.StepPagerStrip.(StepPagerStrip.java:70)
at com.zenittude.wizardpager.ui.StepPagerStrip.(StepPagerStrip.java:59) at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at android.view.LayoutInflater.createView(LayoutInflater.java:594) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696) at android.view.LayoutInflater.rInflate(LayoutInflater.java:755) at android.view.LayoutInflater.inflate(LayoutInflater.java:492) at android.view.LayoutInflater.inflate(LayoutInflater.java:397) at com.zenittude.v2.module.ordering.screen.CustomizationScreen.onCreateView(CustomizationScreen.java:53) at com.zenittude.v2.module.ordering.screen.CustomizationScreen_.onCreateView(CustomizationScreen_.java:58) at android.app.Fragment.performCreateView(Fragment.java:1700) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:890) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062) at android.app.BackStackRecord.run(BackStackRecord.java:684) at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1447) at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:479) at com.zenittude.v2.common.NavigationManager.openNavigationRight(NavigationManager.java:181) at com.zenittude.v2.common.NavigationManager_.access$1401(NavigationManager_.java:16) at com.zenittude.v2.common.NavigationManager_$14.run(NavigationManager_.java:238) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5017) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) at dalvik.system.NativeStart.main(Native Method)Extract from my library R.java
package com.zenittude.wizardpager;
public final class R {
public static final class attr {
.......
public static final class dimen {
public static final int step_pager_tab_height=0x7f050001;
public static final int step_pager_tab_spacing=0x7f050002;
public static final int step_pager_tab_width=0x7f050000;
}......Extract from my main app R.java
package com.zenittude;
public final class R {public static final class animator { public static final int card_flip_left_in=0x7f050000; public static final int card_flip_left_out=0x7f050001; public static final int card_flip_right_in=0x7f050002; public static final int card_flip_right_out=0x7f050003; public static final int slide_in_left=0x7f050004; public static final int slide_out_right=0x7f050005; }
While debugging, the resource takes into account is card_flip_left_in
instead of step_pager_tab_width.—
Reply to this email directly or view it on GitHub
#382 (comment)
.
from android-maven-plugin.
Hi,
I tried to create a project from scratch but I was unable to reproduce the issue.
But what I have noticed is in my target directory the lib R.java is not generated anymore to my main app.
target
|
|-------generated-sources
|------- r
|------- mylib
| |------- NO R.java ( but it's generated in 3.8.1)
|------- R.java
Hope that can help.
from android-maven-plugin.
Post the project in which it's failing otherwise we really have nothing to
go on.
On May 31, 2014 6:40 PM, "Atali" [email protected] wrote:
Hi,
I tried to create a project from scratch but I was unable to reproduce the
issue.But what I have noticed is in my target directory the lib R.java is not
generated anymore to my main app.target
|
|-------generated-sources
|------- r
|------- mylib
| |------- NO R.java ( but it's generated in 3.8.1)
|------- R.javaHope that can help.
—
Reply to this email directly or view it on GitHub
#382 (comment)
.
from android-maven-plugin.
Are you really sure you use 3.9.0-rc.2 ?
Because this is a known 3.8.2 problem which is fixed in 3.9.0-rc.2 (also in the first rc but you shouldn't use it anyway)
from android-maven-plugin.
@william-ferguson-au Unfortunately I can't post my project :-(
@Shusshu as you can see on the following screenshot, I am in version 3.9.0-rc.2
from android-maven-plugin.
Just cut out whatever you want to keep hidden. If you can't provide a cut
down project showing the error then we are at an impasse because we can't
verify, let alone attempt resolution.
If that's the case you should close the issue.
On May 31, 2014 7:27 PM, "Atali" [email protected] wrote:
@william-ferguson-au https://github.com/william-ferguson-au
Unfortunately I can't post my project :-(@Shusshu https://github.com/Shusshu as you can see on the following
screenshot, I am in version 3.9.0-rc.2[image: screenshot-project]
https://cloud.githubusercontent.com/assets/369628/3138683/8ee9c7c4-e8a5-11e3-900f-baa42273c0d5.png—
Reply to this email directly or view it on GitHub
#382 (comment)
.
from android-maven-plugin.
Ok I understand it's difficult without the source code, it will take to much time to cut down the project.
I am gonna to close the issue and stay on version 3.8.1.
Thanks a lot for your time
from android-maven-plugin.
Related Issues (20)
- Release 4.6.0 HOT 10
- Q: does it support consumer proguard files in libraries?
- Support Request: JAR application needs code packaged in AAR HOT 5
- This version of the Play Developer API is no longer available HOT 2
- Various complications with Java 13 HOT 6
- Confusion about how the plugin starts d8 HOT 6
- Question about android app bundle format HOT 1
- maven central HOT 1
- A required class was missing javax/xml/bind/annotation/XmlSchema HOT 2
- libraryprojects-aar1 failing to build HOT 1
- AAR library examples using maven version 4.4.1
- extractduplicates HOT 2
- Some of the androidx libraries require AAPT2 in order to compile
- [4.6.0] NPE when trying to call getAndroidTargetManager
- Hello! we found a vulnerable dependency in your project.
- Trying to use d8 compiler gives error about no main manifest attribute found in jar HOT 1
- Error reading C:\Users\user\AppData\Local\Android\Sdk\tools\source.properties
- createMarshaller error
- java.lang.NoSuchMethodError: No static method metafactory
- manifest-merger fails with "FeatureName must follow"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-maven-plugin.