1.
Clone "https://github.com/ashishjain1547/vaakya_sentence_translation"
2.
Check NPM is installed or not.
$ sudo apt install npm
3.
Once installed:
$ npm --version
9.2.0
4.
~/Desktop/vaakya_sentence_translation$ npm install
5.
~/Desktop/vaakya_sentence_translation$ nano .gitignore
# Dependencies
node_modules/
# Logs
*.log
# React Native specific
ios/build/
android/.gradle/
android/app/build/
android/app/BUCK
android/app/debug.keystore
# IDE-specific files
.idea/
.vscode/
# OS generated files
.DS_Store
6.
Download Android Studio:
https://developer.android.com/studio
OR
From App Center:
7.
Check for JAVA
(base) jain@jain-ThinkPad-T440s:~/Desktop/vaakya_sentence_translation$ java
Command 'java' not found, but can be installed with:
sudo apt install openjdk-17-jre-headless # version 17.0.14+7-1~24.04, or
sudo apt install openjdk-21-jre-headless # version 21.0.6+7-1~24.04.1
sudo apt install default-jre # version 2:1.17-75
sudo apt install openjdk-11-jre-headless # version 11.0.26+4-1ubuntu1~24.04
sudo apt install openjdk-8-jre-headless # version 8u442-b06~us1-0ubuntu1~24.04
sudo apt install openjdk-19-jre-headless # version 19.0.2+7-4
sudo apt install openjdk-20-jre-headless # version 20.0.2+9-1
sudo apt install openjdk-22-jre-headless # version 22~22ea-1
"$ sudo apt install openjdk-17-jre-headless"
8.
(base) jain@jain-ThinkPad-T440s:~/Desktop/vaakya_sentence_translation$ java --version
openjdk 17.0.15 2025-04-15
OpenJDK Runtime Environment (build 17.0.15+6-Ubuntu-0ubuntu124.04)
OpenJDK 64-Bit Server VM (build 17.0.15+6-Ubuntu-0ubuntu124.04, mixed mode, sharing)
9.
(base) jain@jain-ThinkPad-T440s:~/Desktop/vaakya_sentence_translation$ sudo nano ~/.bashrc
(base) jain@jain-ThinkPad-T440s:~/Desktop/vaakya_sentence_translation$ tail -1 ~/.bashrc
export JAVA_HOME="/usr/lib/jvm/java-17-openjdk-amd64"
(base) jain@jain-ThinkPad-T440s:~/Desktop/vaakya_sentence_translation$ echo $JAVA_HOME
(base) jain@jain-ThinkPad-T440s:~/Desktop/vaakya_sentence_translation$ source ~/.bashrc
(base) jain@jain-ThinkPad-T440s:~/Desktop/vaakya_sentence_translation$ echo $JAVA_HOME
/usr/lib/jvm/java-17-openjdk-amd64
10.
~/Desktop/vaakya_sentence_translation$ npx react-native doctor
Common
✓ Node.js - Required to execute JavaScript code
✓ npm - Required to install NPM dependencies
✓ Metro - Required for bundling the JavaScript code (via "npx react-native start")
Android
✖ Adb - No devices and/or emulators connected. Please create emulator with Android Studio or connect Android device.
✖ JDK - Required to compile Java code
- Version found: N/A
- Version supported: >= 17 <= 20
✖ Android Studio - Required for building and installing your app on Android
✖ ANDROID_HOME - Environment variable that points to your Android SDK installation
✓ Gradlew - Build tool required for Android builds
✖ Android SDK - Required for building and installing your app on Android
- Versions found: N/A
- Version supported: 34.0.0
Errors: 5
Warnings: 1
Attempting to fix 6 issues...
11.
(base) jain@jain-ThinkPad-T440s:~/Desktop/vaakya_sentence_translation$ tail -2 ~/.bashrc
export JAVA_HOME="/usr/lib/jvm/java-17-openjdk-amd64"
export PATH="$JAVA_HOME/bin:$PATH"
XX.
Web App Exploration:
What is this app teaching?
This app is teaching you fry-sight words, which are covered in Chapters.
~~~
Difficulty:
No comments:
Post a Comment