[SOLVED] Use SDKBox install AdMob has failed: local variable 'tar' referenced before assignment

[SOLVED] Use SDKBox install AdMob has failed: local variable 'tar' referenced before assignment
0

I open SDKBox and import AdMob to the empty project. this error log:

Begin install googleplayservices
> C:\Users\Administrator\.sdkbox\bin\sdkbox.bat --alwaysupdate --nohelp --runin gui-creator -s main import googleplayservices --projectpath proj.ios_mac\PeopleWorld.xcodeproj --projectpath proj.android-studio
  _______ ______  _     _ ______   _____  _     _
  |______ |     \ |____/  |_____] |     |  \___/ 
  ______| |_____/ |    \_ |_____] |_____| _/   \_
 Copyright (c) 2016-2018 SDKBOX Inc. v1.0.2.8
 [|]
 [/]
 Installation Successful :)
-----------------------------------
Begin install sdkboxads
> C:\Users\Administrator\.sdkbox\bin\sdkbox.bat --alwaysupdate --nohelp --runin gui-creator -s main import sdkboxads --projectpath proj.ios_mac\PeopleWorld.xcodeproj --projectpath proj.android-studio
  _______ ______  _     _ ______   _____  _     _
  |______ |     \ |____/  |_____] |     |  \___/ 
  ______| |_____/ |    \_ |_____] |_____| _/   \_
 Copyright (c) 2016-2018 SDKBOX Inc. v1.0.2.8
 [|]
 [/]
 Please reference the online documentation to finish the integration:
http://sdkbox-doc.github.io/en/plugins/sdkboxads/v3-js/
 Installation Successful :)
-----------------------------------
Begin install admob
> C:\Users\Administrator\.sdkbox\bin\sdkbox.bat --alwaysupdate --nohelp --runin gui-creator -s main import admob --projectpath proj.ios_mac\PeopleWorld.xcodeproj --projectpath proj.android-studio
  _______ ______  _     _ ______   _____  _     _
  |______ |     \ |____/  |_____] |     |  \___/ 
  ______| |_____/ |    \_ |_____] |_____| _/   \_
 Copyright (c) 2016-2018 SDKBOX Inc. v1.0.2.8
 [|]
 [/]
 [-]
 [\]
 [|]
 [/]
 Installation Successful :)
 Please reference the online documentation to finish the integration:
http://sdkbox-doc.github.io/en/plugins/sdkboxads/v3-js/
 Installation Successful :)
 #FATAL: local variable 'tar' referenced before assignment
 Installation failed :(
-----------------------------------
Install Finish

Now, i look Google Play Services and SDKBox Ads, not has AdMob.

And, how to clear SDKBox download?
(If i remove build folder and install again, the download was 100%)

@yinjimmy can help.

I fixed it:

  1. remove C:\Users\Administrator\.sdkbox\temp file (I only remove AdMob)
  2. import again.

this working, :slight_smile:

but what happened?

the admob plugin is invalid ?

I think my download package is failed.

In china, init SDKBox and download package from SDKBox, is low speed and unstable, and i can’t know how to check and fix it.

en, there is no way to check it currently.