The easiest way to do it using the keytool command.
Example:
keytool -printcert -jarfile <apk_file>
Programming Explorer : This is the place that I would like to share with you about my IT knowledge and experience. Some of the articles are copied from others in the internet. Some are originally come from my findings.
The easiest way to do it using the keytool command.
Example:
keytool -printcert -jarfile <apk_file>
Environment:
Visual Studio Code v1.83.1
Symtomps:
1). When you try to debug your Flutter project, you see this error message at the Terminal "Could not start Dart VM service HTTP server"
Solution:
a). Please go to <Your_Project_Path>\android\app\src\debug folder, confirm if you have AndroidManifest.xml in that debug folder.
b). Go to <Your_Project_Path>android\app\src\profile folder, copy AndroidManifest.xml and paste it to the debug folder at Step [a].
c). Type 'flutter run' at Terminal and Hot Reload, Hot Restart should work now.
Explanation at Flutter Docs did mention how Dart VM service work with that Hot Reload and Hot Restart features. Refer https://docs.flutter.dev/tools/vs-code#hot-reload-vs-hot-restart
Happy coding!
You hit this error message on Visual Studio Code (or Android Studio) for your IonicFramework project after you upgraded Java in your computer:
Supplied javaHome is not a valid folder. You supplied: <folder_name_with_path>
What Is The Solution?
a). Make sure Android Studio > Settings > Build, Execution, Deployment > Build Tools > Gradle > Gradle JDK is pointing to the correct JDK version. Save all for changes.
b). For Windows, go to this folder "C:\Users\<your_Windows_user_name>\.gradle", delete all of the files and folders.
c). Go to "<your_project_folder>\android\.gradle" folder, delete all of the files and folders.
d). Run the commands below as usual:
ionic build
npx cap copy
npx cap sync
npx cap open android