Questions tagged [native-android]

14 questions
2
votes
1 answer

AnimatedContentTransitionScope is unresolved when i run the compileReleaseKotlin gradle task

Im building an android application using Jetpack Compose 1.5.0-alpha02 and utilizing the animated content composable as below import androidx.compose.animation.AnimatedContent import androidx.compose.runtime.* //... var progress by remember {…
MrCreed
  • 131
  • 1
  • 8
1
vote
1 answer

Unable to run react-native project on command "npx react-native run-android"

Hi I am working on a react-native project for quite some time and everything was going well until yesterday I started to get an error on command npx react-native run-android in Metro before the project is yet to be completely executed and the error…
1
vote
0 answers

Recommendation for Android only with Flutter or Jetpack Compose

If I’m looking to do Android only development, not concerned with deploying an app to the iOS App Store. It looks like this is possible in Flutter by enabling this flag, —no-enable-ios, here in the docs. Would it best to go about a new app in…
0
votes
0 answers

Duplicate classes issue - while integrating native SDKs built using flutter in a flutter parent project

I have created native android and iOS SDK using flutter and now I need to integrate these SDKs in a parent flutter project. While integrating this way there are lot of duplicate files due to which the integration is not possible. The same set of…
Aman
  • 11
  • 2
0
votes
0 answers

After using AsyncTAsk and Pagination in my fragment, I am not able to get any items in my recyclerview

I am using asynctask and pagination to fetch files from my storage but i am not able to fetch any files after i used asynctask and pagination fileList.addAll(findFiles(storage)); //this is i am using before my asyncTask and pagination to load my…
0
votes
0 answers

ondestroy() function is not called in TCL tab

In my android code ondestroy function not called when app is closed. I need to restart service class when close the app @Override protected void onDestroy() { Toast.makeText(this, "Main Activity", Toast.LENGTH_SHORT).show(); …
Akitha
  • 15
  • 4
0
votes
1 answer

How to overcome the 'dependencyResolutionManagement() method not found' error when building a React Native native Android module with TomTom Maps?

React-native native android module. Facing several errors with this https://developer.tomtom.com/android/maps/documentation/overview/project-set-up . Trying to build a native android module for React native project. Can anyone tell me where to add…
0
votes
0 answers

unable to implement auto wifi scanning

I am developing a wifi manager app for android. here's the code that i am using to scan the networks public void scanWifiList() { // Unregister the previous instance of the BroadcastReceiver try { …
0
votes
1 answer

Default sms app chooser is not displaying

I am working on an Sms app, I want my app to display the below chooser, so that the user can select my app as default here is my manifest code:
0
votes
0 answers
0
votes
0 answers

Can not communicate with Firebase server APIs due to invalid configuration. update Firebase process and set valid options (API key, Project ID ..)

E/Firebase-Installations: Firebase Installations can not communicate with Firebase server APIs due to invalid configuration. Please update your Firebase initialization process and set valid Firebase options (API key, Project ID, Application ID) when…
0
votes
1 answer

How do I set duration of a video in ExoPlayer?

I need to set duration of a video for a thumbnail to 5 seconds and loop it. I got the loop part, but I can't find documentation for setting specific duration I tried exoPlayer.seek(duration) but that didn't work
0
votes
0 answers

File is not getting deleted in Android Java?

File is not getting deleted in Android, I have checked all premissions, and I tried all the solutions available in the internet but nothing helps. Your help will be highly assist me. Thanks in advance. I used the below permissions
Anand
  • 4,355
  • 2
  • 35
  • 45
-1
votes
1 answer

java.lang.IllegalArgumentException: API declarations must be interfaces

I am writing code to record audio at the start when we click the button it need to be upload in the server. I am using retrofit : i am using two different retrofit APIs. One for forum data and another for upload audio. I got this…