October 22, 2024
Chicago 12, Melborne City, USA
Android

java.lang.UnsupportedClassVersionError: com/android/build/gradle/AppPlugin : Unsupported major.minor version 52.0

Following is my code package com.example.kl1 fun main(){ println("Jesus is the WAY,the Truth and,the Life -John 14:6") } I was trying to run above kotline code on androd studio terminal and I got the following error: java.lang.UnsupportedClassVersionError: com/example/kl1/RockPaperScissorKt has been compiled by a more recent version of the Java Runtime (class file version 55.0), this

Read More
Android

How to impliment licence of android app for user

i devlope app for invoice and accounting i want to implement app purchase option where user get use 1 month for trial and after that purchase app. so where can i save user expiry date of licence? can i save every user expiry date to firebase for use allow subscribe user to run app? i

Read More
Android

Problem in adding GIF in React Native App

I’m trying to display a GIF in my React Native App. I also add animated-gif in android>app>build.gradle. dependencies { // The version of react-native is set by the React Native Gradle Plugin implementation("com.facebook.react:react-android") // For animated GIF support implementation 'com.facebook.fresco:animated-gif:3.1.3' if (hermesEnabled.toBoolean()) { implementation("com.facebook.react:hermes-android") } else { implementation jscFlavor }} But this only shows as

Read More
Android

PlatformException(sign_in_failed, com.google.android.gms.common.api.b: 12500: , null, null)

well I struggled with tis error and tried everything but none worked I manage to solve this problem so I want to tell you all in case someone has the same situation as me, I requested an app signing update and after the update I add the SH1 to my app, and the app was

Read More
Android

how to remove or hide default icon when obscureText is true on flutter

i use Flutter (Channel stable, 3.7.6, on Microsoft Windows [Version 10.0.19042.928], locale en-US) my case is i need to remove default icon on textField when obscureText = true, because i use suffixIcon on decoration input. enter image description here my code like this : Padding( padding: const EdgeInsets.fromLTRB(20, 0, 20, 0), child: TextField( obscureText: _obscured,

Read More
Android

Three.js Not Rendering Properly on Mobile in React Vite Application

I’m working on a React application using Vite and Three.js for rendering 3D elements. Everything works perfectly on desktop browsers and IOS, but when I open the application on a android mobile device, the 3D elements break and don’t display correctly. The models either look distorted, or some parts are missing entirely. enter image description

Read More
Android

How to start qt bluetooth advertising on android

I am deverloping the qt bluetooth advertision for android . I have an issue to start adverting F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8 in tid 3099 (qtMainLoopThrea), pid 3072 (e.appAndroidBLE) Here is my code #include <QGuiApplication> #include <QQmlApplicationEngine> #include <QDebug> #include <QLowEnergyController> #include <QLowEnergyAdvertisingData> #include <QByteArray> #include <QLowEnergyAdvertisingParameters>

Read More
Android

CMake Build Error with react-native-reanimated: 'mkdir: No such file or directory' (Path Length Issue)

I am trying to build my React Native application for Android, but I’m running into an issue when building react-native-reanimated with CMake. The error I get is : Task :react-native-reanimated:buildCMakeRelWithDebInfo[armeabi-v7a] FAILED C/C++: ninja: error: mkdir(src/main/cpp/reanimated/CMakeFiles/reanimated.dir/C_/Users/ricar/Documents/Github/StockItUp/node_modules/react-native-reanimated/Common): No such file or directory I suspect this is related to a path length limitation on Windows, as the error

Read More
Android

How to build and publish Android app supporting older Androids

I have a very simple application based on Apache Cordova and for a couple of years it is exactly the same, actually a packaged web or ebook. There was a message on Google Play that I have to target the new version to API 34 and Android 14, so I released a new version set

Read More
Android

@react-native-firebase/analytics fails to build with android SDK 34 required by playstore

I inherited someone else’s react-native project. When I run npx expo run:android, I get the following errors: 1: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:mergeExtDexDebug'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > Failed to transform play-services-measurement-api-22.1.0.aar (com.google.android.gms:play-services-measurement-api:22.1.0) to match attributes {artifactType=android-dex, asm-transformed-variant=debug, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false,

Read More