Skip to content

TAPTAP SDK调试运行崩溃 #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tidys opened this issue Apr 1, 2025 · 0 comments
Open

TAPTAP SDK调试运行崩溃 #34

tidys opened this issue Apr 1, 2025 · 0 comments

Comments

@tidys
Copy link

tidys commented Apr 1, 2025

Image

点击运行正常,点击调试运行就会闪退,导致现在没办法调试Android的java代码

protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    // DO OTHER INITIALIZATION BELOW
    SDKWrapper.shared().init(this);

    String clientId = "xxx";
    String clientToken = "xxxxx";
    boolean enableLog = BuildConfig.DEBUG;
    TapTapSdkOptions tapSdkOptions = new TapTapSdkOptions(clientId, clientToken, TapTapRegion.CN);
    tapSdkOptions.setEnableLog(enableLog);
    TapTapSdk.init(AppActivity.ins, tapSdkOptions); // 调试运行到这里后崩溃
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant