Hi Raghav, thanks for the series. There are only 4 videos on this series. When do we get remaining 3 videos. I am looking for iOS setup
@RaghavPal
3 ай бұрын
The three remaining videos will come this week and I will start on iOS setup from next week
@reviewkiemtiencucde825
3 ай бұрын
the video very beautiful, very well, thank you for sharing
@RaghavPal
3 ай бұрын
Most welcome
@techforyou6969
3 ай бұрын
Thankyou so much sir , great work
@RaghavPal
3 ай бұрын
Most welcome
@WaiMonMonPhue
Күн бұрын
Thanks for sharing. Regarding create avd, I am not getting emulator folder when installing sdkmanager "system-images;android-33;google_apis;x86_64". I am getting "system images" folder instead of emulator. Although I rename as emulator and try to create avd, get emulator must be installed error. Another try I download emulator manually and used cmd to create avd, getting "path is not valid system image paths are: null" error message. Hope you see this comment and reply to fix my problem. Thanks
@sajithdilshan2936
3 ай бұрын
super !!
@RaghavPal
3 ай бұрын
Thanks
@NadiaHashemi-cv4xx
2 ай бұрын
The videos are great and useful, is there any way that you can help us with the setup directly. I think I just stuck in one part and giving a hard time
@RaghavPal
2 ай бұрын
Nadia In these lectures, I have tried to guide step by step from scratch.. let me know what specific step you are facing issue with and what is the issue
@NadiaHashemi-cv4xx
2 ай бұрын
@@RaghavPal I have problem in this section when I try to use sdkmanager --list which is the : Step 4 : Download platform-tools and build-tools for the specific Android OS Version that we need for our app testing Can download from Android Studio downloads page OR Run command: sdkmanager --list We can install packages in a single command, e.g. sdkmanager "platform-tools" "build-tools;33.0.0" Or we can install packages using separate commands, e.g. sdkmanager "platforms-tools" sdkmanager "build-tools;33.0.0" These whole doesn't work and everytime I try it says command not found. Not sure what I'm doing wrong. I already used the second option to use the android studio for the running emulator.
@RaghavPal
Ай бұрын
Nadia First, ensure that you have the Android SDK installed and that the necessary command-line tools are available. Here are a few steps you can follow: 1. Install Android Studio Command-line Tools (cmdline-tools): - If you're using Android Studio, open it and go to File > Settings > Appearance & Behavior > System Settings > Android SDK. - Check the "Show Obsolete packages" option. - Look for the "Android SDK Command-line Tools" and make sure it's installed. If not, install it. - Apply the changes and restart Android Studio 2. Alternative Method (Without Android Studio): - Open a terminal or command prompt. - Check if there are any packages to be updated by running: ``` sdkmanager --list ``` - If there are updates, run the following commands (make sure you have a good internet connection): ``` sdkmanager --update sdkmanager --install "cmdline-tools;latest" ``` - Finally, run: ``` flutter doctor --android-licenses ``` This should resolve the issue¹. 3. Environment Variables: - Ensure that your environment variables (like `ANDROID_HOME` and `PATH`) are properly configured. These variables should point to the correct Android SDK location. Give these steps a try -
@nekkantimahalaxmi1906
3 ай бұрын
Thank you raghavan. I am unable to open UI automator in Mac. Getting error as "SWT folder '/opt/homebrew/Caskroom/android-sdk/4333796/tools/lib/aarch64' does not exist. Please export ANDROID_SWT to point to the folder containing swt.jar for your platform." Could you please help on this
@RaghavPal
3 ай бұрын
Nekkanti Let's troubleshoot this step by step: 1. Verify Android SDK Installation: - First, ensure that you have the Android SDK installed on your Mac. You can download it from the official Android Studio website. - Make sure you've set up the `ANDROID_HOME` environment variable correctly. This variable should point to the location where your Android SDK is installed. 2. Check the Location of SWT Folder: - The error message indicates that the SWT folder is missing. Let's verify its location. - Open a terminal window and run the following command to find the location of the `swt.jar` file: ``` find /opt/homebrew/Caskroom/android-sdk/ -name swt.jar ``` - If the file is found, note down its path. 3. Export ANDROID_SWT Environment Variable: - Export the `ANDROID_SWT` environment variable to point to the folder containing `swt.jar`. Replace `` with the actual path you found in step 2: ``` export ANDROID_SWT= ``` - You can add this line to your shell profile (e.g., `.bashrc`, `.zshrc`, or `.profile`) to make it persistent across terminal sessions. 4. Restart UI Automator: - Close any open instances of UI Automator. - Open a new terminal window and try running UI Automator again: ``` uiautomatorviewer ``` - If everything is set up correctly, the UI Automator Viewer should launch without errors. 5. Additional Troubleshooting: - If you're still facing issues, consider the following: - Check if there are any updates available for Android SDK or UI Automator. - Verify that your Android SDK installation is complete and up to date. - Ensure that your Java Development Kit (JDK) is also properly configured. Remember to replace `` with the actual path to the `swt.jar` file
@TRB202
3 ай бұрын
hi @ragav i'm getting PANIC: Avd's CPU Architecture 'arm64' is not supported by the QEMU2 emulator on x86_64 host. , what should i do now ?
@RaghavPal
3 ай бұрын
Nazra The error message you're encountering indicates that the AVD's CPU architecture 'arm64' is not supported by the QEMU2 emulator on an x86_64 host. Try using a emulator with different CPU architecture (other than ARM) Let's break down the situation and explore possible solutions: 1. Emulator Limitations: - ARM64 emulation on an x86_64 host is currently only possible up to API level 27 (Oreo) - Unfortunately, newer Android versions (such as Android 31) with ARM64 architecture cannot be directly emulated on an x86_64 host. 2. Workarounds: - While running ARM64 apps on an x86_64 host is challenging, here are some workarounds you can consider: a. Use Older System Images: - Create an AVD using an older system image (e.g., Android 27 or earlier) that supports ARM64 emulation. - Keep in mind that using older system images may limit access to newer features and APIs. b. Include x86_64 Binaries: - If your app includes native libraries (e.g., C or C++), ensure that you have binaries for both ARM64 (arm64-v8a) and x86_64 architectures. - The APK's `lib` directory should contain folders for both `arm64-v8a` and `x86_64`. - If you don't have x86_64 binaries, consider obtaining or building them and including them in your APK¹. c. Run on Physical Devices: - If possible, test your app on physical devices with ARM64 CPUs. Physical devices provide accurate testing environments for specific architectures. d. CPU Host Flag: - When launching the emulator, consider adding the `-cpu host` flag to the `qemu-system-x86_64` command. - For example: ``` qemu-system-x86_64 -m 4000 -vga virtio -accel hvf -usb -device usb -tablet -drive file=ubuntu.qcow2,if=virtio -cpu host ``` - This flag allows the emulator to use the host's CPU capabilities, which might improve compatibility³. 3. Future Considerations: - Keep an eye on updates to the Android Emulator and QEMU. Newer versions may improve ARM64 emulation support on x86_64 hosts. Remember that emulating ARM64 on an x86_64 host has limitations, so choose the best approach based on your specific requirements
@saichaitanyasai3836
17 күн бұрын
hi when i am creating the avd it is telling like install emulator
@RaghavPal
17 күн бұрын
Sai 1. Check Android SDK Installation: - Ensure that the Android SDK is properly installed on your system. You can verify this by running the command `sdkmanager --list` in your terminal or command prompt. This will list all installed SDK packages. 2. Install the Emulator Package: - If the emulator package is not installed, you can install it using the following command: ```bash sdkmanager "emulator" ``` 3. Verify AVD Manager: - Open Android Studio and navigate to Tools > AVD Manager. Ensure that you have at least one AVD configured. If not, create a new AVD by following the prompts. 4. Set Up Environment Variables: - Make sure that the environment variables `ANDROID_HOME` and `PATH` are correctly set. They should point to the location of your Android SDK. For example: ```bash export ANDROID_HOME=/path/to/your/sdk export PATH=$ANDROID_HOME/emulator:$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$ANDROID_HOME/platform-tools:$PATH ``` 5. Start the Emulator Manually: - Try starting the emulator manually to ensure it works. Use the command: ```bash emulator -avd ``` - Replace `` with the name of your AVD. 6. Check Appium Configuration: - Ensure that your Appium configuration is correct. Your desired capabilities should include the correct `platformName`, `deviceName`, and `app` path. For example: ```json { "platformName": "Android", "deviceName": "emulator-5554", "app": "/path/to/your/app.apk", "automationName": "UiAutomator2" } ``` 7. Update Appium and Android Studio: - Make sure you are using the latest versions of Appium and Android Studio. Sometimes, compatibility issues can arise from using outdated versions. 8. Check for Errors in Logs: - If the problem persists, check the logs for any specific error messages. This can provide more insight into what might be going wrong. --
@nekkantimahalaxmi1906
3 ай бұрын
please upload remaining videos
@RaghavPal
3 ай бұрын
Sure Nekkanti, next video coming tomorrow.
@JSeydl1788
Ай бұрын
Hi, I'm having an issue in my command prompt hoping you can help me. I attached the message. I am particularly concerned about the PANIC message. C:\android\cmdline-tools\lastest\bin>emulator -avd myAVD_2 INFO | Storing crashdata in: C:\Users\12017\AppData\Local\Temp\\AndroidEmulator\emu-crash-34.2.15.db, detection is enabled for process: 29596 INFO | Android emulator version 34.2.15.0 (build_id 11906825) (CL:N/A) INFO | Found systemPath C:\SDKTools\system-images\android-VanillaIceCream\google_apis_ps16k\arm64-v8a\ PANIC: Avd's CPU Architecture 'arm64' is not supported by the QEMU2 emulator on x86_64 host. Thanks in advance for your help, and for your videos. They are great!
@RaghavPal
Ай бұрын
Joe The error message indicates that the AVD (Android Virtual Device) you're trying to run has an 'arm64' CPU architecture, but it's not supported by the QEMU2 emulator on an x86_64 host. Here are some insights and potential solutions: 1. Emulator Limitations: - ARM64 emulation on an x86_64 host is currently only possible up to API level 27 (Oreo). - If your AVD is using a higher API level (e.g., Android 33), it won't work on an x86_64 host due to the architecture mismatch 2. Possible Solutions: - Use a Hardware Device: - Consider using a physical ARM64 device (if available) for testing. Hardware devices provide more reliable results and support the latest APIs. - Install Android SDK Directly from Android Studio: - Uninstall any existing Android SDK installations (e.g., via Homebrew). - Download and install Android Studio directly from the official homepage. - Set up your AVD using Android Studio, which should handle the correct system images and configurations 3. Note on Custom Emulators: - While custom emulators might be tempting, they won't necessarily solve the issue. The QEMU2 emulator has specific limitations and reasons for not supporting certain architectures on x86_64 hosts Remember that running an AVD with ARM64 architecture on an x86_64 host can be challenging due to these limitations. If possible, consider using a physical ARM64 device or adjusting your AVD configuration accordingly -
@tabitavadranam1808
14 күн бұрын
sir iwas notgetting emulator folder sir could pls helpme to get it
@RaghavPal
14 күн бұрын
Tabita I'd be happy to help you with that. Let's break down the steps to create an Android Virtual Device (AVD) and troubleshoot the issue of not seeing the emulator folder. Step 1: Check if you have Android Studio installed Make sure you have Android Studio installed on your computer. If you don't have it, download and install it from the official website: Step 2: Launch Android Studio Open Android Studio on your computer. Step 3: Check if you have the Android SDK installed In Android Studio, go to File > Settings (on Windows/Linux) or Android Studio > Preferences (on Mac). Then, navigate to Appearance & Behavior > System Settings > Android SDK. Check if you have the Android SDK installed and the path is correct. If not, download and install the Android SDK. Step 4: Create a new Android Virtual Device (AVD) In Android Studio, go to Tools > Android > AVD Manager. This will open the AVD Manager window. Click on Create Virtual Device. Select the device configuration you want to emulate (e.g., Nexus 5X) and click Next. Choose the system image you want to use (e.g., Android 11.0) and click Next. Fill in the details for your AVD, such as the name, and click Finish. Step 5: Check for the emulator folder After creating the AVD, go back to the AVD Manager window. You should see your newly created AVD listed. Click on the three dots at the end of the row and select Show on Disk. This should open the folder where your AVD is stored, which includes the emulator folder. Troubleshooting If you still don't see the emulator folder, try the following: * Check if you have sufficient disk space available. * Make sure you have the necessary permissions to create folders and files in the Android SDK directory. * Try restarting Android Studio or your computer. * If you're using a virtual machine or a cloud-based environment, ensure that the Android SDK and emulator are installed and configured correctly. -
@WhiteCoralRaven
22 күн бұрын
Halo ragav, my test is run succeasfuly, but it always get "Error @wdio/appium-service: appium exited before timeout (exit code: null), do you know how to fix this?
@RaghavPal
22 күн бұрын
This can help: discuss.appium.io/t/error-wdio-appium-service-appium-exited-before-timeout/40704
@user-kr5cm3er3h
3 ай бұрын
please when are you uploading the sixth and seventh videos
@RaghavPal
3 ай бұрын
Martins, 6th video is coming this Thursday and next very soon
@fathimanazra1279
3 ай бұрын
hi ragav , i'm facing a new issue for UpsideDownSand i don't have arm 64 , is it okay to fetch another virtual device which is contain arm64 ? ( for me showing Vannila Icecrem arm 64 )
@RaghavPal
3 ай бұрын
Yes Nazra, check OS of your system and accordingly create the Virtual Device. I used ARM as I was using Mac os with apple m2 chip
@fathimanazra1279
3 ай бұрын
@@RaghavPal I think its better to upload for windows as well I'm still stuck on that part got so panic error in cmd
@RaghavPal
3 ай бұрын
oh.. got that.. I believe i had mentioned it while recording..
@fathimanazra1279
3 ай бұрын
@@RaghavPal yes , you've mentioned but not in windows ? Can you add a new vdo in windows also . Please sir
@RaghavPal
3 ай бұрын
okay.. i will check
@ahmedezzat5883
2 ай бұрын
many thanks for this playlist and for your work , i am facing an issue when I start running the code (org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. ) Host info: host
@RaghavPal
2 ай бұрын
Ahmed The `org.openqa.selenium.SessionNotCreatedException` occurs when a new session cannot be created. Here are some possible solutions: 1. Restart Appium Server: If the previous session wasn't shut down properly, this issue can occur. Try restarting the Appium server, and it should resolve the problem 2. Update ChromeDriver: Delete the old ChromeDriver (version 96) from the cache (usually located at `/usr/local/bin/chromedriver`). Let Selenium download the latest driver programmatically, which should solve the issue 3. Browser and Driver Compatibility: - Uninstall your existing browser and reinstall a version that matches the driver. For Google Chrome, you can download a compatible version [here](chrome.ywswge.cn/). - Ensure that your browser driver (e.g., ChromeDriver) matches the browser version. Download the corresponding driver version [here](chromedriver.chromium.org/downloads) and replace your existing driver Remember to check your specific environment and adjust accordingly --
Пікірлер: 44