java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mapzen.erasermap/com.mapzen.erasermap.controller.MainActivity}: java.lang.IllegalStateException: crypt.decode(BuildConfig.VECTOR_TILE_API_KEY) must not be null

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by tallytalwar
, 1 year ago
Unable to start activity ComponentInfo{com.mapzen.erasermap/com.mapzen.erasermap.controller.MainActivity}: java.lang.IllegalStateException: crypt.decode(BuildConfig.VECTOR_TILE_API_KEY) must not be null
via Stack Overflow by Dan
, 2 years ago
Unable to start activity ComponentInfo{com.dan190.tasks/com.dan190.tasks.activity.TaskEditActivity}: java.lang.IllegalArgumentException: Target must not be null.
via Stack Overflow by or am-shalem
, 1 year ago
Unable to start activity ComponentInfo{atoa.roomates/com.auth0.lock.sms.LockSMSActivity}: java.lang.IllegalStateException: Android Application object must implement LockProvider interface
via blogspot.com by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.writers.myapp/com.writers.myapp.MainActivity}: java.lang.IllegalStateException: Must Initialize Fabric before using singleton()
via Stack Overflow by stellarowl12
, 2 years ago
Unable to start activity ComponentInfo{com.writers.myapp/com.writers.myapp.MainActivity}: java.lang.IllegalStateException: Must Initialize Fabric before using singleton()
via Stack Overflow by Rajubhai Rathod
, 1 year ago
Unable to start activity ComponentInfo{com.vmapps.quotesking/com.vmapps.quotesking.material.QuoteViewActivity}: java.lang.IllegalStateException: The ad size and ad unit ID must be set before loadAd is called.
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mapzen.erasermap/com.mapzen.erasermap.controller.MainActivity}: java.lang.IllegalStateException: crypt.decode(BuildConfig.VECTOR_TILE_API_KEY) must not be null
at com.mapzen.erasermap.model.ApiKeys.configureKeys(ApiKeys.kt:40)
at com.mapzen.erasermap.model.ApiKeys.(ApiKeys.kt:27)
at com.mapzen.erasermap.model.ApiKeys.(ApiKeys.kt:9)
at com.mapzen.erasermap.model.ApiKeys$Companion.sharedInstance(ApiKeys.kt:20)
at com.mapzen.erasermap.AndroidModule.provideApiKeys(AndroidModule.java:108)
at com.mapzen.erasermap.AndroidModule_ProvideApiKeysFactory.get(AndroidModule_ProvideApiKeysFactory.java:18)
at com.mapzen.erasermap.AndroidModule_ProvideApiKeysFactory.get(AndroidModule_ProvideApiKeysFactory.java:7)
at dagger.internal.ScopedProvider.get(ScopedProvider.java:46)
at com.mapzen.erasermap.AndroidModule_ProvideRouteManagerFactory.get(AndroidModule_ProvideRouteManagerFactory.java:27)
at com.mapzen.erasermap.AndroidModule_ProvideRouteManagerFactory.get(AndroidModule_ProvideRouteManagerFactory.java:10)
at dagger.internal.ScopedProvider.get(ScopedProvider.java:46)
at com.mapzen.erasermap.AndroidModule_ProvideMainPresenterFactory.get(AndroidModule_ProvideMainPresenterFactory.java:47)
at com.mapzen.erasermap.AndroidModule_ProvideMainPresenterFactory.get(AndroidModule_ProvideMainPresenterFactory.java:15)
at dagger.internal.ScopedProvider.get(ScopedProvider.java:46)
at com.mapzen.erasermap.controller.MainActivity_MembersInjector.injectMembers(MainActivity_MembersInjector.java:68)
at com.mapzen.erasermap.controller.MainActivity_MembersInjector.injectMembers(MainActivity_MembersInjector.java:19)
at com.mapzen.erasermap.DaggerEraserMapApplication_ApplicationComponent.inject(DaggerEraserMapApplication_ApplicationComponent.java:123)
at com.mapzen.erasermap.controller.MainActivity.onCreate(MainActivity.kt:154)
at android.app.Activity.performCreate(Activity.java:6221)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2614)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
at android.app.ActivityThread.access$900(ActivityThread.java:172)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:5835)
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:1399)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)

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.

Know the solutions? Share your knowledge to help other developers to debug faster.