Emulator for Android Studio not launching due to 2 Warnings: "No gRPC protection active" and "Not all modern X86 virtualization features supported" - api

When launching the Emulator for Android Studio I get the following WARN messages:
C:\Users*myUser\AppData\Local\Google\AndroidStudio2021.3\log\idea.log
WARN - Emulator: Nexus 6 API 33 - Not all modern X86 virtualization features supported, which introduces problems with slowdown when running Android on multicore vCPUs. Setting AVD to run with 1 vCPU core only.
WARN - Emulator: Nexus 6 API 33 - *** No gRPC protection active, consider launching with the -grpc-use-jwt flag.***
Does anyone know how to fix this ? Thanks !
I do no to know what to do to solve the problem.

Related

Library linking issue after upgrading to React Native 0.70.3

We upgraded the mobile development project we are working on to React Native v0.70.3 from 0.66.4 and our build starting to give all sort of issue in our build server after that. Both iOS and Android builds are failing with following error messages.
Android:
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':react-native-camera-kit:verifyReleaseResources'.
A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
Android resource linking failed
ERROR:/Users/jenkinsoffshore/CICDBuilds/workspace/Mobile-Service-Android/node_modules/react-native-camera-kit/android/build/intermediates/merged_res/release/values/values.xml:2784: AAPT: error: resource android:attr/lStar not found.
iOS:
iOS build ends in success and we can upload to testflight as well. but getting the following error in email and the app crashes in devices.
ITMS-90863: Apple silicon Macs support issue - The app links with libraries that are not present on Mac:
#rpath/hermes.framework/hermes
After you’ve corrected the issues, you can upload a new binary to App Store Connect
We upgraded the MacOS version to Ventura and Xcode along with in the build machine. In developer machine both builds work fine.
Do we have to do anything specifically after upgrading to React Native 0.70.3?
Downgrade to atmost react-native 0.69
Rebuilding the server completely solve the issue. We had to setup everything from scratch. There must be a simple solution that that but project deadlines made us to go for a full re-inttall.

Error in USB debugging live testing in React Native

I am new to React Native and I install React Native and I want to test using y device (Realme 2).
Using USB debugging, but I am stuck on this same mobile using Android Studio runs in ADB.
This stucks at this position I await multiple 15m
info Starting JS server...
info Installing the app...
Configure project :app
File C:\Users\Muhammed Sajid Ali.android\repositories.cfg could not be loaded.
Checking the license for package Android SDK Platform 28 in D:\sajid\AndroidSdk\licenses
License for package Android SDK Platform 28 accepted.
Preparing "Install Android SDK Platform 28 (revision: 6)".
<======-------> 50% CONFIGURING [15m 0s]
:app
I solved this.
I earlier installed the Android SDK 8, 7.4.4, and 9 versions, but my mobile was 8.1. That’s why
it didn't start and it was downloading SDK 8.1. As I saw in the Android SDK folder, there was a new folder with some files.
Then I downloaded the 8.1 SDK, and it ran perfectly.
I think that was no problem with your compiler behavior, but I can suggest you to check if installing the app from USB is permitted in your phone's developer option and try to trigger the compiler with pressing return key (or enter) on the command line. That was working on mine.

Android emulator won't start on Mac OS 10.13

I just installed Android Studio 3.0.1 on my Mac with OS 10.13.2 but the emulator doesn't start. All I see is some errors in the event log:
Emulator: Failed to open vm 4
Emulator: Failed to create HAX VM
Emulator: No accelerator found.
Emulator: failed to initialize HAX: Invalid argument
I know this question has been asked before, but none of the solutions work for me. Is there a work around for this problem? Or should I just wait for fix in Android Studio/HAXM/Hypervisor.Framework/Mac OS?
"Hakintosh" user here...
Had the same issue.
My solution was to turn on Inter Virtualisation Technology in Bios settings.
Hope it helps for someone!
I had the same issue and fixed it following these steps:
In Android SDK Manager -> SDKTools uninstall the following:
Intel x86 Emulator Accelerator (HAXM installer)
Then download the HAXM installer and install it from here: HAXM Installer
Finally, open
~/Library/Android/sdk/emulator/lib/advancedFeatures.ini
and change the line 'HVF = off' to 'HVF = on'
I was able to resolve this by going to SDK Manager > SDK Tools (tab)
and re-installing:
Android SDK Build tools
Android Emulator
Android SDK Platform-tools
Intel x86 Emulator Accelerator (HAXM Installer)

Android App is not able to open in Appium Automation in android OS 7 Nougat

i try to open the Android app in Nougat 7 or above android version but there is a error show in appium, the error is bellow.
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Command failed: Failed to install C:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE]\r\n)","killed":false,"code":1,"signal":null,"origValue":"Command failed: Failed to install C:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE]\r\n"},"sessionId":null}
info: <-- POST /wd/hub/session 500 7986.817 ms - 520
So, Please Suggest me how to solve the session null issue.
Note: the same code is run in android OS 6 Marshmallow, 5 Lollipop.
The issue you are facing was fixed in recent Appium server release 1.7.1.
In change log under Android section you will find
Add support to force upgrade settings app
So your steps now:
Update appium server: npm install appium#1.7.1 -g
Rerun your test
Try uninstalling the app manually if it already exists on the device. If it does not, try an erase/reset of the device itself. I've run into upgrade/overwrite issues in the past that were resolved by cleaning up the device.

Worklight 6.1 - Error on Blackberry 10

I'm using Worklight Studio 6.1.0.00-20131219-1900 and trying to build an app for Blackberry 10
I create a new Worklight app (no customizations other than adding the blackberry 10 environment), run it on the Worklight server, and use ripple to build and deploy to the blackberry 10 simulator.
The app installs on the simulator, But when it launches, I immediately get a JavaScript error:
[ERROR] Error initializing Cordova: Extension Device not found
This is possibly related to a problem seen with Cordova 3.1 (see: Error initializing cordova: Extension device not found in PhoneGap 2.9.0 and blackberry10 webworks application) but I'm not seeing any solutions.
Is there any way to get Worklight 6.1 apps to work on Blackberry 10?
My guess is that your issue is mentioned in infocenter
http://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/index.jsp?topic=%2Fcom.ibm.worklight.dev.doc%2Fdevref%2Ft_creating_a_new_ibm_BlackBerry_10_environment.html
basically, did you do the "ant qnx copy-extensions" command ?