Commit 8541df53 by Lee Jaebin

#34413 Android 64bit対応

parent 14959da0
......@@ -41,7 +41,6 @@
android:icon="@drawable/app_icon"
android:label="@string/app_name"
android:theme="@style/ABook"
android:allowBackup="false"
android:largeHeap="true" >
<service android:name="jp.agentec.abook.abv.cl.push.ABVFcmListenerService">
<intent-filter>
......
......@@ -92,12 +92,28 @@ android {
abiFilters "armeabi-v7a", ""
}
}
x86 {
armv8 {
versionCode defaultConfig.versionCode + 1
ndk {
abiFilters "arm64-v8a", ""
}
}
x86 {
versionCode defaultConfig.versionCode + 2
ndk {
abiFilters "x86", ""
}
}
x86_64 {
versionCode defaultConfig.versionCode + 3
ndk {
abiFilters "x86_64", ""
}
}
// 容量が大きいため、コメントアウト
// x86_armv7 {
// ndk {
......@@ -111,6 +127,12 @@ android {
abiFilters "armeabi-v7a", ""
}
}
armv8 {
versionCode defaultConfig.versionCode + 1
ndk {
abiFilters "arm64-v8a", ""
}
}
}
}
}
......
......@@ -10,7 +10,7 @@ android {
buildToolsVersion '27.0.3'
defaultConfig {
minSdkVersion 15
minSdkVersion 16
targetSdkVersion 28
//abvEnvironments
resValue("string", "acms_address", "${acms_address}")
......
......@@ -20,7 +20,7 @@ dependencies {
implementation 'com.google.zxing:core:3.2.1'
implementation 'org.jsoup:jsoup:1.9.2'
implementation project(':xwalk_core_library')
implementation files('libs/FoxitRDK.jar')
implementation project(':FoxitRDK')
}
android {
......@@ -28,7 +28,7 @@ android {
buildToolsVersion '27.0.3'
defaultConfig {
minSdkVersion 15
minSdkVersion 16
targetSdkVersion 28
multiDexEnabled true
}
......
......@@ -2,6 +2,7 @@ package jp.agentec.abook.abv.ui.home.activity;
import android.app.Activity;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import jp.agentec.abook.abv.launcher.android.R;
......@@ -14,8 +15,11 @@ public class PreSplashActivity extends Activity {
static {
try {
System.loadLibrary("skia_android");
System.loadLibrary("ozrv");
// アーキテクチャがx86以外の場合のみ、以下のライブラリをロードする。
if (!Build.CPU_ABI.contains("x86")) {
System.loadLibrary("skia_android");
System.loadLibrary("ozrv");
}
} catch (Exception e) {
e.printStackTrace();
}
......
configurations.maybeCreate("default")
artifacts.add("default", file('FoxitRDK.aar'))
\ No newline at end of file
include ':ABVJE_BL', ':ABVJE_Launcher_Android', ':ABVJE_Res_Default_Android', ':ABVJE_UI_Android'
include ':xwalk_core_library'
include ':FoxitRDK'
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment