This situation may happen during the first Flutter App run. It is because gradle file may not be correct and needs to be cleaned and rebuild. Simply run below command in your Android Studio Terminal at $Project\Android folder: ./gradlew clean build Please note, in the above Android Gradle plugin requires…
Tag: android
How to install flutter (SDK) in your Windows OS and use it in Android Studio IDE?
Flutter is a tools to create and develop Apps for different platforms, such as Android, iOS, Windows, etc., using the same code base. Flutter supports many IDEs and editors such as Eclipse, Visual Studio, EMACs and Android Studio. In this page we will see how to install flutter (SDK) for…
How to install flutter (plugin) in your Android studio development environment?
Flutter can be used to develop Apps for different platforms, such as Android, iOS, Windows, etc., using same code base. Flutter supports many IDEs and editors such as Eclipse, Visual Studio, EMACs and Android Studio. In this page we will see how to add flutter as a plugin in your…
How to translate texts into different languages (English, German, Arabic, Korean) in your Android App using ML Kit?
In this video it shows the steps to implement and use google’s ML Kit to translate languages in your Android App. It refers to google developers page to get the required implementation for this App’s development:https://developers.google.com/ml-kit/language/translation/android#java I hope you like this video. For any questions, suggestions or appreciation please contact…
How to allow “Install unknown apps” in your Andorid phone?
Please note, one should avoid installing unknown Apps or Apps from unknown sources. They may harm the device or retrieve personal user data from the device. So, please follow the below steps only when the App’s installation file (APK) is received from trusted source. However, reliable sources, such as Google…
All about SharedPreferences in Android app- create, retrieve and delete the variable – Android Studio Tutorial
This video gives details and demonstrates to create, retrieve or delete the shared preference variables as your Android App data. I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at: programmerworld1990@gmail.com Complete source code and other details: package com.programmerworld.sharedpreferenceapp;import androidx.appcompat.app.AppCompatActivity;import…
How to create 2 launcher activities (app icon) using 1 apk installer for your Android App? – Android Studio tutorial – API 32 | Android 12
In this video it shows how one can create two launcher icons for specific activities of their Android App. It creates two activities for demo purpose and connect to different layouts which can be loaded during the onCreate method. Then, in manifest file, it creates multiple activities tags as launcher…
How to fix “No emulators are currently running. To launch an emulator, use the Device Manager or run your app while targeting a virtual device.” error in Android Studio?
The below error appears when the previous process of the emulator is not closed properly in the system: No emulators are currently running. To launch an emulator, use the Device Manager or run your app while targeting a virtual device. To solve the problem, one has to kill the below…
How to use onBackPressed method to quickly navigate to other layouts in your Android App?
In this video it shows the steps to use the onBackPressed override method to customize the functionality of back button of the Android phone. In this method one can navigate to the desired layout and page when back button is pressed using setContentView API. I hope you like this video….
How to delay (wait for) the execution of methods by certain duration/ time in your Android App?
In this short video it shows how one can delay the execution of certain methods in your Android App. It creates a new runnable and calls the runnable after the specified delay using the handler object. Executing the method in another runnable ensure that the main thread is not impacted…