
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
애드몹 프로젝트 생성과정에서 app.json의 코드를 일부 바꿨더니 다음과 같은 에러 메세지가 뜨며 실행이 안됩니다.
작성한 코드 및 에러 메세지
1.app.json 코드
{
"expo": {
"name": "sparta-myhoneytip-syj",
"slug": "sparta-myhoneytip-syj",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#FFFFFF"
}
},
"web": {
"favicon": "./assets/favicon.png"
},
"plugins": [
[
"expo-build-properties",
{
"ios": {
"useFrameworks": "static"
}
}
]
]
"extra": {
"eas": {
"projectId": "e9f702d7-157b-4001-9e6a-6bb2d379513b"
}
}
},
"react-native-google-mobile-ads": {
"android_app_id": "ca-app-pub-xxxxxxxx~xxxxxxxx",
"ios_app_id": "ca-app-pub-xxxxxxxx~xxxxxxxx"
}
2.에러 메시지
Error parsing JSON: {
"expo": {
"name": "sparta-myhoneytip-syj",
"slug": "sparta-myhoneytip-syj",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#FFFFFF"
}
},
"web": {
"favicon": "./assets/favicon.png"
},
"plugins": [
[
"expo-build-properties",
{
"ios": {
"useFrameworks": "static"
}
}
]
]
"extra": {
"eas": {
"projectId": "e9f702d7-157b-4001-9e6a-6bb2d379513b"
}
}
},
"react-native-google-mobile-ads": {
"android_app_id": "ca-app-pub-xxxxxxxx~xxxxxxxx",
"ios_app_id": "ca-app-pub-xxxxxxxx~xxxxxxxx"
}
}
├─ File: C:\Users\서예종\Desktop\sprta-study\sparta-myhoneytip-syj\app.json
└─ Cause: SyntaxError: JSON5: invalid character '\"' at 42:5
40 | ]
41 | ]
> 42 | "extra": {
| ^
43 | "eas": {
44 | "projectId": "e9f702d7-157b-4001-9e6a-6bb2d379513b"
45 | }
