java.lang.NoSuchMethodError: No virtual method getColor(I)I in class Lcom/android/etadetroit/MainActivity; or its super classes (declaration of 'com.android.etadetroit.MainActivity' appears in /data/app/com.android.etadetroit-1/base.apk:classes32.dex)


Solutions on the web

Solution icon of github
No virtual method getColor(I)I in class Lcom/android/etadetroit/MainActivity; or its super classes (declaration of 'com.android.etadetroit.MainActivity' appears in /data/app/com.android.etadetroit-1/base.apk:classes32.dex)

Stack trace

java.lang.NoSuchMethodError: No virtual method getColor(I)I in class Lcom/android/etadetroit/MainActivity; or its super classes (declaration of 'com.android.etadetroit.MainActivity' appears in /data/app/com.android.etadetroit-1/base.apk:classes32.dex)
	at com.android.etadetroit.MainActivity.onCreate(MainActivity.java:73)
	at android.app.Activity.performCreate(Activity.java:6010)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1129)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2292)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2413)
	at android.app.ActivityThread.access$800(ActivityThread.java:155)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:135)
	at android.app.ActivityThread.main(ActivityThread.java:5343)
	at java.lang.reflect.Method.invoke(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:372)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.