Skip to content

Commit

Permalink
fix android 9.0 crash
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenHH committed Oct 10, 2019
1 parent d8d3b7b commit 5455fdb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
7 changes: 5 additions & 2 deletions bither-android/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
<!-- -->
<uses-permission android:name="android.permission.GET_TASKS" />


<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />
Expand Down Expand Up @@ -70,7 +69,11 @@
android:hardwareAccelerated="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/BitherTheme">
android:theme="@style/BitherTheme"
android:usesCleartextTraffic="true">

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

<activity
android:name="net.bither.activity.hot.HotActivity"
android:launchMode="singleTask"
Expand Down
3 changes: 0 additions & 3 deletions bither-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ android {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
ndk {
abiFilters "armeabi"
}
}
debug {
// multiDexEnabled true
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ subprojects {
java.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
// jniLibs.srcDirs = ['native-libs']
jniLibs.srcDirs = ['native-libs']
jni.srcDirs = []
}

Expand Down

0 comments on commit 5455fdb

Please sign in to comment.