GitHubPopular
GitHubPopular copied to clipboard
执行react-native upgrade后, android目录下结构就变了
例如
create android\app\src\main\java\com\githubpopular\MainActivity.java
create android\app\src\main\java\com\githubpopular\MainApplication.java
完整记录如下
D:\ubuntu\GitHubPopular (master) ([email protected])
λ react-native upgrade
Upgrading project to react-native v0.32.0
Be sure to read the release notes and breaking changes:
https://github.com/facebook/react-native/releases/tag/v0.32.0
conflict .gitignore
? Overwrite .gitignore? overwrite
force .gitignore
identical .watchmanconfig
conflict .buckconfig
? Overwrite .buckconfig? overwrite
force .buckconfig
conflict ios\GitHubPopular\AppDelegate.h
? Overwrite ios\GitHubPopular\AppDelegate.h? overwrite
force ios\GitHubPopular\AppDelegate.h
conflict ios\GitHubPopular\AppDelegate.m
? Overwrite ios\GitHubPopular\AppDelegate.m? overwrite
force ios\GitHubPopular\AppDelegate.m
conflict ios\GitHubPopular\Base.lproj\LaunchScreen.xib
? Overwrite ios\GitHubPopular\Base.lproj\LaunchScreen.xib? overwrite
force ios\GitHubPopular\Base.lproj\LaunchScreen.xib
conflict ios\GitHubPopular\Images.xcassets\AppIcon.appiconset\Contents.json
? Overwrite ios\GitHubPopular\Images.xcassets\AppIcon.appiconset\Contents.json? overwrite
force ios\GitHubPopular\Images.xcassets\AppIcon.appiconset\Contents.json
conflict ios\GitHubPopular\Info.plist
? Overwrite ios\GitHubPopular\Info.plist? overwrite
force ios\GitHubPopular\Info.plist
conflict ios\GitHubPopular\main.m
? Overwrite ios\GitHubPopular\main.m? overwrite
force ios\GitHubPopular\main.m
conflict ios\GitHubPopularTests\GitHubPopularTests.m
? Overwrite ios\GitHubPopularTests\GitHubPopularTests.m? overwrite
force ios\GitHubPopularTests\GitHubPopularTests.m
conflict ios\GitHubPopularTests\Info.plist
? Overwrite ios\GitHubPopularTests\Info.plist? overwrite
force ios\GitHubPopularTests\Info.plist
conflict ios\GitHubPopular.xcodeproj\project.pbxproj
? Overwrite ios\GitHubPopular.xcodeproj\project.pbxproj? overwrite
force ios\GitHubPopular.xcodeproj\project.pbxproj
conflict ios\GitHubPopular.xcodeproj\xcshareddata\xcschemes\GitHubPopular.xcscheme
? Overwrite ios\GitHubPopular.xcodeproj\xcshareddata\xcschemes\GitHubPopular.xcscheme? overwrite
force ios\GitHubPopular.xcodeproj\xcshareddata\xcschemes\GitHubPopular.xcscheme
conflict android\build.gradle
? Overwrite android\build.gradle? overwrite
force android\build.gradle
conflict android\gradle.properties
? Overwrite android\gradle.properties? overwrite
force android\gradle.properties
conflict android\settings.gradle
? Overwrite android\settings.gradle? overwrite
force android\settings.gradle
conflict android\app\BUCK
? Overwrite android\app\BUCK? overwrite
force android\app\BUCK
conflict android\app\build.gradle
? Overwrite android\app\build.gradle? overwrite
force android\app\build.gradle
conflict android\app\proguard-rules.pro
? Overwrite android\app\proguard-rules.pro? overwrite
force android\app\proguard-rules.pro
create android\app\src\main\java\com\githubpopular\MainActivity.java
create android\app\src\main\java\com\githubpopular\MainApplication.java
To run your app on iOS:
cd D:\ubuntu\GitHubPopular
react-native run-ios
- or -
Open D:\ubuntu\GitHubPopular\ios\GitHubPopular.xcodeproj in Xcode
Hit the Run button
To run your app on Android:
Have an Android emulator running (quickest way to get started), or a device connected
cd D:\ubuntu\GitHubPopular
react-native run-android