@@ -126,13 +126,7 @@ dependencies {
*/
if (!componentTag) {
compile project(':welcome') // ===> 开始模块 建议在模块内添加广告 欢迎页 等页面
- compile project(':home') // ===> 主页模块 里面一般是App的首页 分类楼层页面
- //compile project(':shop') // ===> 店铺模块 店铺列表 详细 等
- //compile project(':setting') // ===> 设置模块 设置 缓存 App分享等
- compile project(':extra') // ===> 额外的一些页面 比如二维码扫描等一些附加功能
- //compile project(':hello')
compile project(':callingdoor')
- //compile project(':sip')
}
/**
* JavaShopAndroid 中间件依赖库
@@ -52,12 +52,6 @@ class Application : BaseApplication() {
JRouter.openDebug()
JRouter.openLog()
JRouter.prepare().create("/welcome/launch").seek()
- JRouter.prepare().create("/home/launch").seek()
- //JRouter.prepare().create("/setting/launch").seek()
- //JRouter.prepare().create("/shop/launch").seek()
- JRouter.prepare().create("/extra/launch").seek()
-
- //JRouter.prepare().create("/hello/launch").seek()
JRouter.prepare().create("/callingdoor/launch").seek()
@@ -117,7 +117,7 @@ dependencies {
compile 'com.github.anrwatchdog:anrwatchdog:1.3.0'
//使用xCrash捕获异常
- implementation 'com.iqiyi.xcrash:xcrash-android-lib:3.0.0'
+ //implementation 'com.iqiyi.xcrash:xcrash-android-lib:3.0.0'
//rk3288接口
compile files('libs/rk3288_api.jar')
@@ -80,12 +80,13 @@ public class AnrFcExceptionUtil implements Thread.UncaughtExceptionHandler {
mDefaultHandler.uncaughtException(thread, ex);
} else {
try {
- Thread.sleep(2000);
+ Thread.sleep(5000);
} catch (InterruptedException e) {
Log.e(TAG, "error : ", e);
- restartApp();
+ //restartApp();
+ AppUpdateHelper.reboot(application);
@@ -1,3 +1,3 @@
-include ':app', ':common', ':welcome', ':home', ':resource', ':middleware', ':extra', ':callingdoor', ':bedlib'
+include ':app', ':common', ':welcome', ':resource', ':middleware', ':callingdoor', ':bedlib'
//'webrtc', 'rtc-chat', 'libwebrtc', ':janus'