正在查看: Kickcash v16.1 应用的 b.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Kickcash v16.1 应用的 b.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.microsoft.clarity.pc;
import android.net.Uri;
import android.text.TextUtils;
import com.facebook.react.devsupport.StackTraceHelper;
import org.json.JSONException;
import org.json.JSONObject;
public class b extends RuntimeException {
private final String X;
private b(String str, String str2, int i, int i2) {
super(str + "\n at " + str2 + ":" + i + ":" + i2);
this.X = str;
}
public static b b(String str, String str2, String str3, Throwable th) {
return new b(str2 + "\n\nTry the following to fix the issue:\n• Ensure that Metro is running\n• Ensure that your device/emulator is connected to your machine and has USB debugging enabled - run 'adb devices' to see a list of connected devices\n• Ensure Airplane Mode is disabled\n• If you're on a physical device connected to the same machine, run 'adb reverse tcp:<PORT> tcp:<PORT>' to forward requests from your device\n• If your device is on the same Wi-Fi network, set 'Debug server host & port for device' in 'Dev settings' to your machine's IP address and the port of the local dev server - e.g. 10.0.1.1:<PORT>\n\n".replace("<PORT>", String.valueOf(Uri.parse(str).getPort())) + str3, th);
}
public static b c(String str, String str2, Throwable th) {
return b(str, str2, "", th);
}
public static b d(String str, String str2) {
if (TextUtils.isEmpty(str2)) {
return null;
}
try {
JSONObject jSONObject = new JSONObject(str2);
return new b(jSONObject.getString("message"), e(jSONObject.getString("filename")), jSONObject.getInt(StackTraceHelper.LINE_NUMBER_KEY), jSONObject.getInt(StackTraceHelper.COLUMN_KEY));
} catch (JSONException e) {
com.microsoft.clarity.h9.a.I("ReactNative", "Could not parse DebugServerException from: " + str2, e);
return null;
}
}
private static String e(String str) {
return str.split("/")[r1.length - 1];
}
public String a() {
return this.X;
}
public b(String str) {
super(str);
this.X = str;
}
public b(String str, Throwable th) {
super(str, th);
this.X = str;
}
}