Browse Source

Updated template game library name

pull/109/head
raysan5 8 years ago
parent
commit
0da88ac5c5
2 changed files with 3 additions and 4 deletions
  1. +1
    -2
      templates/android_project/AndroidManifest.xml
  2. +2
    -2
      templates/android_project/jni/Android.mk

+ 1
- 2
templates/android_project/AndroidManifest.xml View File

@ -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 View File

@ -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)

Loading…
Cancel
Save