How to uninstall sdkbox components

hello all a question, how can I remove items installed in sdkbox, I need to remove from the app “firebase”, “googleanalytics”, for some reason after installing does not allow me to compile the app.

for sdkbox command:

restore            restores your project to the latest backup that can be found.
                     If you have made changes to your project files since importing,
                     this will overwrite your changes, so **use carefully.**

example:

$ sdkbox restore
  _______ ______  _     _ ______   _____  _     _
  |______ |     \ |____/  |_____] |     |  \___/
  ______| |_____/ |    \_ |_____] |_____| _/   \_
 Copyright (c) 2016-2018 SDKBOX Inc. v1.0.3.0
0) /Users/admin/test/cpp317/backup-2019-07-14.zip
1) /Users/admin/test/cpp317/backup-2019-07-16.zip
type quit to abort
Select Backup : 1
 WARNING! Restoring this backup will overwrite changes to the following project files...
 /Users/admin/test/cpp317/proj.ios_mac/cpp317.xcodeproj/project.pbxproj
 /Users/admin/test/cpp317/proj.android/app/proguard-rules.pro
 /Users/admin/test/cpp317/Classes/AppDelegate.cpp
 /Users/admin/test/cpp317/.sdkbox_packages.json
Type Yes to proceed, anything else will abort. Yes
 Restore Completed.

whats your compile issue ?

