Questions tagged [android]

Android is an operating system for mobile devices developed and maintained by Google, Inc. This tag should contain specific programming questions about Android.

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

SSS shader error (object goes pink) in Unity for Android [closed]

I am trying to get a manageable and not laggy SSS shader for an Android app made in unity, the problem is that while i run the game on the computer, everything works. Once i build the app and send it ...
0
votes
1answer
12 views

RunUAT Error: Automation was unable to run successfully (unreal engine 4.26.2)

I have completed my setup in Mac OS and configured all android dependencies like SDK, NDK, and JDK. but whenever I tried to package my project it shows an error I tried with a completed fresh project ...
2
votes
2answers
53 views

The .apk file for my built game is much larger than expected

Assets of my game are 15 MB, Player Settings are default, but my .apk file is 45 MB. I tried to change Player Settings and convert PNG images to JPEG, but this didn'...
0
votes
1answer
20 views

Can't save Screenshot to Android

so I have a method for taking a screenshot, it works just fine on PC, but I've tried everything and cannot get it to work on Android. I've tried creating custom folders, saving to persistentDataPath, ...
0
votes
0answers
14 views

Can Unity generate two .obb files?

I am porting my Unity console game to android. It is roughly 2.5GB. Assuming that the size cannot be reduced further, is it possible to have Unity generate two .obb files since the limit for each is ...
0
votes
0answers
17 views

Unity Mobile: How can we safely store our API key? [duplicate]

We're making an app in Unity. We're building it for Android and iOS. We also have a server. In order to use our server you need to present our api key for the server. So, we need to store that key in ...
0
votes
0answers
4 views

ARCore: Differentiate between two planes detected in adjacent vertical walls in the room

I'm working on Vertical plane detection. When I'm pointing at wall 1 of my room, plane1 here is the vertical plane detected in wall 1... I'm recording the quaternion via this formula ...
0
votes
0answers
26 views

Unity: Build completed with a result of 'failed' - Native error= mono-io-layer-error (2)

I am getting the following errors in Unity 2020.3.5f1 on macOS 10.15.6, when trying to build for Android: Full errors below. Any help is appreciated. ...
0
votes
1answer
14 views

How to make the automatic movement of an actor and control that it does not go off the screen?

I have an actor in a class who then I put him in the main scene, but I want the actor to move randomly, that is, now he moves to the right, then down ... but controlling that he does not leave the ...
0
votes
0answers
13 views

Get an image from canvas on android?

At the moment I have not worked with android and am not familiar with its capabilities. In the browser, it is possible to get an image from the canvas using the methods ...
0
votes
0answers
14 views

UI Element only showing in sceneview and not game in Unity3D

I have a game and in one part, in the start of a scene its supposed to trigger an animation that shows a UI element that covers the whole screen to make a smooth transition from one scene to another. ...
0
votes
1answer
31 views

Google Play Game Services Detecting Top 3 Players

I used Google Play Services Leaderboard in my Libgdx game. This is what I want to do; I would like to give awards to the best 3 players in this table. How can I help you? It automatically connects to ...
0
votes
0answers
13 views

Unity Android : Game Crashes on Release mode

One of my app in playstore getting to much crash report after last update and that's affect my users and receive negative reviews. I don't know exactly what is the problem, we have test app before ...
0
votes
0answers
18 views

How to Show Daily Notification Using Libgdx Alarm Manager?

In a game written in Libgdx, I want to show users some daily notifications with the help of alarm manager. These notifications will be independent of Firebase. In other words, I will not send the ...
0
votes
1answer
20 views

Box2d: High screen resolution / frequency causes high friction?

I'm using Cocos Creator with (built-in) box2d for physics. Recently our game behaves weirdly on our new device Galaxy S20 Ultra 5G - which has screen size = 1440 x 3200 - frequency = 120Hz. After stop ...
0
votes
0answers
46 views

Black screen after unity updated to 2019.4.17and later on Android

I upgraded my app from Unity 2019.4.9 to 2019.4.21. it seems to work fine in the editor, but on my Android build I just get a blank screen. No splash screen, no app main window. I've been able to ...
0
votes
1answer
16 views

