Changing java version used by flutter
I am trying to change the java version flutter uses from 21 to 17 I have tried changing the JDK version in android studio via Customize > All Settings > Build Tools > Gradle > Default Gradle JDK I tried…
I am trying to change the java version flutter uses from 21 to 17 I have tried changing the JDK version in android studio via Customize > All Settings > Build Tools > Gradle > Default Gradle JDK I tried…
I'm building an android app on android studio 2024.2.1. But I am unable to start any emulators. I have tried clearing caches and restarting everything including my PC. I've tried to delete the .lock files under the .avd but my…
I've discovered that my app resets the keyboard back to default keyboardtype for a split second when i dissmis it with onsubmit or when i change focus. I'm not sure why it's happening, but can't seem to find a fix…
I am trying to upgrade react-native from 0.74.3 to 0.76.2 and building on android I have the following error: /Users/xxx/.gradle/caches/8.10.2/transforms/0fd0166c4f0b7f2b3a94f0420432a518/transformed/material-1.6.1/res/values/values.xml:7497:4: Duplicate value for resource 'attr/actionBarSize' with config 'DEFAULT' and product ''. Resource was previously defined here: com.xxx.xxx.app-mergeDebugResources-79:/values/values.xml:8497: . FAILURE: Build…
here is my code import 'package:flutter/material.dart'; import 'package:mobile_smarcerti/app/modules/sertifikasi/views/detail_sertifikasi_body.dart'; import 'package:mobile_smarcerti/app/modules/sertifikasi/views/detail_sertifikasi_page.dart'; import 'package:mobile_smarcerti/pages/upload_sertifikasi_dosen.dart'; import 'package:mobile_smarcerti/services/api_service.dart'; class SertifikasiBody extends StatefulWidget { const SertifikasiBody({super.key}); @override __SertifikasiScreenState createState() => __SertifikasiScreenState(); } class __SertifikasiScreenState extends State<SertifikasiBody> { late Future<List<dynamic>> _sertifikasiFuture; @override void initState() { super.initState();…
I tried to build Flutter applications using my Android emulator setup from the Android command-line tools. However, when I try to run it, the emulator only shows up like this: Emulator stuck in taskbar on Windows 11. I have created…
I tried to use the tflite package to create a live object detection app, but it seems that after I installed both the packages: tflite, and also wrote the detection code it didn't seem to run. Please help. I have…
Error loading page Domain:undefined Error Code:-2 Description:net::ERR_NAME_NOT_RESOLVED Getting this issue in release apk in android react native I already used android:usesCleartextTraffic="true" in menifest file
I am writting an Android application which gets data from URL in JSON format. I use fragments. Where I can do bussiness logic? On fragment ViewModel? The main idea, is get data from JSON URL link, analyze, get current device…
I am creating a flutter pluggin for a native sdk. So I added the android dependency in the plugin/android/build.gradle file like this android { if (project.android.hasProperty("namespace")) { namespace = "com.xxxxxxx.xxxxxx_sdk" } compileSdk = 34 compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility…