본문 바로가기
테크/기타

[React Native] 안드로이드 기본 앱 개발 #2 (expo 플랫폼 사용, apk 작성, 배포)

by ahnne 2017. 9. 30.

# Goal.

- react native 기반 안드로이드 앱을 작성하고, apk 생성

- expo 플랫폼 사용(react native 앱의 작성 및 배포 등을 도와주는 플랫폼, https://expo.io/)


# 참고.

- react native 안드로이드 기본앱 만들기 #1 (http://blog.sbahn.kr/877)

https://facebook.github.io/react-native/docs/getting-started.html

https://docs.expo.io/versions/latest/guides/building-standalone-apps.html



(작성중)



 $ npm install -g exp

 


  {

   "expo": {

    "name": "Your App Name",

    "icon": "./path/to/your/app-icon.png",

    "version": "1.0.0",

    "slug": "your-app-slug",

    "sdkVersion": "17.0.0",

    "ios": {

      "bundleIdentifier": "com.yourcompany.yourappname"

    },

    "android": {

      "package": "com.yourcompany.yourappname"

    }

   }

 }



 $ exp start

 $ exp build:android

 

 [exp] No currently active or previous builds for this project.


 Would you like to upload a keystore or have us generate one for you?

 If you don't know what this means, let us handle it! :)


  1) Let Expo handle the process!

  2) I want to upload my own keystore!



 $ exp build:status