Maintaining facing direction at the end of a movement

I want to make my 2D top-down walking animation stop and revert to the idle animation while continuing to face in the same direction as the previous movement. For example, when I go up then stop, my ...
0
votes
0answers
9 views

Application stops working when I add two fonts

I created a game that has two fonts. Being precise, the two fonts are PRESS_START_2P with the difference only in size. One of the fonts serves to write the title and the other for all other things. ...
0
votes
0answers
50 views

Framerate drop from 160 to 56-59 when upgrading Unity to 2020

I just updated to Unity 2020.2 from Unity 2019.4. I use Ubuntu 2020.10. Everything is super fast but the framerate is less than 60 FPS, precisely between 56 and 59 FPS, for all my Android project. ...
0
votes
0answers
71 views

How to integrate Firebase to Libgdx?

I have an android game built with libgdx and what I'd like to do is to add some kind of authentication so I can connect the game with user data to firebase database. I have some experience with ...
0
votes
1answer
28 views

Why does Ads (Rewarded Video or Intersititals) in games skips when you press home and tap on games icon in Android?

I have stumbled upon an issue wherein Android when I play rewarded video or any interstitial and do following steps: In the middle of a video Ad I press the home button Resume back from background ...
1
vote
1answer
60 views

How can I obtain the file size of a Unity build at runtime?

I'm wondering if it is possible to obtain the filesize of a game's build at runtime. Searching this topic only yields results for reducing the build size, which is not at all what I'm looking for.
0
votes
0answers
39 views

ADMOB: Why my match rate never increase?

I have a game deployed in the store, here are some app and admob metrics: It makes ~120k requests per day It have ~800 active devices in the last 30 days It have less than 1% match rate(~0.3%) Some ...
0
votes
0answers
91 views

Internet Access is always set to required in unity android player settings

I am using unity 2019.4.2f1, I want to remove the internet access permission from the final android manifest file created by unity but, because this option is locked I am not able to remove the ...
0
votes
0answers
110 views

Input.GetKeyDown not working while Unity Remote is running?

I have this simple code: void Update() { if (Input.GetKeyDown(KeyCode.Escape)) { Debug.Log("Escape"); } } When I test it... In the ...
1
vote
0answers
21 views

Parallax camera is not independent from the stage camera

I have a weird camera problem that I can't solve! I add my actors to the main stage and use its camera too. Actors are constrained within the screen viewport. I also have a second camera that I use ...
0
votes
0answers
21 views

Should I preload interstitial ads when my game starts?

I just recently added interstitial ads to my game. I loaded my interstitial ads when the main game actually starts so it wouldn't take long to load after the user exits to the menu, but on profiling ...
1
vote
1answer
51 views

How can I let the user choose his own background image?

Dear Stackoferflow Fourm I would like to have a function in my Android Game Programming that allows the user to choose his own background image (I would like to let the user change the plane image) ...
0
votes
0answers
71 views

How do I solve this physics slowdown?

within 10-20 min without touching the android game it would lag. Here is the Unity Profiler Debug. This if the fish clicker script where I started noticing lag. ...
1
vote
1answer
753 views

Unity FPS Drop on Android Low end devices

I have stumbled upon an issue that is now taking a lot more time than I assumed. I have a game that has a lagging issue and I have tried almost all techniques that I could remember to fix that but now ...
0
votes
1answer
61 views

My own game disappears after installation on Google play store

I have a problem where I just installed my own game I made into my phone, but however my game just appears to be not be openable it just shows one button "Uninstall", instead of open. I do ...
0
votes
0answers
49 views

Configure VR support that enables to “look” around and receive user input (Google Cardboard button)

When the user moves the head this means that the phone in the HMD also moves and there are sensors that can detect the direction of the phone so that the image can update correctly. Also to note that ...
-3
votes
2answers
128 views

how to find the game engine of an app in play store [closed]

I would like to know if there is a way to find which game engine a game uses, especially games that are on play store Also I want to know if decompiling the app will help? if there is another way to ...
0
votes
0answers
171 views

Android - Canvas.drawBitmap gives an awful performance

