解决了编译问题,去掉了bugly
This commit is contained in:
@@ -26,7 +26,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
compileSdkVersion 30
|
compileSdkVersion 30
|
||||||
buildToolsVersion '29.0.2'
|
buildToolsVersion '30.0.0'
|
||||||
aaptOptions.cruncherEnabled = false
|
aaptOptions.cruncherEnabled = false
|
||||||
aaptOptions.useNewCruncher = false
|
aaptOptions.useNewCruncher = false
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
@@ -110,7 +110,7 @@ android {
|
|||||||
implementation 'com.dalong:refreshlayout:1.0.1'
|
implementation 'com.dalong:refreshlayout:1.0.1'
|
||||||
implementation 'com.nineoldandroids:library:2.4.0'
|
implementation 'com.nineoldandroids:library:2.4.0'
|
||||||
|
|
||||||
implementation 'fm.jiecao:jiecaovideoplayer:4.6.3'
|
implementation 'fm.jiecao:jiecaovideoplayer:4.8.3'
|
||||||
implementation 'androidx.multidex:multidex:2.0.1'
|
implementation 'androidx.multidex:multidex:2.0.1'
|
||||||
//noinspection GradleCompatible
|
//noinspection GradleCompatible
|
||||||
implementation 'com.android.support:appcompat-v7:28.0.0'
|
implementation 'com.android.support:appcompat-v7:28.0.0'
|
||||||
|
|||||||
@@ -19,12 +19,9 @@ import android.widget.TextView;
|
|||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
|
|
||||||
import com.cutil.ScreenUtils;
|
import com.cutil.ScreenUtils;
|
||||||
import com.sl.house_property.f2.FeeActivity;
|
|
||||||
import com.tencent.bugly.Bugly;
|
|
||||||
|
|
||||||
import cn.jpush.android.api.JPushInterface;
|
import cn.jpush.android.api.JPushInterface;
|
||||||
import tools.Config;
|
import tools.Config;
|
||||||
import utils.ConfigTitiles;
|
|
||||||
|
|
||||||
|
|
||||||
public class LogoActivity extends Activity {
|
public class LogoActivity extends Activity {
|
||||||
@@ -157,7 +154,7 @@ public class LogoActivity extends Activity {
|
|||||||
|
|
||||||
getSharedPreferences("first", Context.MODE_PRIVATE).edit().putInt("first", 1).apply();
|
getSharedPreferences("first", Context.MODE_PRIVATE).edit().putInt("first", 1).apply();
|
||||||
JPushInterface.init(getApplication());
|
JPushInterface.init(getApplication());
|
||||||
Bugly.init(getApplication(), "d45325664f", false);
|
// Bugly.init(getApplication(), "d45325664f", false);
|
||||||
alertDialog.cancel();
|
alertDialog.cancel();
|
||||||
onceOrNot();
|
onceOrNot();
|
||||||
finish();
|
finish();
|
||||||
|
|||||||
@@ -26,7 +26,6 @@ import android.view.Window;
|
|||||||
import android.widget.ImageView;
|
import android.widget.ImageView;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
import com.tencent.bugly.Bugly;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
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.HttpHeaders;
|
||||||
import com.lzy.okgo.model.HttpParams;
|
import com.lzy.okgo.model.HttpParams;
|
||||||
import com.sl.house_property.db.dao.DataBaseHelper;
|
import com.sl.house_property.db.dao.DataBaseHelper;
|
||||||
import com.tencent.bugly.Bugly;
|
|
||||||
|
|
||||||
import java.security.cert.CertificateException;
|
import java.security.cert.CertificateException;
|
||||||
import java.security.cert.X509Certificate;
|
import java.security.cert.X509Certificate;
|
||||||
@@ -94,7 +93,7 @@ public class MyApplication extends Application {
|
|||||||
if (getSharedPreferences("first", Context.MODE_PRIVATE).getInt("first", 0) == 1) {
|
if (getSharedPreferences("first", Context.MODE_PRIVATE).getInt("first", 0) == 1) {
|
||||||
JPushInterface.init(this);
|
JPushInterface.init(this);
|
||||||
JPushInterface.setDebugMode(false);
|
JPushInterface.setDebugMode(false);
|
||||||
Bugly.init(this, "d45325664f", false);
|
// Bugly.init(this, "d45325664f", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// System.setProperty("http.proxyHost", "haotian.hoheng.cn");
|
// System.setProperty("http.proxyHost", "haotian.hoheng.cn");
|
||||||
|
|||||||
Reference in New Issue
Block a user