解决了编译问题,去掉了bugly
This commit is contained in:
@@ -19,12 +19,9 @@ import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.cutil.ScreenUtils;
|
||||
import com.sl.house_property.f2.FeeActivity;
|
||||
import com.tencent.bugly.Bugly;
|
||||
|
||||
import cn.jpush.android.api.JPushInterface;
|
||||
import tools.Config;
|
||||
import utils.ConfigTitiles;
|
||||
|
||||
|
||||
public class LogoActivity extends Activity {
|
||||
@@ -157,7 +154,7 @@ public class LogoActivity extends Activity {
|
||||
|
||||
getSharedPreferences("first", Context.MODE_PRIVATE).edit().putInt("first", 1).apply();
|
||||
JPushInterface.init(getApplication());
|
||||
Bugly.init(getApplication(), "d45325664f", false);
|
||||
// Bugly.init(getApplication(), "d45325664f", false);
|
||||
alertDialog.cancel();
|
||||
onceOrNot();
|
||||
finish();
|
||||
|
||||
@@ -26,7 +26,6 @@ import android.view.Window;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.tencent.bugly.Bugly;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
||||
@@ -19,7 +19,6 @@ import com.lzy.okgo.interceptor.HttpLoggingInterceptor;
|
||||
import com.lzy.okgo.model.HttpHeaders;
|
||||
import com.lzy.okgo.model.HttpParams;
|
||||
import com.sl.house_property.db.dao.DataBaseHelper;
|
||||
import com.tencent.bugly.Bugly;
|
||||
|
||||
import java.security.cert.CertificateException;
|
||||
import java.security.cert.X509Certificate;
|
||||
@@ -94,7 +93,7 @@ public class MyApplication extends Application {
|
||||
if (getSharedPreferences("first", Context.MODE_PRIVATE).getInt("first", 0) == 1) {
|
||||
JPushInterface.init(this);
|
||||
JPushInterface.setDebugMode(false);
|
||||
Bugly.init(this, "d45325664f", false);
|
||||
// Bugly.init(this, "d45325664f", false);
|
||||
}
|
||||
|
||||
// System.setProperty("http.proxyHost", "haotian.hoheng.cn");
|
||||
|
||||
Reference in New Issue
Block a user