- eas.json파일에서 내용을 바꿔준다
{
"build": {
"preview": {
"android": {
"buildType": "apk"
}
},
"preview2": {
"android": {
"gradleCommand": ":app:assembleRelease"
}
},
"preview3": {
"developmentClient": true
},
"production": {}
}
}
- 이름과 아이콘을 설정해준다.
{
"expo": {
"name": "체험단시대",
"version": "1.0.0",
"slug": "your-app-slug",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"sdkVersion": "49.0.16",
"icon":"./assets/allinone.png",
"ios": {
"bundleIdentifier": "com.auraworks.test2134"
},
"android": {
"package": "com.auraworks.test2134"
},
"extra": {
"eas": {
"projectId": "1c56e053-7a8b-4029-82ec-20f3dc0fcd91"
}
}
}
}
- 명령어를 입력한다.
eas build -p android --profile preview