Commit 3fd4ed76 by Lee Jaebin

64bit対応

parent c29e328c
...@@ -44,7 +44,6 @@ ...@@ -44,7 +44,6 @@
android:icon="@drawable/app_icon" android:icon="@drawable/app_icon"
android:label="@string/app_name" android:label="@string/app_name"
android:theme="@style/ABook" android:theme="@style/ABook"
android:allowBackup="false"
android:largeHeap="true" > android:largeHeap="true" >
<!-- LinkingビーコンIFの使用宣言 --> <!-- LinkingビーコンIFの使用宣言 -->
......
...@@ -92,18 +92,27 @@ android { ...@@ -92,18 +92,27 @@ android {
abiFilters "armeabi-v7a", "" abiFilters "armeabi-v7a", ""
} }
} }
x86 {
armv8 {
versionCode defaultConfig.versionCode + 1 versionCode defaultConfig.versionCode + 1
ndk { ndk {
abiFilters "arm64-v8a", ""
}
}
x86 {
versionCode defaultConfig.versionCode + 2
ndk {
abiFilters "x86", "" abiFilters "x86", ""
} }
} }
// 容量が大きいため、コメントアウト
// x86_armv7 { x86_64 {
// ndk { versionCode defaultConfig.versionCode + 3
// abiFilters "x86", "armeabi-v7a", "" ndk {
// } abiFilters "x86_64", ""
// } }
}
} else { } else {
armv7 { armv7 {
versionCode defaultConfig.versionCode versionCode defaultConfig.versionCode
...@@ -111,6 +120,13 @@ android { ...@@ -111,6 +120,13 @@ android {
abiFilters "armeabi-v7a", "" abiFilters "armeabi-v7a", ""
} }
} }
armv8 {
versionCode defaultConfig.versionCode + 1
ndk {
abiFilters "arm64-v8a", ""
}
}
} }
} }
} }
......
...@@ -19,7 +19,7 @@ dependencies { ...@@ -19,7 +19,7 @@ dependencies {
implementation 'com.google.zxing:core:3.2.1' implementation 'com.google.zxing:core:3.2.1'
implementation 'org.jsoup:jsoup:1.9.2' implementation 'org.jsoup:jsoup:1.9.2'
implementation project(':xwalk_core_library') implementation project(':xwalk_core_library')
implementation files('libs/FoxitRDK.jar') implementation project(':FoxitRDK')
implementation project(':SwiftDecoderMobile') implementation project(':SwiftDecoderMobile')
implementation files('libs/sdaiflib.jar') implementation files('libs/sdaiflib.jar')
} }
......
...@@ -2,6 +2,7 @@ package jp.agentec.abook.abv.ui.home.activity; ...@@ -2,6 +2,7 @@ package jp.agentec.abook.abv.ui.home.activity;
import android.app.Activity; import android.app.Activity;
import android.content.Intent; import android.content.Intent;
import android.os.Build;
import android.os.Bundle; import android.os.Bundle;
import jp.agentec.abook.abv.launcher.android.R; import jp.agentec.abook.abv.launcher.android.R;
...@@ -14,8 +15,11 @@ public class PreSplashActivity extends Activity { ...@@ -14,8 +15,11 @@ public class PreSplashActivity extends Activity {
static { static {
try { try {
System.loadLibrary("skia_android"); // アーキテクチャがx86以外の場合のみ、以下のライブラリをロードする。
System.loadLibrary("ozrv"); if (!Build.CPU_ABI.contains("x86")) {
System.loadLibrary("skia_android");
System.loadLibrary("ozrv");
}
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); 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', ':SwiftDecoderMobile' include ':ABVJE_BL', ':ABVJE_Launcher_Android', ':ABVJE_Res_Default_Android', ':ABVJE_UI_Android', ':SwiftDecoderMobile'
include ':xwalk_core_library' 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