最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

android - Expo debug apk stuck on expo welcome screen - Stack Overflow

programmeradmin8浏览0评论

I’m trying to debug my expo project by creating a debug apk with ‘npx expo run android’ but when the app loads on my device I only get the “ Welcome to Expo Start by creating a file in the app directory.” as if it’s a new project Without any code.

This is the only screen my app displays when i launch on a device.

I think the issue could be from my metro.config file because if I delete it and restart server the app runs fine but if I add it back it gets stuck here. but I need metro.config for my native wind styles to work.

metro.config

const { getDefaultConfig } = require("expo/metro-config");
const { withNativeWind } = require('nativewind/metro');

const config = getDefaultConfig(__dirname)

module.exports = withNativeWind(config, { input: './global.css' })
发布评论

评论列表(0)

  1. 暂无评论