-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreactnative-fixup.txt
More file actions
106 lines (89 loc) · 5.19 KB
/
reactnative-fixup.txt
File metadata and controls
106 lines (89 loc) · 5.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
INFO:
*******
This script MAY help you. You *should* have run "npx react-native doctor"
and fixed the issues first. This may help you with issues there if you can't figure out why doctor is failing.
BUT DO NOT try to run-android without BOTH "doctor" and this script reporting success.
Note that "WARN:" does not mean "Error", it means "be sure this is correct."
All output from this script will be logged to reactnative-fixup.txt
***********
INFO: Script is current version (1.4.1) [651]
INFO: (Skipping show_newest_script_version) [1364]
INFO: Found npm. [670]
INFO: JAVA_HOME is set to /Library/Java/JavaVirtualMachines/jdk-20.0.2.jdk/Contents/Home [685]
INFO: JAVA_HOME points to an existing directory. [689]
INFO: java is in your path. [699]
INFO: Detected version "20.0.2" of Java. [722]
INFO: Java version is correct. [726]
INFO: java executable location matches up with JAVA_HOME. [743]
INFO: Environment var(s) point to an Android SDK location /Users/alejandroramos/Library/Android/sdk. [760]
INFO: Android SDK appears to exist. [764]
INFO: SDK and JDK paths appear to be good. [802]
INFO: brew exists. [813]
INFO: Project is git-controlled. [826]
INFO: We are in an NPM project. [841]
INFO: We are really in a React-native project. [865]
INFO: Confirmed: this is a CLI project. [876]
INFO: Confirmed: this is not an expo rebuild/exported project. [887]
INFO: Found cocoapods. [899]
INFO: Xcode has been selected. [917]
INFO: Found watchman. [932]
INFO: Found ios-deploy. [947]
INFO: Found adb. [958]
INFO: keytool is in path. [969]
INFO: Found emulator. [980]
INFO: bundletool destination folder of /Users/alejandroramos/Library/ exists. [994]
INFO: Found current version of bundletool. [997]
INFO: Checking [newest published] npm package versions... [1013]
WARN: Expecting version ^2.13.4 of react-native-gesture-handler but found ^2.14.0 [1021]
WARN: Expecting version ^3.5.4 of react-native-reanimated but found ^3.6.0 [1021]
INFO: (Tell BJM or write an issue against this script on GitHub) [1028]
INFO: ...Done checking npm package versions. [1030]
INFO: Command-line tools are in path. [1036]
INFO: Correct NDK is installed. [1044]
INFO: Android SDK build-tools version 30.0.3 exists. [1056]
INFO: Android SDK build-tools version 33.0.0 exists. [1056]
INFO: Android SDK build-tools version 34.0.0 exists. [1056]
INFO: (All build-tools versions exist) [1064]
INFO: JAVA_VERSION is set correctly. [1078]
INFO: build.gradle file updated successfully with kotlinVersion 1.7.10. [1113]
INFO: app/build.gradle file updated successfully with signingConfigs. [1135]
INFO: gradle.properties file updated successfully with keys. [1152]
INFO: gradle.properties file updated successfully with release section. [1172]
INFO: Gradle wrapper distributionUrl updated successfully. [1188]
INFO: org.gradle.java.home added or updated in gradle.properties. [1212]
INFO: android/universal.json file already exists. (not modifying it) [1218]
INFO: App.js exists and has not been modified. [1242]
INFO: @react-native-masked-view/masked-view (^0.3.0) is present and up to date [1277]
WARN: Updating @react-navigation/drawer from ^6.6.4 to ^6.6.6 [1271]
WARN: Updating @react-navigation/native from ^6.1.8 to ^6.1.9 [1271]
WARN: Updating @react-navigation/native-stack from ^6.9.14 to ^6.9.17 [1271]
WARN: Updating @react-navigation/stack from ^6.3.18 to ^6.3.20 [1271]
INFO: react-native-asset (^2.1.1) is present and up to date [1277]
INFO: react (18.2.0) is present and up to date [1277]
INFO: react-native (0.72.7) is present and up to date [1277]
INFO: react-native-gesture-handler (^2.13.4) is present and up to date [1277]
INFO: react-native-reanimated (^3.5.4) is present and up to date [1277]
WARN: Updating react-native-safe-area-context from ^4.7.2 to ^4.7.4 [1271]
WARN: Updating react-native-screens from ^3.25.0 to ^3.27.0 [1271]
INFO: Backing up package.json to package.json.bak [1288]
WARN: Removing existing package.json.bak file [1292]
INFO: package.json file adjusted successfully. [1303]
INFO: assets/fonts dir exists already [1309]
INFO: assets/audio dir exists already [1316]
INFO: react-native.config.js exists already; not overwritten [1323]
INFO: Keystore already exists. (not overwriting it) [1337]
INFO: Found existing .prettierrc or .prettierrc.js, so not modifying it. [1349]
INFO: Be sure to:
$ npm install
$ npx react-native-asset
*FOR IOS Before* your first build (or after you install a new NPM package) you must:
$ sudo gem update cocoapods --pre
$ npx pod-install
$ cd ios && pod update && cd ..
$ npx react-native run-android *(or)* run-ios
[to build an APK]
$ npx react-native-asset
$ cd android && ./gradlew build && ./gradlew bundleRelease
$ java -jar "/Users/alejandroramos/Library/bundletool-all-1.15.6.jar" build-apks --bundle=app/build/outputs/bundle/release/app-release.aab --output=app/build/outputs/apk/release/app-release.apks --mode=universal --ks=../android/app/my-release-key.jks --ks-pass=pass:12345678 --ks-key-alias=my-key-alias --key-pass=pass:12345678
$ java -jar "/Users/alejandroramos/Library/bundletool-all-1.15.6.jar" extract-apks --apks=app/build/outputs/apk/release/app-release.apks --output-dir=app/build/outputs/apk/release/ --device-spec=../android/universal.json
*** (1.4.1) Message type counts: 0 fatal, 9 warn, 0 error, 60 info, 0 fixes