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

I’m trying to debug my expo project by creating a debug apk with ‘npx expo run android’ but when the ap

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' })

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744391632a4571932.html

相关推荐

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

    I’m trying to debug my expo project by creating a debug apk with ‘npx expo run android’ but when the ap

    7天前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信