React Native版本的PDA代码
Go to file
2025-07-16 08:11:33 +08:00
__tests__ 初版提交 2025-07-04 10:44:57 +08:00
.bundle 初版提交 2025-07-04 10:44:57 +08:00
android 修复图标显示bug 2025-07-04 15:16:04 +08:00
ios 初版提交 2025-07-04 10:44:57 +08:00
src 修改弹窗模块及配色 2025-07-09 17:16:24 +08:00
.eslintrc.js 初版提交 2025-07-04 10:44:57 +08:00
.gitignore 更新gitignore 2025-07-15 18:11:28 +08:00
.prettierrc.js 初版提交 2025-07-04 10:44:57 +08:00
.watchmanconfig 初版提交 2025-07-04 10:44:57 +08:00
app.json 初版提交 2025-07-04 10:44:57 +08:00
App.tsx 修改弹窗模块及配色 2025-07-09 17:16:24 +08:00
babel.config.js 初版提交 2025-07-04 10:44:57 +08:00
Gemfile 初版提交 2025-07-04 10:44:57 +08:00
index.js 初版提交 2025-07-04 10:44:57 +08:00
jest.config.js 初版提交 2025-07-04 10:44:57 +08:00
metro.config.js 初版提交 2025-07-04 10:44:57 +08:00
package.json 修改弹窗模块及配色 2025-07-09 17:16:24 +08:00
README.md 更新README文档 2025-07-05 20:14:01 +08:00
tsconfig.json 初版提交 2025-07-04 10:44:57 +08:00

食用指南

  • npm install
  • cd android
  • ./gradlew clean
  • npm start
  • npm run android

如何解决Android Studio的图标不显示bug

  1. 强制重建字体资源90% 的问题根源)

    # 1. 清理构建缓存
    cd android
    ./gradlew clean
    
    # 2. 确保字体文件被正确复制(关键!)
    # 检查 android/app/build.gradle 是否存在此行:
    apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
    
    # 3. 手动触发字体复制(如果 fonts.gradle 已存在)
    ./gradlew :app:processDebugResources --info
    
  2. 清除模拟器缓存

    • 在模拟器中操作:SettingsApps → 找到您的应用 → StorageClear Cache + Clear Data

    • 或使用命令行:

      adb shell pm clear com.your.app.package  # 替换为实际包名
      
  3. 重启模拟器, 重启metro服务