I am using SurfaceView for my game and I am loading all of the bitmaps that are the right size for the screen (pre-scaled in mipmap folder) into a class when the game starts. And I am drawing the ...
0
votes
2answers
221 views

Can I mod Among Us mobile so people don't get kicked because of network problems, and how? [closed]

I want to make a mod for Among Us which will allow people to stay in game despite short-lived connection problems (as opposed to being kicked after 1 second of network issues).
0
votes
0answers
307 views

Bloom not working on mobile build (URP)

I am trying to add bloom in my unity game for mobile phones using URP, The problem is, everything works perfectly in the editor/pc, But the bloom effect vanishes on the actual apk build. This is how ...
2
votes
0answers
18 views

Building multiple android apps via script does not trigger Resolving Android Dependencies

I have a Unity Project which builds a number of smartphone android apps Anytime I need to build an app I have a script (SetupApp) that move a bunch of assets in the Resources folder and changes the ...
0
votes
0answers
29 views

Persisting save data on uninstall without sign in

I am looking for ways to keep a unique link between a user's device and their account without requiring users to sign into an account. The kind of system I am looking for is one like the game AFK ...
0
votes
1answer
35 views

How Do I Separate Dragging My Finger On Joystick And Swiping?

I am currently making a 2D top-down view shooter game for Android, where the game is played horizontally. On the left side of the screen, you can touch anywhere to spawn in a joystick and aim by ...
0
votes
1answer
166 views

Unity facebook sdk 'Didn't find class “com.facebook.FacebookContentProvider”' any more fixes / workarounds for this?

How to replicate this error... Create a new Unity project. Import the facebook sdk unitypackage Set your App Id for facebook via Facebook\Edit Settings Using Assets\External dependency manager\...
0
votes
0answers
10 views

concerns about android apk compatibility

Hi everyone =) i'm planning on making a game on Unity, the idea is that my friends could play the game, as mostly of them do not own a computer, it should be developed for android. Two of my biggest ...
0
votes
0answers
24 views

NDK opengl-es unknown error

Projection matrix? Renderer? Where is the error? I recently started studying NDK to create better performing android games ... but ... An error I didn't expect to deal with appeared a few weeks ago ...
0
votes
1answer
25 views

Android Game - Screen Flickers When an Entity Removed From The List

I am using Canvas in my android game. When I remove a no longer displayed entity in my entity list, all other entities are flickering for a brief time. When it's not removed, there is no such problem. ...
0
votes
0answers
31 views

Libgdx game lags on better phones

I'm developing a candy crush game and it works just fine on desktop, my mobile (Honor9) and the one I'm using as emulator. But, for my surprise, it lags on my girlfriend's mobile, which is way better ...
0
votes
0answers
34 views

How to add sprite batch on tile in isometric map in Libgdx

I'm using Libgdx to create an isometric game , but now I have problem. I want to add sprite on tile (3,4) , but I can't do this, so I searched on stackoverflow , and I found this code :- ...
0
votes
1answer
110 views

Android Build Failing Game Maker Studio 1.4

In Game Maker Studio 1.4 I'm trying to export my game to Android API 29. Whenever I start to compile, the build fails because the API 28 support library is too low for the Target API 29. I have the ...
0
votes
1answer
24 views

Score won't save to Android in Game Maker Studio 1.4

I have oController as the first object to run when the game is opened. In oController's Game Start event I have the following code: ...
1
vote
0answers
27 views

How to build bullet (hit) damage detection in Augmented Reality to a real life person acting as an opponent?

I am building an Android AR game using ARcore 1.18 in Unity 2019.4.5f1 (LTS). Now I want to create something like bullet damage detection just like it is built in a normal Unity 3D game. Of course, ...
0
votes
0answers
1k views

How can I use Body tracking in Android using ARCore or some other libraries?

I know that ARCore on Android doesn't support Body Tracking like ARKit does. But is there some alternative or workaround to ...
0
votes
0answers
122 views

Unity : apk vs aab for the same scene

I'm new to Unity , i use mac os catalina , unity 2019.4 and build for android/mobile. I downloaded a unity project from internet. It's already in format of unity project. so i just copy it into my ...

1
2 3 4 5
44