diff --git a/src/ui/flutter_app/android/app/CMakeLists.txt b/src/ui/flutter_app/android/app/CMakeLists.txt index e0a7040a..0e139f36 100644 --- a/src/ui/flutter_app/android/app/CMakeLists.txt +++ b/src/ui/flutter_app/android/app/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.4.1) add_definitions(-g -O2 -std=c++17 -D FLUTTER_UI) add_library( # Sets the name of the library. - engine + sanmill # Sets the library as a shared library. SHARED @@ -45,7 +45,7 @@ find_library( # Sets the name of the path variable. target_link_libraries( # Specifies the target library. - engine + sanmill # Links the target library to the log library # included in the NDK. diff --git a/src/ui/flutter_app/android/app/src/main/java/com/calcitem/sanmill/MillEngine.java b/src/ui/flutter_app/android/app/src/main/java/com/calcitem/sanmill/MillEngine.java index c1ae9f48..08a65cb2 100644 --- a/src/ui/flutter_app/android/app/src/main/java/com/calcitem/sanmill/MillEngine.java +++ b/src/ui/flutter_app/android/app/src/main/java/com/calcitem/sanmill/MillEngine.java @@ -21,7 +21,7 @@ package com.calcitem.sanmill; public class MillEngine { static { - System.loadLibrary("engine"); + System.loadLibrary("sanmill"); } public native int startup();