Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lib_base
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sikang
lib_base
Commits
1ef6f65a
Commit
1ef6f65a
authored
Nov 27, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove bugly
parent
a7b029c6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
app_build.gradle
+1
-1
build.gradle
+1
-1
src/main/java/com/common/base/BaseApplication.java
+3
-4
No files found.
app_build.gradle
View file @
1ef6f65a
...
@@ -48,7 +48,7 @@ android {
...
@@ -48,7 +48,7 @@ android {
ndk
{
ndk
{
abiFilters
'armeabi-v7a'
//,'arm64-v8a'//,'armeabi'//, 'arm64-v8a', 'x86'
abiFilters
'armeabi-v7a'
//,'arm64-v8a'//,'armeabi'//, 'arm64-v8a', 'x86'
}
}
buildConfigField
(
'String'
,
'BUGLY_APPID'
,
"\"
f35508ee93
\""
)
buildConfigField
(
'String'
,
'BUGLY_APPID'
,
"\"\""
)
dimension
"channel"
dimension
"channel"
}
}
...
...
build.gradle
View file @
1ef6f65a
...
@@ -106,7 +106,7 @@ dependencies {
...
@@ -106,7 +106,7 @@ dependencies {
compileOnly
(
name:
'android_spirit-20190220-2.0.0.1'
,
ext:
'aar'
)
compileOnly
(
name:
'android_spirit-20190220-2.0.0.1'
,
ext:
'aar'
)
//bugly
//bugly
compileOnly
'com.tencent.bugly:crashreport:3.0.0'
//
compileOnly 'com.tencent.bugly:crashreport:3.0.0'
api
(
name:
'libfbref-release'
,
ext:
'aar'
)
api
(
name:
'libfbref-release'
,
ext:
'aar'
)
...
...
src/main/java/com/common/base/BaseApplication.java
View file @
1ef6f65a
...
@@ -8,7 +8,6 @@ import android.support.multidex.MultiDex;
...
@@ -8,7 +8,6 @@ import android.support.multidex.MultiDex;
import
android.support.multidex.MultiDexApplication
;
import
android.support.multidex.MultiDexApplication
;
import
android.text.TextUtils
;
import
android.text.TextUtils
;
import
com.tencent.bugly.crashreport.CrashReport
;
import
tech.starwin.LibConfig
;
import
tech.starwin.LibConfig
;
...
@@ -45,9 +44,9 @@ public abstract class BaseApplication extends MultiDexApplication {
...
@@ -45,9 +44,9 @@ public abstract class BaseApplication extends MultiDexApplication {
@Override
@Override
public
void
onCreate
()
{
public
void
onCreate
()
{
super
.
onCreate
();
super
.
onCreate
();
if
(!
TextUtils
.
isEmpty
(
LibConfig
.
BUGLY_APPID
))
{
//
if (!TextUtils.isEmpty(LibConfig.BUGLY_APPID)) {
CrashReport
.
initCrashReport
(
getApplicationContext
(),
LibConfig
.
BUGLY_APPID
,
false
);
//
CrashReport.initCrashReport(getApplicationContext(), LibConfig.BUGLY_APPID, false);
}
//
}
AppLanguageUtils
.
setLanguage
(
this
,
LibConfig
.
LANGUAGE
);
AppLanguageUtils
.
setLanguage
(
this
,
LibConfig
.
LANGUAGE
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment