skip to Main Content

React native – Duplicate value for resource 'attr/actionBarSize'

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…

VIEW QUESTION

Flutter Error: Exception: Failed to load sertifikasi: type 'String' is not a substype of type 'int' of index

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();…

VIEW QUESTION

Android dependency not issue in Flutter Plugin

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…

VIEW QUESTION
Back To Top
Search