OnCreate() Construct 2

0 favourites
  • 1 posts
From the Asset Store
Casino? money? who knows? but the target is the same!
  • So I am dealing with the more advanced stuff that I don't understand. Long story short, I am developing a mobile game and it uses Facebook and Admob together. Cranberrygames plugin works if installed individually but not together and I get a multidex (dependency) build error. I know it's the Android Support V4, but I have no idea how to delete it from the /lib without affecting the build directly.

    After installing Facebook4 (Wizcorp) I was able to build successfully, however, I am facing a key-hash error. And I solved that, but now I get a "user logged in as a different facebook user" error and the only solution is to type a sort of command into the main activity that uses the login process.

    My question is, how do I (and where exactly) put this to make it work?


    public void onError(FacebookException e) {

    if (e instanceof FacebookAuthorizationException) {

    if (AccessToken.getCurrentAccessToken() != null) {





  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)