Forráskód Böngészése

Updated template game library name

raysan5 9 éve
szülő
commit
0da88ac5c5

+ 1 - 2
templates/android_project/AndroidManifest.xml

@@ -29,8 +29,7 @@
                 <!-- android:theme="@android:style/Theme.NoTitleBar.Fullscreen" -->
                 <!-- android:screenOrientation="portrait" -->
             <!-- Tell NativeActivity the name of our .so -->
-            <!--<meta-data android:name="android.app.lib_name" android:value="raylib_game" /> -->
-            <meta-data android:name="android.app.lib_name" android:value="@string/app_name" />
+            <meta-data android:name="android.app.lib_name" android:value="raylib_game" />
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
                 <category android:name="android.intent.category.LAUNCHER" />

+ 2 - 2
templates/android_project/jni/Android.mk

@@ -73,7 +73,7 @@ include $(PREBUILT_STATIC_LIBRARY)
 include $(CLEAR_VARS)
 
 # Module name
-LOCAL_MODULE     := raylibGame
+LOCAL_MODULE     := raylib_game
 
 # Module source files
 LOCAL_SRC_FILES  := basic_game.c
@@ -95,7 +95,7 @@ LOCAL_STATIC_LIBRARIES := android_native_app_glue raylib openal
 # NOTE: It brokes the build, using static library instead
 #LOCAL_SHARED_LIBRARIES := openal
 
-# Build the shared library libraylibGame.so
+# Build the shared library libraylib_game.so
 include $(BUILD_SHARED_LIBRARY)
 
 $(call import-module,android/native_app_glue)