1,419,442
questions
0
votes
0
answers
5
views
android & ios: Running npx expo start --no-dev --minify returns "Element type is invalid" error
I've built on app using Expo and React-Native. It works fine on the development build, one produced using the npx expo start command. However, the production build run on both the emulator and the ...
0
votes
0
answers
7
views
How to get APK approve when implement read contact list from device?
application not approve when get contact from contact list.
**used this method for access contact list from mobile device. **
try
{
ContractEntity objContractEntity1 = new ContractEntity();
var uri = ...
0
votes
0
answers
4
views
How does Android render styles after recomposition?
I'm pretty new with Android Compose so I decided to make an app where I can dynamically change the style after the client chooses a fruit. After changing the style, a couple of SVG files take that ...
0
votes
1
answer
10
views
Why I cant use Modifier.sharedBounds in jetpack compose
I followed the official tutorial trying to add animations in my project. But when I copy and paste the code Modifier.sharedBounds(rememberSharedContentState(key = "bounds")... to my android ...
-1
votes
0
answers
9
views
Wake my cordova application even app not in background or screen locked
We developing an food order delivering application in cordova. when customer placed a order we want to notify seller by any sound even app not in background or killed. Help us to achieve this ...
0
votes
0
answers
12
views
Gradle Build failed with an exception in Windows 10: Bad Pathname
In Windows 10, run the following command in cmd, where gradle-8.10 is downloaded from gradle website
C:\Users\username>F:\gradle-8.10\bin\gradle -v
failed to run the gradle with the following ...
0
votes
0
answers
13
views
QR Code Scanning Issue Causing Duplicate Entries and Intents on Initial Scan
In certain devices, an issue occurs where the QR code is scanned twice during the first scan after the app is started. This results in two entries being made in the database and two intents being ...
0
votes
0
answers
11
views
Build Error in Ionic Capacitor App When Upgrading Google Play Services from 19.7.0 to 20.0.0
I'm working on an Ionic Capacitor project, and I've been using Google Play Services version 19.7.0 without any issues. However, when I try to upgrade to version 20.0.0, I'm encountering a build error ...
0
votes
0
answers
10
views
Google play store App rejected, how do I edit it?
How to fix these issues? I don't see any field where I can change the video or edit my app submission? I submitted my app to the apple app store before and it was easy to edit my submission, but I'm ...
0
votes
0
answers
7
views
Unity burst compiler error related to Android build and Unity-google-ads
My unity project was building and running but I added google ads and now the app is not building. Everytime I hit build button it shows an error that links to a line that says following:
#if ...
0
votes
0
answers
18
views
Delayed Update of Navbar Title and TabBar Background Color in .NET MAUI on Android When Switching Tabs
I'm working on a Xamarin Forms migration to .NET MAUI project where I'm encountering an issue with delayed updates to the Navbar title and Navbar background color when switching tabs on an Android ...
0
votes
0
answers
8
views
"File not found" error when retrieving audio duration with Expo audio on Android
I'm using Expo Audio in my React Native app to record audio. After stopping and unloading the recording properly, I successfully obtain the URI of the recorded audio. However, when I try to get the ...
0
votes
0
answers
14
views
Crop Bitmap with an overlayview - ID Card Capture
I'm developing a feature to take picture of id card, I'm drawing a rectangle view on preview view in camerax so users can fit card inside and capture image. What I want is to crop the card inside the ...
0
votes
1
answer
16
views
I've using upi_pay & flutter_upi packages, I'm getting an error "upi_pay/flutter_upi -> ext.kotlin_version should be above 1.5.40 or more
I've tried the below to resolve it
updating the version in the package (upi_pay.dart & flutter_upi.dart) to 2.0.10
updating the ext.kotlin_version of my project/gradle to 2.0.10
forked those ...
1
vote
0
answers
11
views
Nodemon Crashes with 'bad ELF magic' Error on Termux in Android
I'm using Termux on my Android phone to run a simple Node.js server with nodemon. My server script (index.js) is written in JavaScript and should work fine, but when I run it with nodemon, I get the ...
0
votes
0
answers
8
views
Gradle Android build failed when using NFS PVC as cache on k8s
Gradle Android build failed when using NFS PVC as cache on k8s。
The reason for the failure is 'Duplicate class', and I suspect it may be due to some class path issues.
But it only reproduces on NFS ...
0
votes
0
answers
14
views
i trying to add app badge on my flutter project on android mobile
i try many lib on iOS its working even if they say the lib support a android
but its not working on testing on Samsung device
no im trying to make it with kotline and communicate with my flutter ...
-1
votes
1
answer
32
views
Flutter vs React Native, which is better for my app [closed]
Hey so I’m making an uber eats clone app and need to track drivers location by sending their location every certain time interval to the server. I need this process running whether the app is in ...
0
votes
0
answers
15
views
Compose Text size does not auto increase on fold devices
I have a simple "Text" of size 20.sp. Running my application on a fold device when I open the fold (View is set as from Settings > Display > STANDARD VIEW) all the text from layout ...
0
votes
1
answer
17
views
Does the integer type of sensors differ between smartwatches?
This might be a dumb question but i'm working on a project that uses smartwatch sensors either than the default accelerometer, gyroscope, etc.. sensors. So like PPG SDNN, PPG SPO2 and so on. My ...
0
votes
0
answers
16
views
React Native: TypeError with SvgText component on Android but not on iOS
Problem
I'm working on a React Native project using TypeScript and react-native-svg to create an AttendanceCard component that includes a circular progress chart and percentage text. The component ...
0
votes
2
answers
35
views
Android Studio Checkbox
I am currently confused on an issue that I am having in Android Studio with a Checkbox. I have a ViewHolder that contains a checkbox that seems to be going down to the True path, even though it is ...
0
votes
0
answers
17
views
SharedElements with HorizontalPage scroll jetpack compose bug
Tab and TabView:
package amin.rz3.bikeshopping.ui.components
import amin.rz3.bikeshopping.R
import amin.rz3.bikeshopping.data.models.ItemDetail
import amin.rz3.bikeshopping.data.models.itemsMap
...
0
votes
0
answers
7
views
Expo Go HTTPS-Request doesn't work on android but works on every other OS. (HTTP-Requests are working)
When I change my environment variable from https://XXXX.com to http://37.XX.XXX.XXX:XXXX, my Expo Go app on Android works, but the HTTPS request doesn't.
Versions:
EXPO-Version: 0.18.26
Expo: 51.0.24
...
0
votes
0
answers
18
views
I have Written the WebView Application Code With Kotlinle, But My Site Does Not Load Properly
I wrote a webview application code for my site using Kotlin, everything is running smoothly, but it loads my site incorrectly. I wonder which settings are missing. I am adding my code below. I would ...
0
votes
1
answer
17
views
Kivy android app - pyjnius.PythonJavaClass not working with buildozer when using a custom interface in __javainterfaces__
This is a simplified version of a bigger app that requires a java class to have a python implementation so that a callback object that has to be java can call python methods, you can find the project ...
0
votes
0
answers
8
views
Execution failed for task ':react-native-mmkv:compileDebugJavaWithJavac'
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':react-native-mmkv:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
...
0
votes
0
answers
22
views
Unexpected null value in type-safe navigation Jetpack Compose
This is a snippet of my navigation graph:
MyApp.kt
navigation<MainApp>(startDestination = Home) {
composable<Home> {
atHomeScreen = true
...
0
votes
1
answer
1k
views
Serializer for class xxx is not found. Please ensure that class is marked as '@Serializable' and that the serialization compiler plugin is applied
This question has been here countless times, but I just can't figure this one out.
I followed the documentation and other SO answers.
// My class
@Serializable
class DSFile(val name: String, val data: ...
0
votes
0
answers
8
views
uses-native-library does not get added to Expo config for plugin
I am trying my first plugin for Android specific so that I can add uses-native-library as per package docs for a setting I need to use related to frame processing.
I created a plugin ...
0
votes
1
answer
29
views
After logout I can't access the login
The problem is this:
I have a Myaccount activity which has a logout button which when clicked will delete all the shared preferences and redirect to splash activity.java
2.in splash there is a clause ...
-2
votes
0
answers
24
views
Type-safe deserialization using Moshi and Gson in Kotlin or Java
I have the following JSON:
{ "a": 1, "b": 1.1 }
I want to deserialize it into a Kotlin data class. The following is my data class:
data class Data(
val a: Int? = null,
val ...
0
votes
0
answers
15
views
Issues when mixing expo-notifications + react-native-firebase
I have a setup very similar to this previous OP.
In short, I use the expo-server-sdk to send out a notification, and I'm able to receive and handle this notification if my app is foregrounded or ...
0
votes
0
answers
19
views
Why isn't my included layout showing up in the Android Studio preview? [closed]
I am working on an Android project and using the <include> tag to reuse a layout in another layout file. Previously, the included layout would show up in the Android Studio preview window. ...
1
vote
0
answers
12
views
Execution failed for task ':app:checkDebugAarMetadata'. Firebase, Flutter
This error started to appear when i tried to do Firebase Authentication (Sign up/ Sign in). Tried different ways still don't know what's the error about. My code would be little messed up after trying ...
0
votes
0
answers
20
views
Error Compiling Flutter APK: resource android:attr/lStar not found
I'm working on an older Flutter application that was removed from the Play Store due to outdated API levels. I'm currently trying to update and re-release it, but I've encountered these issues during ...
0
votes
0
answers
22
views
Grandle project sync failed. Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
Yesterday I could run any of my react-native-cli projects. Now I can't run any application using
*npm run ...
0
votes
0
answers
14
views
Change entry point in Expo (react-native) application cause fatal crash
I have upgraded my old Expo application from SDK 47 to SDK 51.
in the package.json I have "main":"./index.js", and the index.js looks like
import { registerRootComponent } from &...
0
votes
1
answer
15
views
rsync PC via ssh sync to Android, report: rsync: symlink ... failed: Permission denied (13)
Android ssh app: SimpleSSHD
$ rsync -av --delete -e 'ssh -p 2222' ~/xiaguangbo 192.168.1.118:/sdcard
...
rsync: symlink "/sdcard/xiaguangbo/data/esp/espressif/tools/riscv32-esp-elf/esp-13.2....
0
votes
0
answers
24
views
Qt app crashes when app is built with NDK toolchain on Android
What I started with and what brought me success:
I have simple c++ app:
main.cpp
#include <iostream>
int main() {
std::cout << "Hello, World!" << std::endl;
...
0
votes
0
answers
9
views
I am scanning for devices in my Android app, but iOS devices are not being detected
interface BluetoothDeviceCallback {
fun onDeviceFound(device: BluetoothDevice, rssi: Int)
}
interface BluetoothConnectionCallback {
fun onConnectionStateChanged(connected: Boolean)
}
class ...
0
votes
1
answer
19
views
Unable to start activity ComponentInfo when im launching my Android App
Im trying to launch my Android App with Android Studio but instead i recieve this error: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.roomapp/com.example.roomapp....
0
votes
0
answers
9
views
Saving a GIF from a byte array will have a seemingly random time in the gallery app
I am trying to make an app where users are able to share images and GIFs with each other. Saving images seems to be going fine there are not many issues on that part, however for saving GIFs a little ...
0
votes
0
answers
10
views
ignore certain properties in gradle.properties file in local environment
I am trying to upgrade the java version as a part of react native upgrade to 0.74
and would like to ignore certain property in my local environment since the path doesn't exists:
org.gradle.java.home=/...
0
votes
0
answers
34
views
Not receiving Application Insights Telemetry from an Android app in Release configuration
I've spent the better part of 2 days on the following issue and I'm running out of ideas. Hopefully someone has had a similar experience and can help me out.
I have a .NET 8.0 iOS, Windows, and ...
0
votes
1
answer
48
views
StateFlow value is not collected in Composable - it happens only once
I have check many similar issues described here, but did not find a solution for my case.
What effect I'd like to reach:
in my Android app (Compose based) I want to observe changes of state of toggle ...
-1
votes
0
answers
10
views
Control MediaPlayer volume when AudioManager is in MODE_IN_COMMUNICATION
I'm building an app where audio can only come through the earpiece speakers when the proximity sensor is activated. I have managed to this by setting AudioManager to MODE_IN_COMMUNICATION like so:
...
0
votes
0
answers
14
views
Err: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
Description
I am facing the following crash when trying to checkout on a device with Android version API "VanillaIceCream" after setting the targetSdkVersion & compileSdkVersion 34.
...
0
votes
0
answers
19
views
Identity verification at Google Play for a government org
Somewhat off-topic for SO, but I'll try. At Google Play, one is now expected to prove their identity - individual or corporate. I happen to manage an account for an organization within the United ...
0
votes
0
answers
21
views
react native code error [TypeError: Network request failed]
I am new to mobile app development.
I have a simple react native code with a button that login to SAP Business One service layer.
When i press the button i get a general error [TypeError: Network ...