android RN配置和打包命令
adb install /Users/qixin/AMApp/android/app/build/outputs/apk/app-debug.apk
/Volumes/Transcend/android/sdk/platform-tools
android adb配置
1、vi .bash_profile
增加内容:
export PATH=/bin:/usr/bin:/usr/local/bin:$PATH
2、source .bash_profile
在.zshrc中添加一行:
source ~/.bash_profile
打包
cd android && ./gradlew assembleRelease
npm run build-android