Skip to content
This repository has been archived by the owner on Nov 29, 2019. It is now read-only.

Android build error in ionic capacitor #59

Open
Kaoschuks opened this issue May 13, 2019 · 6 comments
Open

Android build error in ionic capacitor #59

Kaoschuks opened this issue May 13, 2019 · 6 comments

Comments

@Kaoschuks
Copy link

Kaoschuks commented May 13, 2019

Whenever i build my ionic capacitor app for android i get

E/AccountKitPlugin: java.lang.IllegalArgumentException: Can only use lower 16 bits for requestCode
at
android.support.v4.app.BaseFragmentActivityApi14.checkForValidRequestCode(BaseFragmentActivityApi14.java:79)
at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:748)
at org.apache.cordova.CordovaInterfaceImpl.startActivityForResult(CordovaInterfaceImpl.java:68)
at org.apache.cordova.facebook.AccountKitPlugin.executeLogin(AccountKitPlugin.java:136)
at org.apache.cordova.facebook.AccountKitPlugin$1.run(AccountKitPlugin.java:56)

@Kaoschuks
Copy link
Author

I need an answer on this please can anybody from the accountkit team help

@jcesarmobile
Copy link

@Kaoschuks
Copy link
Author

I have reduced it to 65530 but it didn't work.

Please try and fix it please if possible please

@Kaoschuks
Copy link
Author

I fixed it for android works wonderfully

@jcesarmobile
Copy link

Linking PR #64

@Kaoschuks
Copy link
Author

Kaoschuks commented Jun 26, 2019 via email

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

2 participants