Thanks for the information the error that comes out in the log is
the descriptor class ‘com.google.gson.TypeAdapter’
Note: the configuration keeps the entry point ‘com.twitter.sdk.android.core.models.SafeMapAdapter$1 { SafeMapAdapter$1(com.twitter.sdk.android.core.models.SafeMapAdapter,com.google.gson.TypeAdapter,com.google.gson.reflect.TypeToken); }’, but not the descriptor class ‘com.google.gson.reflect.TypeToken’
Note: the configuration keeps the entry point ‘com.twitter.sdk.android.core.models.SafeMapAdapter$1 { void write(com.google.gson.stream.JsonWriter,java.lang.Object); }’, but not the descriptor class ‘com.google.gson.stream.JsonWriter’
Note: the configuration keeps the entry point ‘com.twitter.sdk.android.core.models.SafeMapAdapter$1 { java.lang.Object read(com.google.gson.stream.JsonReader); }’, but not the descriptor class ‘com.google.gson.stream.JsonReader’
Note: the configuration keeps the entry point ‘com.twitter.sdk.android.core.services.MediaService { retrofit2.Call upload(okhttp3.RequestBody,okhttp3.RequestBody,okhttp3.RequestBody); }’, but not the descriptor class ‘okhttp3.RequestBody’
Note: the configuration keeps the entry point ‘com.twitter.sdk.android.core.services.MediaService { retrofit2.Call upload(okhttp3.RequestBody,okhttp3.RequestBody,okhttp3.RequestBody); }’, but not the descriptor class ‘okhttp3.RequestBody’
Note: the configuration keeps the entry point ‘com.twitter.sdk.android.core.services.MediaService { retrofit2.Call upload(okhttp3.RequestBody,okhttp3.RequestBody,okhttp3.RequestBody); }’, but not the descriptor class ‘okhttp3.RequestBody’
Note: the configuration keeps the entry point ‘org.cocos2dx.lib.CanvasRenderingContext2DImpl { org.cocos2dx.lib.CanvasRenderingContext2DImpl$Point convertDrawPoint(org.cocos2dx.lib.CanvasRenderingContext2DImpl$Point,java.lang.String); }’, but not the descriptor class ‘org.cocos2dx.lib.CanvasRenderingContext2DImpl$Point’
Note: the configuration explicitly specifies ‘android.webkit.JavascriptInterface’ to keep library class ‘android.webkit.JavascriptInterface’
Note: the configuration explicitly specifies ‘android.webkit.WebViewClient’ to keep library class ‘android.webkit.WebViewClient’
Note: there were 11 references to unknown classes.
You should check your configuration for typos.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unknownclass)
Note: there were 3 references to unknown class members.
You should check your configuration for typos.
Note: there were 232 unkept descriptor classes in kept class members.
You should consider explicitly keeping the mentioned classes
(using ‘-keep’).
(http://proguard.sourceforge.net/manual/troubleshooting.html#descriptorclass)
Note: there were 2 library classes explicitly being kept.
You don’t need to keep library classes; they are already left unchanged.
(http://proguard.sourceforge.net/manual/troubleshooting.html#libraryclass)
Note: there were 34 unresolved dynamic references to classes or interfaces.
You should check if you need to specify additional program jars.
(http://proguard.sourceforge.net/manual/troubleshooting.html#dynamicalclass)
Ignoring unused library classes…
Original number of library classes: 4387
Final number of library classes: 1731
Printing kept classes, fields, and methods…
Inlining subroutines…
Shrinking…
Printing usage to [/Users/operaciones/Documents/proyectos/CalculaRapidoApp/CalculaRapidoApp/apk/jsb-link/frameworks/runtime-src/proj.android-studio/app/build/outputs/mapping/release/usage.txt]…
Removing unused program classes and class elements…
Original number of program classes: 10862
Final number of program classes: 9134
Obfuscating…
Printing mapping to [/Users/operaciones/Documents/proyectos/CalculaRapidoApp/CalculaRapidoApp/apk/jsb-link/frameworks/runtime-src/proj.android-studio/app/build/outputs/mapping/release/mapping.txt]…
Preverifying…
Unexpected error while performing partial evaluation:
Class = [com/google/android/gms/internal/measurement/zzeb]
Method = [zza(Ljava/lang/String;[Lcom/google/android/gms/internal/measurement/zzkn;[Lcom/google/android/gms/internal/measurement/zzks;)[Lcom/google/android/gms/internal/measurement/zzkm;]
Exception = [java.lang.IllegalArgumentException] (Can’t find common super class of [com/google/android/gms/internal/measurement/zzkf] (with 1 known super classes) and [com/google/android/gms/internal/measurement/zzko] (with 1 known super classes))
Unexpected error while preverifying:
Class = [com/google/android/gms/internal/measurement/zzeb]
Method = [zza(Ljava/lang/String;[Lcom/google/android/gms/internal/measurement/zzkn;[Lcom/google/android/gms/internal/measurement/zzks;)[Lcom/google/android/gms/internal/measurement/zzkm;]
Exception = [java.lang.IllegalArgumentException] (Can’t find common super class of [com/google/android/gms/internal/measurement/zzkf] (with 1 known super classes) and [com/google/android/gms/internal/measurement/zzko] (with 1 known super classes))
Warning: Exception while processing task java.io.IOException: java.lang.IllegalArgumentException: Can’t find common super class of [com/google/android/gms/internal/measurement/zzkf] (with 1 known super classes) and [com/google/android/gms/internal/measurement/zzko] (with 1 known super classes)
Thread(Tasks limiter_10): destruction

Task :CalculaRapido:transformClassesAndResourcesWithProguardForRelease FAILED
:CalculaRapido:transformClassesAndResourcesWithProguardForRelease (Thread[Task worker for ‘:’ Thread 3,5,main]) completed. Took 17.348 secs.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:CalculaRapido:transformClassesAndResourcesWithProguardForRelease’.

Job failed, see logs for details

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 6m 52s
51 actionable tasks: 4 executed, 47 up-to-date
Error running command, return code: 1.

a question, in which route should I locate or how do I execute that command, from the console comes this information

Traceback (most recent call last):
File “monolith.py”, line 2884, in
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py”, line 543, in getdefaultlocale
return _parse_localename(localename)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py”, line 475, in _parse_localename
raise ValueError, ‘unknown locale: %s’ % localename
ValueError: unknown locale: UTF-8

Any person knows in which route I must execute the command or how can I identify what can be the error that is being generated?

If you have faced the error on MacOS X, here's the quick fix - add these lines to your ~/.bash_profile:

export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

@yinjimmy The restoration was executed correctly, thank you very much

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.