Flutter Issue | Keystore file not set for signing config release

Step 1: Step 2: Step 3: gradle signing configurationBy making changes to the [project]/android/app/build. gradle file, you can instruct Gradle to use your upload key when creating your app in release mode. Before the Android block, include the keystore information from your properties file: content_copy Step 5: By making changes to the [project]/android/app/build. gradle file, you can instruct Gradle to use your upload key when creating your app in release mode.and substitute the following signature configuration data there: Step 6:

Read more

Introduction of DevOps Certified Professional Course

The DevOps Certified Professional (DOCP) is a certification program designed to validate an individual’s knowledge and expertise in DevOps practices and principles. This certification demonstrates that an individual has the skills necessary to implement and manage DevOps methodologies effectively. The DOCP certification typically covers a wide range of topics related to DevOps, including: To earn the DOCP certification, individuals typically need to pass a certification exam that evaluates their understanding of these concepts and their ability to apply them in

Read more

How to Delete Data in Multiple Tables (with Relationship) Laravel.

To delete data from the database with a relationship with two tables in Laravel we have to use the solution that I’ve used. Let’s Discuss, what problems I faced and how Solved it. In my project, I’ve two Tables in the Database 1st is my Users table where users’ data is stored.  See the below image:- And 2nd is SocialProviders where the user’s Provider ID is stored (whenever a user login with Google, Facebook, etc then a unique provider_id is stored to verify the users )

Read more

Stateful Widget in Flutter.

Stateful Widget :- When user interacts with an App and the widget change then it is called Stateful Widget. A Stateful widget is Dynamic. For Example :- When user click on a button on App and text changes then it is called Stateful Widget. When the widget’s state changes, the state objects calls setState(), telling the framework to redraw the widget. Write down the below code in main.dart file in your project.

Read more

How To Display ‘Hello World’ in Flutter.

To Display “Hello World” in Flutter, just Follow the Below Steps. Step 1:- First of all, Import material.dart package library. Step 2:- Now, we call our main method. Step 3:- Under main() we perform all our operations. So, Under main() we call runApp() in which we use Widgets to perform any operation. Step 4 :- Now, we call CentreWidget under runApp() method [ To show text in centre ] in which we take Text Widget as child, and in text widget lets pass a Welcome Message “Hello World“. Step 5 :- Now, we add Direction to our Text Widget otherwise it returns error. See Below the Text Widget All Done. Now we

Read more

[SOLVED] Argument 1 passed to Tymon\JWTAuth\JWT::fromUser() must be an instance of Tymon\JWTAuth\Contracts\JWTSubject

Step 1. Go to config/app.php and add to Providers. Step 2. In your terminal publish the config file:  and add it to your list of service providers in app.php Step 3. In your terminal generate the secret:  Step 4. In config/auth.php – set the default guard to api, and change the api driver to jwt Step 5. In your User Model, you need to implement the Tymon\JWTAuth\Contracts\JWTSubject contract on your User model, which requires to implement the 2 methods getJWTIdentifier() and getJWTCustomClaims(). See Below

Read more

How to Create Virtual Host for Laravel Project on Xampp in Windows 10.

To create a virtual host for a Laravel project on Xappp in Windows 10, two changes must be made. Simply take the following actions: Step 1: Open the httpd-vhosts.conf file in the xamppapacheconfextra directory. See the Image Below: Step 2: Simply copy and paste the code below, making sure to include the URL for your project directory and to include the word “public” if your Laravel project is running on a public folder. DocumentRoot. Step 3:- Now, go to C:\Windows\System32\drivers\etc and open host file. See

Read more

How To Create Your Own Widget In Flutter.

To Create your Own Widget in Flutter, Just Follow the Below Steps. To select a folder in your project hierarchy, use the right mouse button.Choose “New” then “File.”Enter a file name ending in “.dart,” for example, “my_custom_widget.” If your widget doesn’t need to maintain any internal state, extend StatelessWidget: Inside the build method, return the UI representation of your widget by creating and configuring Flutter widgets: The structure and look of your widget can be specified using pre-existing Flutter widgets or by developing a bespoke widget within the

Read more

Flutter plugin to store data in secure storage

The flutter_secure_storage plugin can be used to store data safely in a Flutter application. Sensitive data is securely kept via this plugin, which offers keychain- and keystore-based implementations on iOS and Android, respectively. Implementation To your pubspec.yaml file, add the dependency for flutter_secure_storage: Run the command flutter pub get to fetch the dependency. Import the flutter_secure_storage package in your Dart file: Check for the latest version on the plugin’s page. Configure Android Version Initialize an instance of FlutterSecureStorage: Store a

Read more

Flutter Error:-PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null)

Error: That’s the stack trace: Solution Check the following things Case 1:Run ./gradlew signing report,it’s under the app Android folder. Add SHA1 in Google Firebase Google Sign-in configuration. developers.google.com/android/guides/client-auth . You will need a SHA1 for each computer you work on.Case 2This might happen if you are running on debug and you did not register a SHA fingerprint in Firebase. I solved it by generating a debug. keystore and registering it inside the app on Firebase. Don’t forget to download

Read more

Build Failure on Android Studio”\caches\transforms-2\files-2.1\e5ae7cf0f80ee425fe42a4574342c71c\aapt2-3.5.3-5435860-windows”

Error Solution First try Invalidate & restart Option in File menu to invalidate all cached build files if your error still persist then try clearing cache folder with specific gradle version in your User folder in C drive for example for me the path to the folder is as follows C:\Users\myUser\.gradle\caches and C:\Users\myUser\.AndroidStudio3.5\system\caches

Read more

Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15

Error Solution Changing this in the file build.gradle solved my problem. From to I had this problem in a Flutter project. In my case, a line for kotlin-gradle-plugin was missing in the Android build.gradle file, so adding ext.kotlin_version = ‘1.6.10’ didn’t fix it. After adding classpath “org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version” the error was gone. Full code section:

Read more

Any clue what these error messages mean? Kotlin/emulator related in android studio

Error Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint: deprecation for details. e: C:/Users/dharm/.gradle/caches/modules-2/files-2.1/androidx.lifecycle/lifecycle-common/2.6.1/10f354fdb64868baecd67128560c5a0d6312c495/lifecycle-common-2.6.1.jar!/META-INF/lifecycle-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.5.1. site:stackoverflow.com Edit Adding build. gradle below: Solution You need to update your kotlin gradle plugin version to any latest in gradle (project), you can probably use 1.5.10. The version you have used is 1.1.15, and its not a valid version.

Read more

No valid Android SDK platforms

When I write the flutter doctor command in cmd I get this error. Error No valid Android SDK platforms found in C:\Users\dharm\AppData\Local\Android\Sdk\platforms. Candidates were: – android-10 – android-16 – android-20 – android-22 – android-25 – android-29 – android-30 – android-31 – android-32 – android-33 – android-33-ext5 – android-8 Solution env path flutter sdk platforms plugins It appears as though this message shows up when you don’t have any build-tools packages installed. At the time of writing, to install the minimum

Read more
1 2 3 4 5 6 9