Ver código fonte

v1.0.0开发:修改Demo和CMake中编译名称

#Suyghur 3 anos atrás
pai
commit
cfa4d4ffde

+ 1 - 1
demo/src/main/res/values/strings.xml

@@ -1,5 +1,5 @@
 <resources>
-    <string name="app_name" translatable="false">Columbus-KTX</string>
+    <string name="app_name" translatable="false">EYuanGameSdk-KTX</string>
 <!--    <string name="gcm_defaultSenderId" translatable="false">38153824010</string>-->
 <!--    <string name="google_api_key" translatable="false">AIzaSyAvNhYCtqGbzqd2aCLTxUAwCVSySDX7tng</string>-->
 <!--    <string name="google_app_id" translatable="false">1:38153824010:android:607f0f217d4cfa889dfcf3</string>-->

+ 4 - 4
library_core/CMakeLists.txt

@@ -32,7 +32,7 @@ add_library(local_openssl STATIC IMPORTED)
 
 
 add_library(
-        columbus
+        eyuangame
         SHARED
         ${DIR_SOURCE}
         ${JSON_SOURCE}
@@ -56,9 +56,9 @@ find_library( # Sets the name of the path variable.
 # build script, prebuilt third-party libraries, or system libraries.
 
 target_link_libraries( # Specifies the target library.
-        columbus
-#        local_crypto
-#        local_openssl
+        eyuangame
+        #        local_crypto
+        #        local_openssl
         # Links the target library to the log library
         # included in the NDK.
         ${log-lib})

+ 0 - 3
library_core/src/main/cpp/aes_utils.cpp

@@ -111,9 +111,6 @@ char *AesUtils::Encrypt(const char *input, const uint8_t *key) {
 //    const uint8_t *key = GetKey();
     const uint8_t *iv = GetIv(key);
 
-    LOGD("%s", key);
-    LOGD("%s", iv);
-
     uint8_t *padding_input = GetPaddingInput(input);
     size_t padding_input_length = strlen((char *) padding_input);
     auto *out = (unsigned char *) malloc(padding_input_length);

+ 1 - 1
library_core/src/main/java/cn/yyxx/eyuangame/core/impl/SdkDrive.kt

@@ -9,7 +9,7 @@ import android.content.Context
 object SdkDrive {
 
     init {
-        System.loadLibrary("columbus")
+        System.loadLibrary("eyuangame")
     }
 
 //    external fun getAesKey()