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

Unable to start activity ComponentInfo{com.fetchsky.peekaboo/com.facebook.accountkit.ui.AccountKitActivity} #17

Closed
zsajjad opened this issue Jul 1, 2016 · 4 comments

Comments

@zsajjad
Copy link

zsajjad commented Jul 1, 2016

App is getting crashed randomly on this error.

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.fetchsky.peekaboo/com.facebook.accountkit.ui.AccountKitActivity}: 500: Initialization error: 501: The SDK has not been initialized, make sure to call AccountKit.initialize() first
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2697)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2771)
    at android.app.ActivityThread.access$900(ActivityThread.java:177)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1432)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:135)
    at android.app.ActivityThread.main(ActivityThread.java:5912)
    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:1405)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)
Caused by: 500: Initialization error: 501: The SDK has not been initialized, make sure to call AccountKit.initialize() first
    at com.facebook.accountkit.internal.Validate.sdkInitialized(Validate.java:82)
    at com.facebook.accountkit.internal.Initializer.getApplicationName(Initializer.java:191)
    at com.facebook.accountkit.internal.AccountKitController.getApplicationName(AccountKitController.java:584)
    at com.facebook.accountkit.AccountKit.getApplicationName(AccountKit.java:289)
    at com.facebook.accountkit.ui.AccountKitActivity.onCreate(AccountKitActivity.java:184)
    at android.app.Activity.performCreate(Activity.java:6185)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2650)
    ... 10 more
@gaguirre
Copy link
Collaborator

gaguirre commented Jul 1, 2016

Hi @zsajjad, make sure you have set the right credentials.
Does the sample project work on your machine?

@gaguirre
Copy link
Collaborator

I'll close this. Re-open if necessary.

@zsajjad
Copy link
Author

zsajjad commented Dec 18, 2016

Yes i have right credentials set and sample project also works very fine!

tszajna0 pushed a commit to tszajna0/react-native-facebook-account-kit that referenced this issue Nov 22, 2017
@AiritAndroid
Copy link

AiritAndroid commented Mar 18, 2019

App is getting crashed on some of the devices randomly. In my devices i am not facing any issue but some users facebook account kit is sending this error.

java.lang.RuntimeException:
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2957)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3032)
at android.app.ActivityThread.-wrap11 (Unknown Source)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1696)
at android.os.Handler.dispatchMessage (Handler.java:105)
at android.os.Looper.loop (Looper.java:164)
at android.app.ActivityThread.main (ActivityThread.java:6942)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374)
Caused by: 500:
at com.facebook.accountkit.internal.Validate.sdkInitialized (Validate.java:82)
at com.facebook.accountkit.internal.Initializer.getApplicationName (Initializer.java:193)
at com.facebook.accountkit.internal.AccountKitController.getApplicationName (AccountKitController.java:630)
at com.facebook.accountkit.AccountKit.getApplicationName (AccountKit.java:284)
at com.facebook.accountkit.ui.AccountKitActivity.onCreate (AccountKitActivity.java:279)
at android.app.Activity.performCreate (Activity.java:7183)
at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1221)
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2910)

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

No branches or pull requests

3 participants