In Remix IDE, after successful compilation of the contract file, Injected Web3 is not displayed - ide

In Remix IDE, after successful compilation of the contract file, Injected Web3 is not available for selection in the Environment drop-down list.
enter image description here
I tried to open it in different browsers, reconnected the metamask wallet, but Injected Web3 is not displayed.

Related

how to setup basic environment for react and smart contract deployment

how to setup basic environment for react and smart contract deployment
I am not able to setup environment for below tech stack
basic environment for truffle , solidity ,react app on vs code
Truffle is old now.
The stack for setting up a basic environment for react and smart contract deployment would be:
Node.js
React
Hardhat
Web3.js - for interacting with the Ethereum blockchain from within a React application
MetaMask
Test ethers on goreli
Node prodiver - Alchemy
Web3 modal for connect wallet

React Native Build Errors - Gradle

I am having problems running my application all of a sudden.
The error are shown in the screenshot. I have no idea what has happened. What do the errors mean?
enter image description here
App targets Android 12 or higher and contains activities, services, or broadcast receivers that use intent filters. Please explicitly declare the android: exported attribute for these app components.
Also this is applicable to all the activities, services, broadcast receivers that use an intent-filter. After making the changes. Save it , Invalidate cache and restart android studio and check

Issue deploying smart contract on Remix IDE using Web3 provider

When I change my environment in Remix from JavaScript VM to Web3 Provider and then click Deploy, I get a message in the console saying that my smart contract is pending. There is also a red X displayed.
Here is the tutorial I have been following: https://coursetro.com/posts/code/99/Interacting-with-a-Smart-Contract-through-Web3.js-(Tutorial)
Here is a screenshot of my Remix IDE:
Here is a screenshot of the expanded console message:

Crashlytics says "Received null settings, skipping report submission"

I am trying to switch from Firebase Crash reporting to Firebase Crashlytics.
I have followed the guide here:
https://firebase.google.com/docs/crashlytics/upgrade-from-crash-reporting
But during initialization the logs says:
Received null settings, skipping report submission!
And then when testing crashes:
Cannot send reports. Settings are unavailable.
Network connection is good, so no reason why it can't get settings.
Log output:
D/CrashlyticsCore: Initialization marker file created.
W/CrashlyticsCore: Received null settings, skipping report submission!
D/CrashlyticsCore: Initialization marker file removed: true
D/CrashlyticsCore: Crashlytics is handling uncaught exception "java.lang.RuntimeException: Testing crash" from thread main
D/CrashlyticsCore: Logging Crashlytics event to Firebase
D/CrashlyticsCore: No log data to include with this event.
D/CrashlyticsCore: Unable to close session. Settings are not loaded.
D/CrashlyticsCore: Opening a new session with ID 5A042DD20217-0002-4F33-A5AF620D03D1
D/Fabric: Falling back to Crashlytics key lookup from Manifest
D/Fabric: Falling back to Crashlytics key lookup from Strings
D/Fabric: Falling back to Crashlytics key lookup from Manifest
D/Fabric: Falling back to Crashlytics key lookup from Strings
W/CrashlyticsCore: Cannot send reports. Settings are unavailable.
D/CrashlyticsCore: Crashlytics completed exception processing. Invoking default exception handler.
You need to link your project to Fabric. Ignore it if you already did it. Else follow these steps
It will navigate to Fabric and follow the instructions (create an account or sign in if you already have an account). After successfully logged in to the Fabric, Next you have to link your project to Fabric for that you can use the Fabric plugin.
After installing the plugin you can open it by clicking either of the below options shown below.
And follow instructions to create the Fabric project.After that from the firebase console -> Crashlytics -> link your firebase project to Fabric project.
That's all...
When upgrading from Fabric Crashlytics to Firebase Crashlytics I found that I needed to make sure that AndroidManifest.xml contained this attribute from Fabric. After having correctly linked the App in Fabric with Firebase. Which you can find at https://www.fabric.io/settings/organizations,
<meta-data
android:name="io.fabric.ApiKey"
android:value="..." />
(Replacing ... with your key)
This needs to be within the <application> block. Once I included this the settings were detected and crashes appeared in the Firebase console, email alerts.
In my case this same error occurred because i already had forced the crash on the device as required by setup tutorial, for a different flavor of the application.
My App has 2 flavors, so in order to successfully link flavor number 2 i had to force crash on a different simulator.
Note: The 2 flavors need to have different packages at least.
Same happened to me. I had another flavor of the app installed, so I deleted all flavors currently installed and it worked after simulating the crash again.

Unable to receive full wallet with Google play service v8.4.0 and build tool 23.0.2

I referred to the tutorial on Android Pay on site
Androi Pay integration tutorial
and able to execute it and get the full wallet. This Biker app is compiled with build tool v22.0.1 and Google play services library v8.1.0. But my application requires build tool version 23.0.2 and Google play service library v8.4.0. Full wallet is not received in the Biker application when I do these two modifications to build.gradle:
Build tool from v22.0.1 to 23.0.2
Google play service wallet library from v8.1.0 to v8.4.0
I get result code 1 on activity result when the full wallet is requested.
Also 'Change card/address' button on the wallet fragment fails to respond with these modifications in build.gradle. I have updated the Android SDK. Is there anything I am missing?
Edit 02/16/2016
Now I referred the latest Android Pay source from Github that has latest build tool (v23.0.2) and Google Play services library (v8.4.0). I can't run the application in Android Pay mode as I don't have cards that are supported by Android Pay. I did not find any workaround for introducing mock cards in Android Pay to work with Wallet mode ENVIRONMENT_TEST
After modifying the WalletFragmentStyle to
WalletFragmentStyle walletFragmentStyle = new WalletFragmentStyle()
.setBuyButtonText(BuyButtonText.BUY_WITH_GOOGLE)
.setBuyButtonAppearance(BuyButtonAppearance.CLASSIC)
.setBuyButtonWidth(Dimension.MATCH_PARENT);
I get the same response in onActivityResult with RESPONSE CODE as 1 when requesting for Full wallet. The error number is 10. I am unable to trace what error 10 corresponds to.
You need to click 'Install repository and sync project' after encountering the error. This issue will be fixed after installing all the latest versions of build tools and other updates.