Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RvApp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lify
RvApp
Commits
5f2732e9
Commit
5f2732e9
authored
Oct 30, 2019
by
jianglx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改仅在debug模式下日志记录与bug捕获
parent
a4cc0cda
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
build.gradle
RvClient/build.gradle
+2
-2
RvClientApplication.java
RvClient/src/main/java/com/xxfc/rv/RvClientApplication.java
+4
-2
No files found.
RvClient/build.gradle
View file @
5f2732e9
...
@@ -8,8 +8,8 @@ android {
...
@@ -8,8 +8,8 @@ android {
minSdkVersion
rootProject
.
ext
.
minSdkVersion
minSdkVersion
rootProject
.
ext
.
minSdkVersion
targetSdkVersion
rootProject
.
ext
.
targetSdkVersion
targetSdkVersion
rootProject
.
ext
.
targetSdkVersion
flavorDimensions
"default"
flavorDimensions
"default"
versionCode
15
4
versionCode
15
1
versionName
"1.5.
4
"
versionName
"1.5.
1
"
multiDexEnabled
true
multiDexEnabled
true
...
...
RvClient/src/main/java/com/xxfc/rv/RvClientApplication.java
View file @
5f2732e9
...
@@ -69,8 +69,10 @@ public class RvClientApplication extends FrameApp {
...
@@ -69,8 +69,10 @@ public class RvClientApplication extends FrameApp {
ShareInstall
.
getInstance
().
init
(
this
);
ShareInstall
.
getInstance
().
init
(
this
);
ShareInstall
.
getInstance
().
reportRegister
();
ShareInstall
.
getInstance
().
reportRegister
();
}
}
LogUtil
.
setLogEnable
(
true
,
getApplicationContext
());
if
(
BuildConfig
.
DEBUG
){
CrashHandler
.
getInstance
().
init
(
getApplicationContext
());
LogUtil
.
setLogEnable
(
true
,
getApplicationContext
());
CrashHandler
.
getInstance
().
init
(
getApplicationContext
());
}
// 在使用 SDK 各组间之前初始化 context 信息,传入 ApplicationContext
// 在使用 SDK 各组间之前初始化 context 信息,传入 ApplicationContext
SDKInitializer
.
initialize
(
this
);
SDKInitializer
.
initialize
(
this
);
//自4.3.0起,百度地图SDK所有接口均支持百度坐标和国测局坐标,用此方法设置您使用的坐标类型.
//自4.3.0起,百度地图SDK所有接口均支持百度坐标和国测局坐标,用此方法设置您使用的坐标类型.
...
...
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