Sdkbox instance has no attribute 'android_set_element'

@nite,@mannewalis
Hi, My Cocos2dx version is 3.6. This is what I got while updating SDKBOX and installing Facebook Plugin. Please Check and let me know the solution for this issue. Thank You For all of your Support :smile:

MacBook-Pro:~ Abc$ cd /Users/Abc/Documents/MCocosProject/MyQuiz
MacBook-Pro:MyQuiz Abc$ sdkbox import facebook


|______ | \ |____/ |] | | _/
| |/ | _ |
] |____| _/ _
Copyright © 2015 Chukong Technologies Inc. v0.5.6.19

A newer version of SDKBOX is available, would you like to update v0.5.6.19 to v0.5.7.20?
Please type Yes, No or Quit yes

updated SDKBOX v0.5.6.19 to v0.5.7.20 at /Users/Abc/Desktop/2DX/Cocos2dx-SdkBox-Plugins/sdkbox_installer/sdkbox_installer.zip
downloading package sdkbox-facebook_v1.4.0.9.tar.gz

sdkbox instance has no attribute ‘android_set_element’
Installation failed :frowning:
/Users/Abc/Desktop/2DX/Cocos2dx-SdkBox-Plugins/sdkbox_installer/sdkbox: line 5: unexpected EOF while looking for matching `"’
/Users/Abc/Desktop/2DX/Cocos2dx-SdkBox-Plugins/sdkbox_installer/sdkbox: line 6: syntax error: unexpected

2nd attempt to install Facebook .Got bellow lines of error :-

MacBook-Pro:MyQuiz Abc$ sdkbox import facebook


|______ | \ |____/ |] | | _/
| |/ | _ |
] |____| _/ _
Copyright © 2015 Chukong Technologies Inc. v0.5.7.20
failed to patch file AppDelegate.cpp
Some installation steps failed.
Please refer to the online documentation, for instructions on how to complete the installation manually.
Documentation: http://sdkbox-doc.github.io/en/plugins/facebook/v3-cpp/
Installation completed with errors :expressionless:

That actually means Facebook plugin has been installed correctly. It just failed to modify AppDelegate.cpp because you modified AppDelegate.cpp

I Haven’t modify any thing in AppDelegate.cpp …as this project has only helloworld.cpp class and its a fresh project.

Please check the Question as it has mentioned 1st and 2nd attempts error separately.

1st attempt failure is because sdkbox are still running with 5.6.19 version right after you updated. it’s an issue that we are currently looking into, however it only happens once during update.

2ed attempt if you haven’t change AppDelegate.cpp then it’s a bug on our plugin, however, it shouldn’t effect your usage, we’ll change the warning message. While looking into this issue.

@nite
Thank you !!