Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Updating support:appcompat-v7 or support:design to 23.1.1 crashes #292

Closed
leomarques opened this issue Nov 15, 2015 · 37 comments
Closed

Updating support:appcompat-v7 or support:design to 23.1.1 crashes #292

leomarques opened this issue Nov 15, 2015 · 37 comments

Comments

@leomarques
Copy link

Updating support:appcompat-v7 or support:design to the latest version (23.1.1) causes crashes, latest working is 23.1.0.

Updating support:appcompat-v7 causes a crash at app start:
java.lang.NoClassDefFoundError: android.support.design.internal.NavigationMenuPresenter

Updating support:design causes a crash when I try to use a component from the library:
java.lang.VerifyError: com/rey/material/app/SimpleDialog

@aumidbek
Copy link

@jaydp17
Copy link

jaydp17 commented Nov 15, 2015

+1
Same here
Upgrading creates proguard errors

@dnutcracker
Copy link

Same here

@Kane-Shih
Copy link

+1

1 similar comment
@pinetree-kr
Copy link

+1

@bhavesh-hirpara
Copy link

+1
same here

Anyone found solution??

@ganeshkrishnan1
Copy link

Likewise. Got this error : Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v7.internal.widget.TintTypedArray" on path: DexPathList

@MedoElkamaly
Copy link

+1

1 similar comment
@beydogan
Copy link

+1

@pavanjaju
Copy link

+1
I got this java.lang.NoClassDefFoundError: com.rey.material.widget.YearPicker

@Kane-Shih
Copy link

W/dalvikvm(25426): VFY: unable to resolve new-instance 6182 (Lcom/rey/material/app/SimpleDialog$InternalListView;) in Lcom/rey/material/app/SimpleDialog;
W/dalvikvm(25426): VFY: Ljava/lang/Object; is not instance of Landroid/view/View;
W/dalvikvm(25426): VFY: bad arg 1 (into Landroid/view/View;)
W/dalvikvm(25426): VFY: rejecting call to Lcom/rey/material/app/Dialog;.contentView (Landroid/view/View;)Lcom/rey/material/app/Dialog;
W/dalvikvm(25426): VFY: rejecting opcode 0x6f at 0x0017
W/dalvikvm(25426): Verifier rejected class Lcom/rey/material/app/SimpleDialog;
D/AndroidRuntime(25426): Shutting down VM
E/AndroidRuntime(25426): FATAL EXCEPTION: main
E/AndroidRuntime(25426): java.lang.VerifyError: com/rey/material/app/SimpleDialog
E/AndroidRuntime(25426): at com.rey.material.app.SimpleDialog$Builder.onBuild

@harri35
Copy link

harri35 commented Nov 23, 2015

+1

2 similar comments
@yev-kanivets
Copy link

+1

@manjunathc23
Copy link

+1

@ganeshkrishnan1
Copy link

I have fixed the errors and forked it here: https://github.com/getintouchapp/material_fork

If you guys want it clone the repo and build the jar to include it manually in your library

@ganeshkrishnan1
Copy link

The fixed errors and GUI with new compatibility library : https://play.google.com/store/apps/details?id=co.getintouch.play That's my production app

@jjhesk
Copy link

jjhesk commented Nov 26, 2015

++++1

@kkroid
Copy link

kkroid commented Nov 26, 2015

+10086

@Kane-Shih
Copy link

@getintouchapp Does the fork project contain your new commit?

@kkroid
Copy link

kkroid commented Nov 27, 2015

@pavanjaju I got the same problem:"NoClassDefFoundError: com.rey.material.widget.YearPicker"

@ttpho
Copy link

ttpho commented Nov 27, 2015

+1
java.lang.NoClassDefFoundError: com.rey.material.widget.YearPicker

@fernandodev
Copy link

+1
Because
android.support.v7.internal.widget.TintTypedArray now is import android.support.v7.widget.TintTypedArray;

Packages are moved from internal to v7.widget

I'm working on a PR did someone else fix it?
@getintouchapp your repo doesn't include changes you have listed. Have you done their?

@fernandodev
Copy link

@leomarques , @Kane-Shih I've done a PR that fix this issue: #299
May you @rey5137 review my #299 PR and include those changes to a new SNAPSHOT version?

Thanks all

@kkroid
Copy link

kkroid commented Nov 30, 2015

After import the source code to local, and change all "android.support.v7.internal.widget_" to "android.support.v7.widget._" it works.
And you may also need add some attrs in attrs.xml file, for example:"gravity prompt disableChildrenWhenDisabled..."

@fernandodev
Copy link

@kkroid exactly ;)

@leomarques
Copy link
Author

@fernandodev Thank you very much, I'll still wait a few months until the end of my project to see if @rey5137 will put it into the project so I don't have to download anything else for now.

@prographer
Copy link

+1

I downgraded to 23.1.0

@rey5137
Copy link
Owner

rey5137 commented Dec 7, 2015

I have released 1.2.2 version that fixed this bug.

@rey5137 rey5137 closed this as completed Dec 7, 2015
@prographer
Copy link

@rey5137 Thank you!

@afjcjsbx
Copy link

afjcjsbx commented Jan 5, 2016

I have the same problem with 1.2.2 version.
My stack:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.afjcjsbx.pronosticionline1x2, PID: 20564
java.lang.VerifyError: com/rey/material/widget/Spinner
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at android.view.LayoutInflater.createView(LayoutInflater.java:614)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:716)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:775)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:778)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:778)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:778)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:778)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:778)
at android.view.LayoutInflater.inflate(LayoutInflater.java:512)
at android.view.LayoutInflater.inflate(LayoutInflater.java:409)
at android.view.LayoutInflater.inflate(LayoutInflater.java:358)
at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:256)
at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:109)
at com.afjcjsbx.pronosticionline1x2.Schedina.onCreate(Schedina.java:79)
at android.app.Activity.performCreate(Activity.java:5302)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1090)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2228)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2313)
at android.app.ActivityThread.access$1100(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1238)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5336)
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:865)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:681)
at dalvik.system.NativeStart.main(Native Method)

@yeganehaym
Copy link

+1

@wznshuai
Copy link

wznshuai commented May 5, 2016

+10086 I have the same problem with 1.2.2 version.

@hasid
Copy link

hasid commented Jul 28, 2016

Use dependensies

compile 'com.github.rey5137:material:1.2.1'

and sync project

@krisha23
Copy link

After upgrading to 1.2.2 this error did not get resolved.

Infact, I started getting errors in all snackbars that used com.rey.material.widget.SnackBar.

No solution yet.

@noorzaie
Copy link

noorzaie commented Oct 2, 2016

+2

@mrcoder09
Copy link

Caused by: java.lang.NoClassDefFoundError: android.support.design.internal.NavigationMenuPresenter
I got this error .. is there any solution to such Error.?? What should I do to resolve it.? This thread is also seems to have specific solution on the problem... ;(

@VivekChodvadiya
Copy link

VivekChodvadiya commented Apr 23, 2019

+1
same here

Anyone found solution??

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests