OpenDelta: fix build for 6.0

Change-Id: I0d4d428c51fa6a4bcc96e793f088d3ae48daedc1
This commit is contained in:
maxwen 2015-10-22 17:53:34 +02:00
parent 3f7543e594
commit 2d49949c84
2 changed files with 6 additions and 2 deletions

View File

@ -9,6 +9,7 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_SDK_VERSION := 21 LOCAL_SDK_VERSION := 21
LOCAL_JAVA_LIBRARIES := org.apache.http.legacy
LOCAL_JNI_SHARED_LIBRARIES := libopendelta LOCAL_JNI_SHARED_LIBRARIES := libopendelta
LOCAL_REQUIRED_MODULES := libopendelta LOCAL_REQUIRED_MODULES := libopendelta

View File

@ -4,8 +4,8 @@
android:versionCode="10" android:versionCode="10"
android:versionName="1.0" > android:versionName="1.0" >
<uses-sdk <uses-sdk
android:minSdkVersion="21" android:minSdkVersion="23"
android:targetSdkVersion="21" /> android:targetSdkVersion="23" />
<uses-permission android:name="android.permission.WAKE_LOCK" /> <uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
@ -24,6 +24,9 @@
android:allowBackup="false" android:allowBackup="false"
android:icon="@mipmap/ic_launcher_settings" android:icon="@mipmap/ic_launcher_settings"
android:label="@string/app_name" > android:label="@string/app_name" >
<uses-library android:name="org.apache.http.legacy" android:required="false" />
<activity <activity
android:name="eu.chainfire.opendelta.MainActivity" android:name="eu.chainfire.opendelta.MainActivity"
android:label="@string/title" android:label="@string/title"