12/11
2019

Android Dev Tools 5.7.1 is Online Now

English Version:
Android Dev Tools 5.7.1 is online now, You can download it from Google play: https://play.google.com/store/apps/details?id=cn.trinea.android.developertools , Features includes:

1. Fix some crashes on Android P
2. Fix the crash of getting network information
3. Fix crash when app exits
4. Fixed crash when viewing file contents

Error show:

java.lang.NoClassDefFoundError:failed resolution of :Lorg/apache/http/ProtocolVersion

https://stackoverflow.com/questions/50461881/java-lang-noclassdeffounderrorfailed-resolution-of-lorg-apache-http-protocolve/53828101#53828101

<uses-library android:name="org.apache.http.legacy" android:required="false" />

https://developer.android.com/about/versions/pie/android-9.0-changes-28#apache-p

 

Fix crash when show dialog after activity destrory

/**
 * Show dialog without Unable to add window BadTokenException
 *
 * @param context
 * @param dialog
 */
public static void show(Context context, android.support.v7.app.AlertDialog dialog) {
    if (context == null || dialog == null || (context instanceof Activity && ((Activity) context).isFinishing())) {
        return;
    }
    dialog.show();
}

/**
 * Show dialog without Unable to add window BadTokenException
 *
 * @param context
 * @param dialog
 */
public static void show(Context context, AlertDialog dialog) {
    if (context == null || dialog == null || (context instanceof Activity && ((Activity) context).isFinishing())) {
        return;
    }
    dialog.show();
}

 

 

中文版:
Android 开发助手 5.7.1 上线,可以从 Google Play应用宝酷安及各大商店下载,主要功能包含:

1. 修复部分 Android P 以上启动崩溃问题
2. 修复部分版本获取网络信息崩溃问题
3. 修复应用退出时崩溃问题
4. 修复部分 Android P 版本以上文件内容查看崩溃问题

 

繁体版:
Android 開發助手 5.7.1 上線,可以從 Google Play應用寶酷安及各大商店下載,主要功能包含:

1. 修複部分 Android P 以上啓動崩潰問題
2. 修複部分版本獲取網絡信息崩潰問題
3. 修複應用退出時崩潰問題
4. 修複部分 Android P 版本以上文件內容查看崩潰問題

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>