增加用户名登录

This commit is contained in:
2026-02-24 21:53:24 +08:00
parent f36d6cb9e9
commit 9ae4e8e614
23 changed files with 388 additions and 110 deletions

View File

@@ -5,11 +5,18 @@
android:versionName="1.0.16"
android:installLocation="auto">
<uses-sdk android:minSdkVersion="14"/>
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="34"/>
<uses-feature android:glEsVersion="0x00020000" />
<!-- Android 11+ 包可见性声明,允许与微信交互 -->
<queries>
<package android:name="com.tencent.mm" />
</queries>
<application android:label="@string/app_name"
android:icon="@drawable/icon">
android:icon="@drawable/icon"
android:networkSecurityConfig="@xml/network_security_config"
android:requestLegacyExternalStorage="true">
<!-- Tell Cocos2dxActivity the name of our .so -->
<meta-data android:name="android.app.lib_name"
@@ -19,7 +26,8 @@
android:label="@string/app_name"
android:screenOrientation="landscape"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:configChanges="orientation|keyboardHidden|screenSize">
android:configChanges="orientation|keyboardHidden|screenSize"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

View File

@@ -1,10 +1,13 @@
LOCAL_PATH := $(call my-dir)
######################################################################
# TencentLocation - only available for 32-bit ABIs
ifneq ($(TARGET_ARCH_ABI),arm64-v8a)
include $(CLEAR_VARS)
LOCAL_MODULE := libtencentloc
LOCAL_SRC_FILES := ../../libs/TencentLocation/$(TARGET_ARCH_ABI)/libtencentloc.so
include $(PREBUILT_SHARED_LIBRARY)
endif
#######################################################################
include $(CLEAR_VARS)
@@ -78,7 +81,9 @@ LOCAL_LDFLAGS := -Wl,--allow-multiple-definition
LOCAL_STATIC_LIBRARIES := cocos2dx_static
LOCAL_STATIC_LIBRARIES += android_support
ifneq ($(TARGET_ARCH_ABI),arm64-v8a)
LOCAL_STATIC_LIBRARIES += libtencentloc
endif
# _COCOS_LIB_ANDROID_BEGIN
# _COCOS_LIB_ANDROID_END

View File

@@ -1,8 +1,7 @@
APP_STL := gnustl_static
#TARGET_CPU_API := armeabi-v7a
#APP_ABI := armeabi-v7a
#APP_PLATFORM := android-14
APP_ABI := armeabi-v7a arm64-v8a
APP_PLATFORM := android-21
APP_CFLAGS += -Wno-error=format-security
APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -std=c++11 -fsigned-char